Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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(
  [out]  DWORD *pdwMajor,
  [out]  DWORD *pdwMinor
);

Parameters

pdwMajor [out]

Type: DWORD*

Receives the major version signifier (the number to the left of the dot).

pdwMinor [out]

Type: DWORD*

Receives the minor version signifier (the number to the right of the dot).

Return value

Type: HRESULT

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

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.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Searchapi.h

IDL

Searchadmin.idl

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.