Retrieve the value of a variable, ensuring first it is of the correct variable type.
Declaration | Zeolite.h |
---|---|
Implementation | Zeolite.cpp |
bool zvar_GetValueEx(ZVAR hVar, long VarID, void* pValue);
Name | Type | Comment |
---|---|---|
hVar | ZVAR | A ZVAR handle to a variable, the value of which is to be retrieved. |
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 ZVAR. |
False if:
True otherwise.
Please refer to the comments for zvar_GetValue, which apply equally to this function.