COM Vuser Functions (LRC) > Assignment to Variants - By Reference and By Variant

Assignment to Variants - By Reference and By Variant

The lrc_variant_<Type-Name>_by_ref functions assign values of specific data types to variables stored by reference in a variant. The lrc_variant_<Type-Name>_by_variant functions assign values of specific data types to variables stored by a variant to a variant. The following types are supported:

Alternate syntax:
lrc_Put<Type-Name>ArrayByRefInVariant
lrc_Put<Type-Name>Array_by_refInVariant
Returns a reference to an array of Type-Name in a variant.
Assigns a string to an ascii BSTR value stored by reference in a variant.
lrc_variant_BSTR_by_variant
Assigns a string to an ascii BSTR value stored by a variant to a variant.
Assigns a string to a Boolean value stored by reference in a variant.
lrc_variant_bool_by_variant
Assigns a string to a Boolean value stored by a variant to a variant.
Assigns a string to a BSTR value stored by reference in a variant.



Assigns a string to a char (byte) stored by reference in a variant.
lrc_variant_BYTE_by_variant
Assigns a string to a char (byte) stored by a variant to a variant.
Assigns a string to a char stored by reference in a variant.
Assigns an IUnknown interface pointer to a variant.
Assigns an IUnknown interface pointer to a variant of a variant.
Converts a string into a currency type value stored by reference in a variant.
Converts a string into a currency type value stored by a variant to a variant.
Assigns a string to a date type value stored by reference in a variant.
lrc_variant_date_by_variant
Assigns a string to a date type value stored by a variant to a variant.
Assigns an IDispatch interface pointer to a variant.
Assigns an IDispatch interface pointer to a variant of a variant.
Assigns a string to a double-type value by reference into a variant.
Converts a string to a double type value stored by a variant to a variant.
Assigns a string to a float-type value stored by reference in a variant.
Assigns a string to a float-type value stored by a variant to a variant.
Gets a variant from within a variant.
Assigns a string to an integer stored by reference in a variant.
Assigns a string to a long integer stored by reference in a variant.
lrc_variant_long_by_variant
Assigns a string to a long integer stored by a variant to a variant.
Assigns a string to an error code value stored by reference in a variant.
Assigns a string to an error code value stored by a variant to a variant.
Assigns a string to a short integer stored by reference in a variant.
Assigns a string to a short integer stored by a variant to a variant.
Assigns a string to an unsigned integer stored by reference in a variant.
Assigns a string to an unsigned long integer stored by reference in a variant.
Assigns a string to an unsigned short integer stored by reference in a variant.