ISearchLanguageSupport::LoadWordBreaker method (searchapi.h)

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

Syntax

HRESULT LoadWordBreaker(
  [in]  LCID   lcid,
  [in]  REFIID riid,
  [out] void   **ppWordBreaker,
  [out] LCID   *pLcidUsed
);

Parameters

[in] lcid

Type: LCID

The LCID requested.

[in] riid

Type: REFIID

IID of the interface to be queried.

[out] ppWordBreaker

Type: void**

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

[out] 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

Requirement Value
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