Export (0) Print
Expand All

ISearchFolderItemFactory::GetShellItem method

Gets the search folder as a IShellItem.

Syntax


HRESULT GetShellItem(
  [in]   REFIID riid,
  [out]  void **ppv
);

Parameters

riid [in]

Type: REFIID

A reference to the desired IID.

ppv [out]

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]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

ISearchFolderItemFactory
SHCreateItemFromIDList

 

 

Community Additions

ADD
Show:
© 2014 Microsoft