91
Syntax
HRESULT GetVariableValue(
[in] long VarId,
[out, retval] BSTR* Value
);
Parameters
VarId
[in] ID of specified variable.
Value
[out, retval] String containing the current value of the specified variable.
Remarks
The returned value is a string that represents the stored value of the Variable. The string value will need to be converted by
the caller into the actual type, e.g. a variable of type
long
.
The format for the returned string depends on the Variable’s type. In the examples below, %d represents an integer, %s
represents a string.
Type Format Example
Number "%d"
“25”
String
“%s”
“This is a string”
Range
“%d to %d”
“1 to 35”
Schedule
"%d:%d:%d" “17:35:02”
SetVariableById ( VarId, Name, Type, Default, Value, Persist )
Modifies a Variable, specified by its ID.
Syntax
HRESULT SetVariableById(
[in] long VarId,
[in] BSTR Name,
[in] long Type,
[in] BSTR Default,
[in] BSTR Value,
[in] long Persist,
[out, retval] VARIANT_BOOL* Success
);
Содержание CRM-WIC
Страница 1: ...Reference Manual Programming Guide Room Monitor Web Intelligent Controller Model CRM WIC...
Страница 7: ...7 Box Contents Box Contents for the CRM WIC Web Intelligent Controller Model CRMWIC Power Adapter...
Страница 8: ...8 Hardware User Interface Hardware User Interface for the CRM WIC...
Страница 16: ...16 For full details see the RPC section at the end of this manual...
Страница 43: ...43 This expression resolves to this value 0 1 4 3 1 Hello Hello 0...
Страница 98: ...98 Index...