Share this page

# lrc_variant_DispObject

Example: lrc_variant_DispObject | Assignment to Variants

Assigns an IDispatch interface pointer to a variant.

    VARIANT lrc_variant_DispObject( IDispatch* pDispatch );

    VARIANT lrc_variant_DispObject_by_variant( IDispatch* pDispatch );

pUnknown | A pointer to an IDispatch interface.

The lrc_variant_DispObject function assigns an IDispatch interface pointer to a variant.

The lrc_variant_DispObject_by_variant function assigns an IDispatch interface pointer to a variant and returns a variant containing a reference to the variant containing the IDispatch 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: