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.

CComSafeArray::CopyTo

 

Creates a copy of the CComSafeArray object.


      HRESULT CopyTo(
   LPSAFEARRAY * ppArray 
);

ppArray

A pointer to a location in which to create the new SAFEARRAY.

Returns S_OK on success, or an error HRESULT on failure.

This method copies the contents of a CComSafeArray object into a SAFEARRAY structure.

Requirements

Header: atlsafe.h

Show: