Reference

SafeArrayPutElement(3w)

NAME

SafeArrayPutElement (OLEAUT32.26)

SYNOPSIS

HRESULT SafeArrayPutElement
(
SAFEARRAY* psa,
LONG* rgIndices,
void* pvData
)

DESCRIPTION

Put an item into a SafeArray.

PARAMS

psa [In] SafeArray to insert into.

rgIndices [In] Indices to insert at.

pvData [In] Data to insert.

RETURNS

Success: S_OK. The item is inserted

Failure: An HRESULT error code indicating the error.

NOTES

See SafeArray(3w).

IMPLEMENTATION

Declared in "oleauto.h".

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

Debug channel "variant".

History