ReactOS
0.4.16-dev-1040-g85afe48
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
peb_access.cpp
Go to the documentation of this file.
1
//
2
// peb_access.cpp
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// Wrapper functions to access fields in the PEB.
7
//
8
9
// Using internal headers for definitions. Only call publicly available functions.
10
#include <
nt.h
>
11
#include <
ntrtl.h
>
12
#include <
nturtl.h
>
13
14
extern
"C"
bool
__cdecl
__acrt_app_verifier_enabled
()
15
{
16
return
(
NtCurrentTeb
()->ProcessEnvironmentBlock->NtGlobalFlag &
FLG_APPLICATION_VERIFIER
) != 0;
17
}
18
19
extern
"C"
bool
__cdecl
__acrt_is_secure_process
()
20
{
21
return
(
NtCurrentTeb
()->ProcessEnvironmentBlock->ProcessParameters->Flags &
RTL_USER_PROC_SECURE_PROCESS
) != 0;
22
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
FLG_APPLICATION_VERIFIER
#define FLG_APPLICATION_VERIFIER
Definition:
pstypes.h:64
NtCurrentTeb
#define NtCurrentTeb
Definition:
iphlpapi_private.h:4
nt.h
ntrtl.h
RTL_USER_PROC_SECURE_PROCESS
#define RTL_USER_PROC_SECURE_PROCESS
Definition:
ntrtl.h:15
nturtl.h
__acrt_app_verifier_enabled
bool __cdecl __acrt_app_verifier_enabled()
Definition:
peb_access.cpp:14
__acrt_is_secure_process
bool __cdecl __acrt_is_secure_process()
Definition:
peb_access.cpp:19
sdk
lib
ucrt
internal
peb_access.cpp
Generated on Fri Apr 25 2025 06:15:38 for ReactOS by
1.9.6