lrc_save_ascii_BSTR
| Parameterization ("save") Functions |
Saves an ascii BSTR to a string parameter.
int lrc_save_ascii_BSTR( const char* param_name, BSTR val );
int lrc_save_ascii_BSTR_by_ref( const char* param_name, BSTR *val );
| param_name | The name of the string parameter in which to store the value. To use this parameter, change to a meaningful name. |
| val | The value to be saved. |
The lrc_save_ascii_BSTR function saves an ascii BSTR to a string parameter.
The lrc_save_ascii_BSTR_by_reffunction saves the ascii BSTR pointed to by "val" to a string parameter.
Note: In the COM protocol, ascii functions are not supported for multibyte languages. Use a parallel function without the word ascii, for example, lrc_save_BSTR.
Return Values
Parameterization
You cannot use standard parameterization for any arguments in this function.
Example
This example saves the Boolean value "true" to a string:
VARIANT_BOOL var = lrc_bool("true");lrc_save_bool("param-name",var);

