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

lrc_CoObject_by_ref_from_variant

Example: lrc_CoObject_by_ref_from_variant Extracting from Variants

Extracts a pointer to the IUnknown interface from a reference within a variant.

IUnknown* lrc_CoObject_by_ref_from_variant( VARIANT var );			
var A variant.

The lrc_CoObject_by_ref_from_variant function extracts an IUnknown interface type pointer from a pointer to a variant.

Return Values

lrc Return Values

Parameterization

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