ISearchLanguageSupport::LoadWordBreaker method (searchapi.h)

Retrieves an interface to the word breaker registered for the specified language code identifier (LCID).

Syntax

HRESULT LoadWordBreaker(
  LCID   lcid,
  REFIID riid,
  void   **ppWordBreaker,
  LCID   *pLcidUsed
);

Parameters

lcid

Type: LCID

The LCID requested.

riid

Type: REFIID

IID of the interface to be queried.

ppWordBreaker

Type: void**

On return, contains the address of a pointer to the interface of the LCID contained in pLcidUsed.

pLcidUsed

Type: LCID*

On return, contains a pointer to the actual LCID used.

Return value

Type: HRESULT

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

Requirements

   
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