IPXV_Inst::GetCurrentUILang Method
From PDF XChange PDF SDK
Line 13: | Line 13: | ||
;ppLangCode | ;ppLangCode | ||
:[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> | + | ::<code>en-us</code> - English - US |
− | ::<code>en-au</code> | + | ::<code>en-au</code> - English - Australia |
− | ::<code>en-gb</code> | + | ::<code>en-gb</code> - English - Great Britain |
− | Also the special value <code>-</code> ( | + | Also the special value <code>-</code> (hyphen-minus letter) means that built-in (English US) language is selected in UI. |
== Return Value == | == Return Value == |
Revision as of 17:03, 24 May 2015
Returns the identifier of current UI-language.
Syntax
HRESULT GetCurrentUILang([out, retval] BSTR* ppLangCode);
Parameters
- ppLangCode
- [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 is selected in UI.
Return Value
Returns S_OK if operation was successful or error code in other cases.