UniMapCpToUcsCp
Appearance
UniMapCpToUcsCp
- UniMapCpToUcsCp(codePage, unicodeBuff, unicodeBuffLen)
Convert a code page string to a UCS string for input to UniCreateUconvObject.
Parameters
- codePage - ULONG - input
- The code page returned from DosQueryCp. If the value is zero, the current process code page is used to determine the Unicode string.
- unicodeBuff - UniChar - output
- The output buffer for the Unicode string.
- unicodeBuffLen - (size_t) - input
- The output buffer's length, in characters. Must be, at minimum, 12 Unicode characters.
Constants
None
Returns
An integer with values of:
Module
Define (C/C++)
Export name/Ordinal
Calling conversion
Example Code
ULONG codePage; UniChar unicodeBuff; size_t unicodeBuffLen; integer rc; ... rc = UniMapCpToUcsCp(codePage, unicodeBuff, unicodeBuffLen); ...
Related Functions
Notes
OS Version Introduced
OS/2 Warp