Share this page

# lrc_variant_ascii_BSTR

Example: lrc_variant_ascii_BSTR | Assignment to Variants

Assigns a string to an ascii BSTR value to a variant.

    VARIANT lrc_variant_ascii_BSTR( const char* str );

str | A character string.

The lrc_variant_ascii_BSTR function assigns a string to an ASCII BSTR value stored in a variant.

Note: In the COM protocol, ascii functions are not supported for multibyte languages. Use a parallel function without the word ascii, for example, lrc_variant_BSTR

## Return Values

lrc Return Values

## Parameterization

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

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