IPropertyEnumTypeList::GetAt method (propsys.h)

Gets the IPropertyEnumType object at the specified index in the list.

Syntax

HRESULT GetAt(
  [in]  UINT   itype,
  [in]  REFIID riid,
  [out] void   **ppv
);

Parameters

[in] itype

Type: UINT

The index of the object in the list.

[in] riid

Type: REFIID

A reference to the IID of the interface to retrieve through ppv, typically IID_IShellItem.

[out] ppv

Type: void**

When this method returns successfully, contains the interface pointer requested in riid. This is typically IPropertyEnumType.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header propsys.h