UID_VariableSetValue

Definition

Delphi

function UID_VariableSetValue(DlgHandle: Cardinal; VariableId: Cardinal; VariableValue: PWideChar): Boolean;

C/C++

bool UID_VariableSetValue(unsigned int DialogHandle, unsigned int VariableId, wchar_t* VariableValue);

ActiveX

HRESULT _stdcall UID_VariableSetValue([in] unsigned long DialogHandle, [in] unsigned long VariableId, [in] BSTR VariableValue, [out, retval] VARIANT_BOOL* Result);

Description

This function sets a given dialog variable VariableId with content of wide-character buffer VariableValue.

Arguments

DialogHandle

Not used.

VariableId

Integer identifier of variable to set.

VariableValue

Zero-terminated wide character buffer which contents is used to set dialog variable.

Return value

True on success, false otherwise.