UniMapCtryToLocale: Difference between revisions
Appearance
New entry |
m added resultSize data type |
||
Line 5: | Line 5: | ||
; cntryCode - [[OS2 API:DataType:ULONG|ULONG]] - input : The OS/2 country code. | ; cntryCode - [[OS2 API:DataType:ULONG|ULONG]] - input : The OS/2 country code. | ||
; result - [[OS2 API:DataType:UniChar|UniChar]] - output : The [[OS2 API:Unicode|Unicode]] locale name. | ; result - [[OS2 API:DataType:UniChar|UniChar]] - output : The [[OS2 API:Unicode|Unicode]] locale name. | ||
; resultSize - - input : The character size of the result buffer. The '''must''' be, at minimum, eight [[OS2 API:Unicode|Unicode]] characters. | ; resultSize - size_t - input : The character size of the result buffer. The '''must''' be, at minimum, eight [[OS2 API:Unicode|Unicode]] characters. | ||
=== Constants === | === Constants === |
Revision as of 06:31, 20 August 2008
UniMapCtryToLocale
- UniMapCtryToLocale(cntryCode, result, resultSize)
- Convert the ulCntryCode to a locale name to be used in other Unicode APIs.
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:
Module
Define (C/C++)
Export name/Ordinal
Calling conversion
Example Code
ULONG cntryCode; UniChar result; size_t resultSize; integer rc; ... rc = UniMapCntryToLocale(cntryCode, result, resultSize); ...
Related Functions
Notes
OS Version Introduced
OS/2 Warp