Jump to content

UniMapCtryToLocale: Difference between revisions

From EDM2
m added resultSize data type
No edit summary
Line 41: Line 41:
=== OS Version Introduced ===
=== OS Version Introduced ===
OS/2 Warp
OS/2 Warp
[[OS2_API | Back to OS/2 API]]
[[Category:The OS/2 API Project]]

Revision as of 15:18, 1 November 2011

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

Cdecl32

Example Code

ULONG   cntryCode;
UniChar result;
size_t  resultSize;
integer rc;
...
rc = UniMapCntryToLocale(cntryCode, result, resultSize);
...

Related Functions

UniMapCpToUcsCp

Notes

OS Version Introduced

OS/2 Warp


Back to OS/2 API