lrc_variant_BSTR


Example: lrc_variant_BSTRAssignment to Variants

Assigns a string to a BSTR in a variant.

VARIANT lrc_variant_BSTR( const char* str );
VARIANT lrc_variant_BSTR_by_variant( const char* str ); 

strA character string.

The lrc_variant_BSTR function converts a string to a BSTR value stored in a variant.

The lrc_variant_BSTR_by_variant function converts a string to an BSTR value and returns a variant containing a reference to the variant containing the value.

Return Values

lrc Return Values

Parameterization

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