Scroll to navigation

SafeArrayPtrOfIndex(3w) Wine API SafeArrayPtrOfIndex(3w)

NAME

SafeArrayPtrOfIndex (OLEAUT32.148)

SYNOPSIS

HRESULT SafeArrayPtrOfIndex
(
SAFEARRAY* psa,
LONG* rgIndices,
void** ppvData
)
 

DESCRIPTION

Get the address of an item in a SafeArray.
 

PARAMS

psa [In] Array to get the items address from.
rgIndices [In] Index of the item in the array.
ppvData [Out] Destination for item address.
 

RETURNS

Success: S_OK. ppvData contains a pointer to the item.
Failure: An HRESULT error code indicating the error.
 

NOTES

This function does not lock the array.
 

NOTES

See SafeArray(3w).
 

IMPLEMENTATION

Declared in "oleauto.h".
Implemented in "dlls/oleaut32/safearray.c".
Debug channel "variant".
Oct 2012 Wine API