ReactOS
0.4.16-dev-1078-g21d3e29
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
themes.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS 'General' Shim library
3
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4
* PURPOSE: Theme related shims
5
* COPYRIGHT: Copyright 2016,2017 Mark Jansen (mark.jansen@reactos.org)
6
*/
7
8
#define WIN32_NO_STATUS
9
#include <
windef.h
>
10
#include <
winbase.h
>
11
#include <
winuser.h
>
12
#include <
wingdi.h
>
13
#include <
shimlib.h
>
14
#include <
strsafe.h
>
15
#include <
uxtheme.h
>
16
17
18
#define SHIM_NS DisableThemes
19
#include <setup_shim.inl>
20
21
#define SHIM_NUM_HOOKS 0
22
#define SHIM_NOTIFY_FN SHIM_OBJ_NAME(Notify)
23
24
BOOL
WINAPI
SHIM_OBJ_NAME(
Notify
)(
DWORD
fdwReason
,
PVOID
ptr
)
25
{
26
if
(
fdwReason
==
SHIM_REASON_INIT
)
27
{
28
/* Disable themes for non-client, comctl controls and webcontent */
29
SetThemeAppProperties
(0);
30
}
31
return
TRUE
;
32
}
33
34
#include <implement_shim.inl>
35
fdwReason
static DWORD const fdwReason
Definition:
appcrt_dllmain.cpp:57
TRUE
#define TRUE
Definition:
types.h:120
SetThemeAppProperties
void WINAPI SetThemeAppProperties(DWORD dwFlags)
Definition:
system.c:956
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
void
Definition:
nsiface.idl:2307
ptr
static PVOID ptr
Definition:
dispmode.c:27
shimlib.h
SHIM_REASON_INIT
#define SHIM_REASON_INIT
Definition:
shimlib.h:45
strsafe.h
Notify
BOOL WINAPI SHIM_OBJ_NAME() Notify(DWORD fdwReason, PVOID ptr)
Definition:
themes.c:24
uxtheme.h
winbase.h
windef.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
wingdi.h
winuser.h
dll
appcompat
shims
genral
themes.c
Generated on Sun May 4 2025 06:02:35 for ReactOS by
1.9.6