Function Reference


_SafeArrayCopyData

Copies the data from one SafeArray to another.

_SafeArrayCopyData($pSafeArraySource, $pSafeArrayDest)

Parameters

$pSafeArraySource Pointer to the source SafeArray.
$pSafeArrayDest Pointer to the destination SafeArray.

Return Value

Success: 0 (S_OK).
Failure: Non-zero HRESULT and sets @error:
1 - Invalid source or destination SafeArray pointer.
2 - DllCall failure.

Remarks

The destination SafeArray must have compatible dimensions and type. The caller is responsible for destroying
both SafeArrays using _SafeArrayDestroy.

Related

_SafeArrayCopy, _SafeArrayCreate