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

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.