Set the value of the variable attached to this CzVar object, ensuring first it is of the correct variable type.
bool CzVar::SetValue(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, containing the value to be set. |
False if:
True otherwise.
This function is equivalent to the API function var_SetValueEx. Please refer to the documentation of that function for additional information.