ISearchCatalogManager::GetQueryHelper method (searchapi.h)

Gets the ISearchQueryHelper interface for the current catalog.

Syntax

HRESULT GetQueryHelper(
  [out, retval] ISearchQueryHelper **ppSearchQueryHelper
);

Parameters

[out, retval] ppSearchQueryHelper

Type: ISearchQueryHelper**

Receives the address of a pointer to a new instance of the ISearchQueryHelper interface with default settings.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

After the ISearchQueryHelper interface is created, use the put... methods for this interface to change settings. Settings for the ISearchQueryHelper object are relevant only until the settings are changed again or the item is released. When the item is next created, settings are set to default values.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header searchapi.h
Redistributable Windows Desktop Search (WDS) 3.0