Export (0) Print
Expand All

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.

Header: atlsafe.h

Show:
© 2015 Microsoft