ReactOS
0.4.16-dev-1097-g530d26a
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
mbtohira.cpp
Go to the documentation of this file.
1
/***
2
*mbtohira.c - Convert character from katakana to hiragana (Japanese).
3
*
4
* Copyright (c) Microsoft Corporation. All rights reserved.
5
*
6
*Purpose:
7
* defines _jtohira() - convert character to hiragana.
8
*
9
*******************************************************************************/
10
#ifndef _MBCS
11
#error This file should only be compiled with _MBCS defined
12
#endif
13
14
#include <
corecrt_internal_mbstring.h
>
15
#include <locale.h>
16
17
18
/***
19
*unsigned int _mbctohira(c) - Converts character to hiragana.
20
*
21
*Purpose:
22
* Converts the character c from katakana to hiragana, if possible.
23
*
24
*Entry:
25
* unsigned int c - Character to convert.
26
*
27
*Exit:
28
* Returns the converted character.
29
*
30
*Exceptions:
31
*
32
*******************************************************************************/
33
34
extern
"C"
unsigned
int
__cdecl
_mbctohira_l
(
35
unsigned
int
c
,
36
_locale_t
plocinfo
37
)
38
{
39
if
(
_ismbckata_l
(
c
,
plocinfo
) &&
c
<= 0x8393) {
40
if
(
c
< 0x837f)
41
c
-= 0xa1;
42
else
43
c
-= 0xa2;
44
}
45
return
(
c
);
46
}
47
48
extern
"C"
unsigned
int
__cdecl
_mbctohira
(
unsigned
int
c
)
49
{
50
return
_mbctohira_l
(
c
,
nullptr
);
51
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
corecrt_internal_mbstring.h
c
const GLubyte * c
Definition:
glext.h:8905
_ismbckata_l
_Check_return_ _CRTIMP int __cdecl _ismbckata_l(_In_ unsigned int _Ch, _In_opt_ _locale_t _Locale)
plocinfo
_locale_t plocinfo
Definition:
ismbbyte.cpp:75
_mbctohira
unsigned int __cdecl _mbctohira(unsigned int c)
Definition:
mbtohira.cpp:48
_mbctohira_l
unsigned int __cdecl _mbctohira_l(unsigned int c, _locale_t plocinfo)
Definition:
mbtohira.cpp:34
localeinfo_struct
Definition:
corecrt.h:22
sdk
lib
ucrt
mbstring
mbtohira.cpp
Generated on Tue May 6 2025 06:14:51 for ReactOS by
1.9.6