Share this page

# 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_name | The parameter name. To use, change the recorded string to a meaningful name.
str | A 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);

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: