NWUnicodeToMonocase(3nw)


NWUnicodeToMonocase -- converts mixed case Unicode string to monocase

Synopsis

   #include <unicode.h> 
   

int N_API NWUnicodeToMonocase (void N_FAR * ruleHandle, unicode N_FAR * dest, size_t maxLen, unicode N_FAR * src, size_t N_FAR * len);

Description

The parameters are as follows:

ruleHandle
(IN) Points to the rule table handle for unicode-to-monocase conversion.

dest
(OUT) Points to the buffer for resulting monocase Unicode string.

maxLen
(IN) Specifies the maximum number of Unicode characters in dest.

src
(IN) Points to the buffer with source Unicode.

len
(OUT) Points to the number of characters copied to dest.

Return values

0x0000
Successful

0xFE10
UNI_HANDLE_BAD

0xFE0E
UNI_RULES_CORRUPT

0xFE0F
UNI_HANDLE_MISMATCH

Notices

NWUnicodeToMonocase converts a Unicode string having a mixture of upper/lower case characters to a Unicode string consistently having only one case, according to the monocase rule table.

Services

Unicode

NCP calls

None

References

NWGetMonocaseHandle(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.