![background image](http://html1.mh-extra.com/html/xantech/crm-wic/crm-wic_reference-manual_3156372093.webp)
93
SetVariableByName ( Name, Type, Default, Value, Persist )
Modifies a Variable, specified by its name.
Syntax
HRESULT SetVariableByName(
[in] BSTR Name,
[in] long Type,
[in] BSTR Default,
[in] BSTR Value,
[in] long Persist,
[out, retval] VARIANT_BOOL* Success
);
Parameters
Name
[in] Name of the Variable to change.
Type
[in] Variable type
Valid types are:
Type
Value Description
1 Number
2 Schedule
3 String
4 Range
Default
[in] Default value for the specified Variable.
Value
[in] Current value for the Variable.
Persist
[in] Set to 1 to make the Variable persistent, 0 to clear the persistent flag.
Success
[out, retval] TRUE if specified variable settings were updated, FALSE if updating the Variable failed.
Summary of Contents for CRM-WIC
Page 1: ...Reference Manual Programming Guide Room Monitor Web Intelligent Controller Model CRM WIC...
Page 8: ...8 Hardware User Interface Hardware User Interface for the CRM WIC...
Page 16: ...16 For full details see the RPC section at the end of this manual...
Page 43: ...43 This expression resolves to this value 0 1 4 3 1 Hello Hello 0...
Page 98: ...98 Index...