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.

IMPLEMENTATION

Declared in "include/oleauto.h". gitlab.winehq.org/wine/wine/blob/master/include/oleauto.h

Implemented in "dlls/oleaut32/safearray.c". gitlab.winehq.org/wine/wine/blob/master/dlls/oleaut32/safearray.c

Debug channel "variant".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.