SafeArrayPtrOfIndex.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "oleauto.h".

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

Debug channel "variant".