Share via


ISearchManager::GetIndexerVersionStr Method

Retrieves the version of the current indexer as a single string.

Syntax

HRESULT GetIndexerVersionStr(      
    LPWSTR *ppszVersionString
);

Parameters

  • ppszVersionString
    [out] Receives the version of the current indexer.
    • WDS 2.65 on Windows XP/Windows Server 2003
      02.06.5000.5378
    • WDS 2.66 on Windows XP/Windows Server 2003
      02.06.6000.5414
    • WDS 3.0 on Windows XP/Windows Server 2003
      03.00.5824.280
    • WDS 3.01 on Windows XP/Windows Server 2003
      03.01.6000.72
    • Windows Search on Windows Vista RTM/Windows Server RTM
      03.00.6000.16386
    • Windows Search on Windows Vista SP1/Windows Server 2008
      03.00.6001.18000
    • Windows Search 4.0 Preview on all platforms
      04.00.6001.381
    • Windows Search 4.0 on all platforms
      04.00.6001.16503

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.