IPXV_Inst::GetCurrentUILang Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT GetCurrentUILang([out, retval] BSTR* | + | <pre class="brush:cpp;gutter:false">HRESULT GetCurrentUILang([out, retval] BSTR* sLangCode);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;sLangCode |
:[out, retval] Return pointer to unicode string that will contain language identifier in format "langID-countryID". For example: | :[out, retval] Return pointer to unicode string that will contain language identifier in format "langID-countryID". For example: | ||
::<code>en-us</code> - English - US | ::<code>en-us</code> - English - US |
Latest revision as of 02:56, 15 June 2015
Returns the identifier of current UI-language.
Syntax
HRESULT GetCurrentUILang([out, retval] BSTR* sLangCode);
Parameters
- sLangCode
- [out, retval] Return pointer to unicode string that will contain language identifier in format "langID-countryID". For example:
en-us
- English - USen-au
- English - Australiaen-gb
- English - Great Britain
Also the special value -
(hyphen-minus letter) means that built-in (English US) language now is selected in UI.
Return Value
Returns S_OK if operation was successful or error code in other cases.