ISearchManager::GetIndexerVersion Method

Retrieves the version of the current indexer in two chunks: the major version signifier and the minor version signifier.

Syntax

HRESULT GetIndexerVersion(      
    DWORD *pdwMajor,
    DWORD *pdwMinor
);

Parameters

  • pdwMajor
    [out] Receives the major version signifier (the number to the left of the dot).
  • pdwMinor
    [out] Receives the minor version signifier (the number to the right of the dot).

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The ReindexMatchingUrls code sample, available on Code Gallery and the Windows 7 SDK, demonstrates ways to specify which files to re-index and how.