Reference

SafeArrayGetElement(3w)

NAME

SafeArrayGetElement (OLEAUT32.25)

SYNOPSIS

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

DESCRIPTION

Get an item from a SafeArray.

PARAMS

psa [In] SafeArray to get from.

rgIndices [In] Indices to get from.

pvData [Out] Destination for data.

RETURNS

Success: S_OK. The item data is returned in pvData.

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