HRESULT Attach( VARIANT* pSrc );
Return Value
A standard HRESULT value.
Parameters
pSrc
[in] Points to the VARIANT to be attached to the object.
Remarks
Attaches the specified VARIANT to the CComVariant object. Attach sets the variant type of the object to VT_EMPTY.
CComVariant Overview | Class Members
See Also CComVariant::Detach