NWUSUnicodeToUpperCase
Converts a NULL-terminated Unicode string to Unicode upper case characters
#include <nunicode.h>
N_EXTERN_LIBRARY(nint) NWUSUnicodeToUpperCase (
punicode upperCaseOutput,
nuint outputBufferLen,
const unicode N_FAR *unicodeInput,
pnuint actualLength);
uses netwin32
Function NWUSUnicodeToUpperCase
(upperCaseOutput : punicode;
outputBufferLen : nuint;
unicodeInput : const unicode;
actualLength : pnuint
): nint;
Lower case conversions are preferred for most operations since there are more lower case characters than upper case characters in the Unicode environment.
Call NWUSUnicodeToUpperCase to determine the size of the string before it is converted by setting the upperCaseOutput parameter to NULL. The outputBufferLen parameter will be ignored, a converted string will not be returned, and the length of the string if it were converted will be returned in the actualLength parameter.
See esuniup.c for sample code.