Reference

SafeArrayCopyData(3w)

NAME

SafeArrayCopyData (OLEAUT32.412)

SYNOPSIS

HRESULT SafeArrayCopyData
(
SAFEARRAY* psaSource,
SAFEARRAY* psaTarget
)

DESCRIPTION

Copy all data from one SafeArray to another.

PARAMS

psaSource [In] Source for copy.

psaTarget [Out] Destination for copy.

RETURNS

Success: S_OK. psaTarget contains a copy of psaSource.

Failure: An HRESULT error code indicating the error.

NOTES

The two arrays must have the same number of dimensions and elements.

NOTES

See SafeArray(3w).

IMPLEMENTATION

Declared in "oleauto.h".

Implemented in "dlls/oleaut32/safearray.c".

Debug channel "variant".

History