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
about.c
Go to the documentation of this file.
1
#include "
precomp.h
"
2
3
INT_PTR
CALLBACK
4
AboutDialogProc
(
HWND
hDlg,
5
UINT
message
,
6
WPARAM
wParam
,
7
LPARAM
lParam
)
8
{
9
HWND
hLicenseEditWnd;
10
HICON
hIcon
=
NULL
;
11
TCHAR
strLicense[700];
12
13
switch
(
message
)
14
{
15
case
WM_INITDIALOG
:
16
17
hIcon
=
LoadImage
(
hInstance
,
18
MAKEINTRESOURCE
(
IDI_ICON
),
19
IMAGE_ICON
,
20
16,
21
16,
22
0);
23
24
SendMessage
(hDlg,
25
WM_SETICON,
26
ICON_SMALL
,
27
(
LPARAM
)
hIcon
);
28
29
hLicenseEditWnd =
GetDlgItem
(hDlg,
30
IDC_LICENSE_EDIT
);
31
32
LoadString
(
hInstance
,
33
IDS_LICENSE
,
34
strLicense,
35
sizeof
(strLicense) /
sizeof
(
TCHAR
));
36
37
SetWindowText
(hLicenseEditWnd,
38
strLicense);
39
return
TRUE
;
40
41
case
WM_COMMAND
:
42
if
((
LOWORD
(
wParam
) ==
IDOK
) || (
LOWORD
(
wParam
) ==
IDCANCEL
))
43
{
44
DestroyIcon
(
hIcon
);
45
EndDialog
(hDlg,
46
LOWORD
(
wParam
));
47
return
TRUE
;
48
}
49
50
break
;
51
}
52
53
return
FALSE
;
54
}
AboutDialogProc
static INT_PTR CALLBACK AboutDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition:
about.c:15
IDC_LICENSE_EDIT
#define IDC_LICENSE_EDIT
Definition:
resource.h:20
IDI_ICON
#define IDI_ICON
Definition:
resource.h:5
IDS_LICENSE
#define IDS_LICENSE
Definition:
resource.h:28
hInstance
HINSTANCE hInstance
Definition:
charmap.c:19
wParam
WPARAM wParam
Definition:
combotst.c:138
lParam
LPARAM lParam
Definition:
combotst.c:139
NULL
#define NULL
Definition:
types.h:112
TRUE
#define TRUE
Definition:
types.h:120
FALSE
#define FALSE
Definition:
types.h:117
CALLBACK
#define CALLBACK
Definition:
compat.h:35
void
Definition:
nsiface.idl:2307
HICON
static HICON
Definition:
imagelist.c:80
hIcon
HICON hIcon
Definition:
msconfig.c:44
UINT
unsigned int UINT
Definition:
ndis.h:50
LOWORD
#define LOWORD(l)
Definition:
pedump.c:82
message
Definition:
tftpd.h:60
ICON_SMALL
#define ICON_SMALL
Definition:
tnclass.cpp:48
INT_PTR
int32_t INT_PTR
Definition:
typedefs.h:64
precomp.h
LPARAM
LONG_PTR LPARAM
Definition:
windef.h:208
WPARAM
UINT_PTR WPARAM
Definition:
windef.h:207
IDCANCEL
#define IDCANCEL
Definition:
winuser.h:834
IMAGE_ICON
#define IMAGE_ICON
Definition:
winuser.h:212
WM_COMMAND
#define WM_COMMAND
Definition:
winuser.h:1743
WM_INITDIALOG
#define WM_INITDIALOG
Definition:
winuser.h:1742
GetDlgItem
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
IDOK
#define IDOK
Definition:
winuser.h:833
SendMessage
#define SendMessage
Definition:
winuser.h:5855
LoadImage
#define LoadImage
Definition:
winuser.h:5827
LoadString
#define LoadString
Definition:
winuser.h:5831
SetWindowText
#define SetWindowText
Definition:
winuser.h:5869
MAKEINTRESOURCE
#define MAKEINTRESOURCE
Definition:
winuser.h:591
EndDialog
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
DestroyIcon
BOOL WINAPI DestroyIcon(_In_ HICON)
Definition:
cursoricon.c:2105
TCHAR
char TCHAR
Definition:
xmlstorage.h:189
modules
rosapps
templates
old_wordpad
about.c
Generated on Wed Nov 27 2024 06:06:34 for ReactOS by
1.9.6