lrc_variant_CoObject

Example: lrc_variant_CoObjectAssignment to Variants

Assigns an IUnknown interface pointer to a variant.

VARIANT lrc_variant_CoObject( IUnknown* pUnknown );
VARIANT lrc_variant_CoObject_by_variant( IUnknown* pUnknown ); 
pUnknownA pointer to an IUnknown interface.

The lrc_variant_CoObject function assigns an IUnknown interface pointer to a variant.

The lrc_variant_CoObject_by_variant function assigns an IUnknown interface pointer to a variant and returns a variant containing a reference to the variant containing the IUnknown reference.

Return Values

lrc Return Values

Parameterization

Parameterization is not applicable to this function.