IEnumerableView::CreateEnumIDListFromContents method (shobjidl.h)

Creates an enumerator of ID lists from the contents of the view.

Syntax

HRESULT CreateEnumIDListFromContents(
  [in]  PCIDLIST_ABSOLUTE pidlFolder,
  [in]  DWORD             dwEnumFlags,
  [out] IEnumIDList       **ppEnumIDList
);

Parameters

[in] pidlFolder

Type: PCIDLIST_ABSOLUTE

A PIDL that is relative to the Desktop.

[in] dwEnumFlags

Type: DWORD

Specifies enumeration flags. See the SHCONTF enumerated type.

[out] ppEnumIDList

Type: IEnumIDList**

When this method returns, contains an IEnumIDList interface pointer.

Return value

Type: HRESULT

Returns a success value if successful, or an error value otherwise.

Requirements

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