UID_GetStateIdByName

Declaration

Delphi

function UID_GetStateIdByName(DlgHandle: Cardinal; State: PWideChar; StateId: PCardinal): Boolean; register;

C/C++

bool UID_GetStateIdByName(unsigned int DialogHandle, wchar_t* State, unsigned int *StateId);

ActiveX

HRESULT _stdcall UID_GetStateIdByName([in] unsigned long DialogHandle, [in] BSTR State, [out] unsigned long* StateId, [out, retval] VARIANT_BOOL* Result);

Description

Returns integer id corresponding to string name for a state according to the table State types .

Arguments

DialogHandle

Unused 

State

String representation for a state.

StateId

Integer value corresponding to the String representation given by the State argument.

Return value

True on success, false otherwise.