Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CComVariant::Copy

 

Frees the CComVariant object and then assigns it a copy of the specified VARIANT.


      HRESULT Copy(
   const VARIANT* pSrc 
);

pSrc

[in] A pointer to the VARIANT to be copied.

A standard HRESULT value.

Requirements

Header: atlcomcli.h

Show: