ISearchFolderItemFactory::GetIDList method (shobjidl_core.h)

Gets the search folder as an ITEMIDLIST.

Syntax

HRESULT GetIDList(
  [out] PIDLIST_ABSOLUTE *ppidl
);

Parameters

[out] ppidl

Type: PIDLIST_ABSOLUTE*

When this method returns successfully, contains a PIDL.

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_core.h (include Shobjidl.h)

See also

ISearchFolderItemFactory

SHGetIDListFromObject