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

lrc_variant_DispObject_by_ref

Example: lrc_variant_DispObject_by_ref Assignment to Variants - By Reference and By Variant

Assigns a pointer to an IDispatch interface in a variant.

VARIANT lrc_variant_DispObject_by_ref( IDispatch* pDispatch );
pUnknown A pointer to an IDispatch interface.

The lrc_variant_DispObject_by_ref function converts a pointer to an IDispatch interface in a variant.

Return Values

lrc Return Values

Parameterization

Parameterization is not applicable to this function.