Retrieve the value of the variable attached to this CzVar object, ensuring first it is of the correct variable type.
bool CzVar::GetValue(long VarID, void* pValue);
| Name | Type | Comment |
|---|---|---|
| VarID | long | The expected type ID of the variable. |
| pValue | void* | A user-supplied handle to an allocated block of memory for the appropriate data type, ready to receive the value from the variable. |
False if:
True otherwise.
This function is equivalent to the API function var_GetValueEx. Please refer to the documentation of that function for additional information.