Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Copies the contents of a SAFEARRAY structure into the CComSafeArray object.
HRESULT CopyFrom(
LPSAFEARRAY * ppArray
);
Parameters
- ppArray
Pointer to the SAFEARRAY to copy.
Return Value
Returns S_OK on success, or an error HRESULT on failure.
Remarks
This method copies the contents of a SAFEARRAY into the current CComSafeArray object. The existing contents of the array are replaced.
Smart Device Developer Notes
CComSafeArray::CopyFrom( SAFEARRAY * ) is supported for only VT_BSTR, VT_VARIANT, VT_UNKNOWN, and VT_DISPATCH VARTYPEs.
Requirements
Header: atlsafe.h