lrc_save_BSTR1

Type Conversion From String

Saves a BSTR string which may include nulls to a parameter.

int lrc_save_BSTR1( const char* param_name, BSTR str );
param_nameThe parameter name. To use, change the recorded string to a meaningful name.
strA string of type BSTR.

The lrc_save_BSTR1 function saves the BSTR str to the parameter param_name.

Return Values

lrc 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);