UID_StateGetVariableId
Definition
Delphi
function UID_StateGetVariableId(DlgHandle, StateId: Cardinal; VariableName: PWideChar; VariableId: PCardinal): Boolean; register;
C/C++
 BOOL UID_StateGetVariableId(unsigned int DialogHandle, unsigned int StateId, wchar_t* VariableName, unsigned int * VariableId);
ActiveX
HRESULT _stdcall UID_StateGetVariableId([in] unsigned long DialogHandle, [in] long StateId, [in] BSTR VariableName, [out] unsigned long* VariableId, [out, retval] VARIANT_BOOL* Result);
Description
For the current dialog returns an integer identifier for a variable with a given name for a given StateId.
Arguments
DlgHandle
Unused.
StateId
Id of a state to look for a variable.
VariableName
Pointer to wide character buffer to store a variable name
VariableId
Pointer to integer value returned.
Return value
True on success, false otherwise.