ISearchCatalogManager::GetQueryHelper Method

Gets the ISearchQueryHelper interface for the current catalog.

Syntax

HRESULT GetQueryHelper(      
    ISearchQueryHelper **ppSearchQueryHelper
);

Parameters

  • ppSearchQueryHelper
    [out, retval]  Receives the address of a pointer to a new instance of the ISearchQueryHelper interface with default settings.

Return Value

Returns S_OK if successful, or an error value otherwise.

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.