| ELZED | Documentation | The Details | API |
| lzSetStrVarByHandleThe lzSetStrVarByHandle function sets the value of the indicated string variable. bool lzSetStrVarByHandle( | LZObjectHandle hHandle, | | // a handle to the string variable | | const char* szVariableValue | | // the value of the target variable |
);
ParametershHandle | | A handle to the string variable. |
szVariableValue | | A null-terminated character string value to be applied to the target variable. |
Return Value | Returns TRUE if the variable was successfully found or created, otherwise FALSE. |
Remarks | This call will not create a string variable. Use lzCreateStrVar or lzLinkStrVar to establish the string within Elzed before calling lzSetStrVarByHandle.
Elzed copies the contents of the passed-in string value rather than saving a copy of the pointer. |
Versions | Introduced in Elzed 2.4.0 | | This page describes the version of lzSetStrVarByHandle active in Elzed 2.5.0 (276: 2.5.0) |
See Also |
| |