UniStrupr

From EDM2
Jump to: navigation, search

UniStrupr converts a Unicode string to uppercase according to the language neutral case mapping tables.

Syntax

UniChar *UniStrupr (UniChar *ucsUniStringIn) 

Parameters

ucsUniStringIn (UniChar *) - input 
Unicode string to be mapped to uppercase.

Returns

ucsUniStringOut (UniChar *) - returns

Converted uppercase string.

Remarks

The input string must be null-terminated.

Example

This example shows how to uppercase Unicode strings according to the language neutral case mapping tables.

#include <stdio.h>

#include <unidef.h>
int main(void) {
UniChar    ucs[] = L"computer";

UniChar    *puni;
         puni = UniStrupr(ucs);
         return (ULS_SUCCESS);

        }


Format

#include <unidef.h>

UniChar *UniStrupr
    (UniChar *ucsUniStringIn) 

Related Functions