ISearchFolderItemFactory::GetShellItem method

Gets the search folder as a IShellItem.

Syntax

HRESULT GetShellItem(
  REFIID riid,
  void   **ppv
);

Parameters

riid

Type: REFIID

A reference to the desired IID.

ppv

Type: void**

The IShellItem interface pointer specified in riid.

Return Value

Type: HRESULT

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

Remarks

When the retrieved IShellItem is enumerated, it returns the search results.

Requirements

   
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

SHCreateItemFromIDList