UniMapCpToUcsCp: Difference between revisions
Appearance
m formatting |
m formatting |
||
Line 1: | Line 1: | ||
== UniMapCpToUcsCp == | == UniMapCpToUcsCp == | ||
; UniMapCpToUcsCp(codePage, unicodeBuff, unicodeBuffLen) : | ; UniMapCpToUcsCp(codePage, unicodeBuff, unicodeBuffLen) : Convert a code page string to a UCS string for input to [[OS2_API:UniCreateUconvObject|UniCreateUconvObject]]. | ||
Convert a code page string to a UCS string for input to [[OS2_API:UniCreateUconvObject|UniCreateUconvObject]]. | |||
=== Parameters === | === Parameters === |
Revision as of 06:55, 26 April 2006
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