COM Vuser Functions (LRC) > Alphabetical List of Functions > lrc_save_ascii_BSTR

lrc_save_ascii_BSTR

Example: 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

lrc Return Values

Parameterization

You cannot use standard parameterization for any arguments in this function.