SafeArrayCopyData function oleaut32

int SafeArrayCopyData(
  1. Pointer<SAFEARRAY> psaSource,
  2. Pointer<SAFEARRAY> psaTarget
)

Copies the source array to the specified target array after releasing any resources in the target array. This is similar to SafeArrayCopy, except that the target array has to be set up by the caller. The target is not allocated or reallocated.

HRESULT SafeArrayCopyData(
  [in] SAFEARRAY *psaSource,
  [in] SAFEARRAY *psaTarget
);

Implementation

int SafeArrayCopyData(
        Pointer<SAFEARRAY> psaSource, Pointer<SAFEARRAY> psaTarget) =>
    _SafeArrayCopyData(psaSource, psaTarget);