IEnumerableView::CreateEnumIDListFromContents method

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

pidlFolder [in]

Type: PCIDLIST_ABSOLUTE

A PIDL that is relative to the Desktop.

dwEnumFlags [in]

Type: DWORD

Specifies enumeration flags. See the SHCONTF enumerated type.

ppEnumIDList [out]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Show: