IOmNavigator::userLanguage Property

Retrieves the operating system's natural language setting.

Syntax

HRESULT IOmNavigator::get_userLanguage(BSTR *p);

Parameters

  • p
    Pointer to a variable of type BSTR that receives any of the possible return values listed in the Language Codes.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This property reflects the setting in the "Your locale (location)" box in the Regional Options of Control Panel—for example, "English (United States).

See Also

IOmNavigator::browserLanguage, IOmNavigator::systemLanguage