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 "oleauto.h". https://source.winehq.org/source/include/oleauto.h

Implemented in "dlls/oleaut32/safearray.c". https://source.winehq.org/source/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 Apr 2024.