IPXV_Inst::GetCurrentUILang Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 22: Line 22:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXV_Inst|IPXV_Inst]]
+
[[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_Inst_GetUILanguages|IPXV_Inst::GetUILanguages]]

Revision as of 15:33, 25 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 - US
en-au - English - Australia
en-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.

See Also

IPXV_Inst, IPXV_Inst::GetUILanguages