Jump to content

UniMapCtryToLocale

From EDM2
Revision as of 23:43, 9 June 2017 by Martini (talk | contribs)

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:

Calling Convention

Cdecl32

Example Code

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

Related Functions

OS Version Introduced

OS/2 Warp