UniMapCtryToLocale: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
=== Parameters === | === Parameters === | ||
; cntryCode - [[ULONG]] - input : The OS/2 country code. | ; cntryCode - [[ULONG]] - input : The OS/2 country code. | ||
; result - [[UniChar]] - output : The [[ | ; result - [[UniChar]] - output : The [[Universal Language Support Functions|Unicode]] locale name. | ||
; resultSize - size_t - input : The character size of the result buffer. The '''must''' be, at minimum, eight [[Unicode]] characters. | ; resultSize - size_t - input : The character size of the result buffer. The '''must''' be, at minimum, eight [[Unicode]] characters. | ||
Revision as of 14:27, 13 August 2017
Convert the ulCntryCode to a locale name to be used in other Unicode APIs.
Syntax
UniMapCtryToLocale(cntryCode, result, resultSize) ;
Parameters
- cntryCode - ULONG - input
- The OS/2 country code.
- result - UniChar - output
- The Unicode locale name.
- resultSize - size_t - input
- The character size of the result buffer. The must be, at minimum, eight Unicode characters.
Constants
None
Returns
An integer with values of:
Calling Convention
Example Code
ULONG cntryCode; UniChar result; size_t resultSize; integer rc; ... rc = UniMapCntryToLocale(cntryCode, result, resultSize); ...
Related Functions
OS Version Introduced
OS/2 Warp