IShellFolder2::GetDefaultSearchGUID method (shobjidl_core.h)

Returns the globally unique identifier (GUID) of the default search object for the folder.

Syntax

HRESULT GetDefaultSearchGUID(
  [out] GUID *pguid
);

Parameters

[out] pguid

Type: GUID*

The GUID of the default search object.

Return value

Type: HRESULT

Returns S_OK if successful, or a COM error value otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 5.0 or later)