UniToupper

From EDM2
Jump to: navigation, search

UniToupper converts a Unicode character to uppercase according to the language neutral case mapping tables.

Syntax

UniChar UniToupper (UniChar ucUniCharIn) 

Parameters

ucUniCharIn (UniChar) - input 
Unicode character to be mapped to uppercase.

Returns

ucUniCharOut (UniChar) - returns

Converted uppercase character.

Remarks

Example

This example shows how to convert a Unicode character to uppercase according to the language neutral case mapping tables.

#include <stdio.h>

#include <unidef.h>
int main(void) {
UniChar    uni_lwr = L'c';

UniChar    uni_upr;
         uni_upr = UniToupper(uni_lwr);
         return (ULS_SUCCESS);
}

Format

#include <unidef.h>

UniChar UniToupper
    (UniChar ucUniCharIn) 

Related Functions