Share this page

# lrc_variant_CoObject

Example: lrc_variant_CoObject | Assignment to Variants

Assigns an IUnknown interface pointer to a variant.

    VARIANT lrc_variant_CoObject( IUnknown* pUnknown );

    VARIANT lrc_variant_CoObject_by_variant( IUnknown* pUnknown );

pUnknown | A 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.

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: