ReactOS
0.4.16-dev-297-gc569aee
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
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
_
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
precomp.h
Go to the documentation of this file.
1
#ifndef __CHARMAP_PRECOMP_H
2
#define __CHARMAP_PRECOMP_H
3
4
#include <stdarg.h>
5
#include <
windef.h
>
6
#include <
winbase.h
>
7
#include <
winuser.h
>
8
#include <
wingdi.h
>
9
10
11
#include "
resource.h
"
12
13
#define SIZEOF(_v) (sizeof(_v) / sizeof(*_v))
14
15
#define MAX_GLYPHS 65536
16
17
#define XCELLS 20
18
#define YCELLS 10
19
#define XLARGE 45
20
#define YLARGE 25
21
22
#define FM_SETFONT (WM_USER + 1)
23
#define FM_GETCHAR (WM_USER + 2)
24
#define FM_SETCHAR (WM_USER + 3)
25
#define FM_GETHFONT (WM_USER + 4)
26
#define FM_SETCHARMAP (WM_USER + 5)
27
28
// the code pages to display in the advanced 'character set' combobox
29
static
const
UINT
codePages
[] = {
30
864, 775, 863, 855, 737, 856, 862, 861, 852, 869, 850, 858, 865, 860, 866, 857, 437,
// OEM code pages
31
1256, 1257, 1250, 1251, 1253, 1255, 932, 949, 1252, 936, 874, 950, 1254, 1258
// ANSI code pages
32
};
33
34
extern
HINSTANCE
hInstance
;
35
36
typedef
struct
_CELL
37
{
38
RECT
CellExt
;
39
RECT
CellInt
;
40
WCHAR
ch
;
41
}
CELL
, *
PCELL
;
42
43
typedef
struct
_MAP
44
{
45
HWND
hMapWnd
;
46
HWND
hParent
;
47
HWND
hLrgWnd
;
48
SIZE
ClientSize
;
49
SIZE
CellSize
;
50
CELL
Cells
[
YCELLS
][
XCELLS
];
51
PCELL
pActiveCell
;
52
HFONT
hFont
;
53
LOGFONTW
CurrentFont
;
54
INT
CaretX
,
CaretY
;
55
INT
iYStart
;
56
INT
NumRows
;
57
INT
CharMap
;
58
59
USHORT
ValidGlyphs
[
MAX_GLYPHS
];
60
USHORT
NumValidGlyphs
;
61
}
MAP
, *
PMAP
;
62
63
typedef
struct
{
64
NMHDR
hdr
;
65
WCHAR
ch
;
66
}
MAPNOTIFY
, *
LPMAPNOTIFY
;
67
68
typedef
struct
{
69
BOOL
IsAdvancedView
;
70
}
SETTINGS
;
71
72
extern
SETTINGS
Settings
;
73
extern
HWND
hCharmapDlg
;
74
75
LRESULT
CALLBACK
LrgCellWndProc
(
HWND
hwnd
,
UINT
uMsg,
WPARAM
wParam
,
LPARAM
lParam
);
76
77
VOID
ShowAboutDlg
(
HWND
hWndParent
);
78
79
BOOL
RegisterMapClasses
(
HINSTANCE
hInstance
);
80
VOID
UnregisterMapClasses
(
HINSTANCE
hInstance
);
81
82
int
WINAPI
GetUName
(
IN
WORD
wCharCode,
OUT
LPWSTR
lpBuf);
83
84
/* charmap.c */
85
VOID
UpdateStatusBar
(
WCHAR
wch);
86
extern
VOID
ChangeMapFont
(
HWND
hDlg);
87
88
/* settings.c */
89
extern
void
LoadSettings
(
void
);
90
extern
void
SaveSettings
(
void
);
91
92
#endif
/* __CHARMAP_PRECOMP_H */
LrgCellWndProc
LRESULT CALLBACK LrgCellWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition:
lrgcell.c:68
MAX_GLYPHS
#define MAX_GLYPHS
Definition:
precomp.h:15
YCELLS
#define YCELLS
Definition:
precomp.h:18
PMAP
struct _MAP * PMAP
UnregisterMapClasses
VOID UnregisterMapClasses(HINSTANCE hInstance)
Definition:
map.c:875
hCharmapDlg
HWND hCharmapDlg
Definition:
charmap.c:21
ChangeMapFont
VOID ChangeMapFont(HWND hDlg)
Definition:
charmap.c:161
XCELLS
#define XCELLS
Definition:
precomp.h:17
codePages
static const UINT codePages[]
Definition:
precomp.h:29
RegisterMapClasses
BOOL RegisterMapClasses(HINSTANCE hInstance)
Definition:
map.c:849
hInstance
HINSTANCE hInstance
Definition:
charmap.c:19
CELL
struct _CELL CELL
SaveSettings
void SaveSettings(void)
Definition:
settings.c:115
ShowAboutDlg
VOID ShowAboutDlg(HWND hWndParent)
Definition:
about.c:77
Settings
SETTINGS Settings
Definition:
charmap.c:25
PCELL
struct _CELL * PCELL
LPMAPNOTIFY
struct MAPNOTIFY * LPMAPNOTIFY
LoadSettings
void LoadSettings(void)
Definition:
settings.c:53
MAP
struct _MAP MAP
GetUName
int WINAPI GetUName(IN WORD wCharCode, OUT LPWSTR lpBuf)
Definition:
getuname.c:17
wParam
WPARAM wParam
Definition:
combotst.c:138
lParam
LPARAM lParam
Definition:
combotst.c:139
CALLBACK
#define CALLBACK
Definition:
compat.h:35
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
WORD
unsigned short WORD
Definition:
ntddk_ex.h:93
void
Definition:
nsiface.idl:2307
hWndParent
static HWND hWndParent
Definition:
syslink.c:32
HFONT
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
UINT
unsigned int UINT
Definition:
ndis.h:50
USHORT
unsigned short USHORT
Definition:
pedump.c:61
UpdateStatusBar
void UpdateStatusBar(void)
Definition:
solitaire.cpp:150
LOGFONTW
Definition:
dimm.idl:58
MAPNOTIFY
Definition:
precomp.h:63
MAPNOTIFY::ch
WCHAR ch
Definition:
precomp.h:65
MAPNOTIFY::hdr
NMHDR hdr
Definition:
precomp.h:64
SETTINGS
Definition:
precomp.h:68
SETTINGS::IsAdvancedView
BOOL IsAdvancedView
Definition:
precomp.h:69
_CELL
Definition:
precomp.h:37
_CELL::CellExt
RECT CellExt
Definition:
precomp.h:38
_CELL::ch
WCHAR ch
Definition:
precomp.h:40
_CELL::CellInt
RECT CellInt
Definition:
precomp.h:39
_MAP
Definition:
precomp.h:44
_MAP::hLrgWnd
HWND hLrgWnd
Definition:
precomp.h:47
_MAP::iYStart
INT iYStart
Definition:
precomp.h:55
_MAP::NumRows
INT NumRows
Definition:
precomp.h:56
_MAP::ClientSize
SIZE ClientSize
Definition:
precomp.h:48
_MAP::ValidGlyphs
USHORT ValidGlyphs[MAX_GLYPHS]
Definition:
precomp.h:59
_MAP::Cells
CELL Cells[YCELLS][XCELLS]
Definition:
precomp.h:50
_MAP::hMapWnd
HWND hMapWnd
Definition:
precomp.h:45
_MAP::hFont
HFONT hFont
Definition:
precomp.h:52
_MAP::CaretX
INT CaretX
Definition:
precomp.h:54
_MAP::hParent
HWND hParent
Definition:
precomp.h:46
_MAP::CaretY
INT CaretY
Definition:
precomp.h:54
_MAP::CellSize
SIZE CellSize
Definition:
precomp.h:49
_MAP::CharMap
INT CharMap
Definition:
precomp.h:57
_MAP::CurrentFont
LOGFONTW CurrentFont
Definition:
precomp.h:53
_MAP::NumValidGlyphs
USHORT NumValidGlyphs
Definition:
precomp.h:60
_MAP::pActiveCell
PCELL pActiveCell
Definition:
precomp.h:51
_SIZE
Definition:
kdterminal.h:26
tagNMHDR
Definition:
winuser.h:3159
tagRECT
Definition:
windef.h:305
INT
int32_t INT
Definition:
typedefs.h:58
IN
#define IN
Definition:
typedefs.h:39
OUT
#define OUT
Definition:
typedefs.h:40
resource.h
winbase.h
hwnd
_In_ LONG _In_ HWND hwnd
Definition:
winddi.h:4023
windef.h
LPARAM
LONG_PTR LPARAM
Definition:
windef.h:208
LRESULT
LONG_PTR LRESULT
Definition:
windef.h:209
WPARAM
UINT_PTR WPARAM
Definition:
windef.h:207
WINAPI
#define WINAPI
Definition:
msvc.h:6
wingdi.h
winuser.h
WCHAR
__wchar_t WCHAR
Definition:
xmlstorage.h:180
LPWSTR
WCHAR * LPWSTR
Definition:
xmlstorage.h:184
base
applications
charmap
precomp.h
Generated on Tue Nov 26 2024 06:14:56 for ReactOS by
1.9.6