Syntax
HRESULT DeleteVariableByName(
[in] BSTR Name,
[out, retval] VARIANT_BOOL* Success
);
Parameters
Name
[in] Name of the Variable to delete.
Success
[out, retval] TRUE if the specified Variable was successfully deleted, FALSE if deleting the
Variable failed.
GetVariableByIdx ( Idx )
Returns the ID of the Variable located at the specified index.
Syntax
HRESULT GetVariableByIdx(
[in] long Idx,
[out, retval] long* VarId
);
Parameters
Idx
[in] Index of the Variable in the array of Variables.
VarID
[out, retval] ID of specified Variable.
Remarks
Use this function within a loop to get a list of all Variables on the system. The first Variable in the list has an
index of 0. Call
GetVariableCount
to get the number of Variables in the list.
GetVariableByName ( Name )
Returns a Variable’s ID (not the value) from its name.
Syntax
HRESULT GetVariableByName(
[in] BSTR Name,
[out, retval] long* VarId
);
Parameters
Name
[in] Name of Variable to get the ID of.
VarId
[out, retval] ID of the named Variable.
GetVariableCount ( )
Returns the total number of Variables.
Syntax
HRESULT GetVariableCount(
[out, retval] long* NumVariables
);
16
Summary of Contents for WACI NX-22
Page 36: ......
Page 53: ...Finally drag and drop selected files from your File Explorer...