ISearchQueryHelper::get_QueryContentLocale Method

Gets the locale identifier for the query.

Syntax

HRESULT get_QueryContentLocale(      
    LCID *plcid
);

Parameters

  • plcid
    [out, retval] Returns a pointer to the locale identifier used in Windows National Language Support.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Gets the locale of the query through the locale identifier used in Windows National Language Support. The locale identifier has the components necessary to uniquely identify one of the installed system-defined locales. The locale returned is used for wordbreaking, normalizing, and stemming the string values extracted from the query string. If the locale identifier was not set with ISearchQueryHelper::put_QueryContentLocale, the active input locale is returned.

See Also

ISearchQueryHelper::put_QueryContentLocale