CommonLibSSE (powerof3)
NT.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
REX/W32/BASE.h
"
4
5
namespace
REX::W32
6
{
7
struct
EXCEPTION_REGISTRATION_RECORD;
8
struct
PEB_LDR_DATA;
9
struct
RTL_USER_PROCESS_PARAMETERS;
10
struct
UNICODE_STRING;
11
12
using
PS_POST_PROCESS_INIT_ROUTINE
= void (*)();
13
14
struct
LIST_ENTRY
15
{
16
struct
LIST_ENTRY
*
fLink
;
17
struct
LIST_ENTRY
*
bLink
;
18
};
19
20
struct
NT_TIB
21
{
22
EXCEPTION_REGISTRATION_RECORD*
exceptionList
;
23
void
*
stackBase
;
24
void
*
stackLimit
;
25
void
*
subSystemTib
;
26
union
27
{
28
void
*
fiberData
;
29
std::uint32_t
version
;
30
};
31
void
*
arbitraryUserPointer
;
32
struct
NT_TIB
*
self
;
33
};
34
35
struct
PEB
36
{
37
std::byte
reserved1
[2];
38
std::byte
beingDebugged
;
39
std::byte
reserved2
[1];
40
void
*
reserved3
[2];
41
PEB_LDR_DATA
*
ldr
;
42
RTL_USER_PROCESS_PARAMETERS
*
processParameters
;
43
void
*
reserved4
[3];
44
void
*
atlThunkSListPtr
;
45
void
*
reserved5
;
46
std::uint32_t
reserved6
;
47
void
*
reserved7
;
48
std::uint32_t
reserved8
;
49
std::uint32_t
atlThunkSListPtr32
;
50
void
*
reserved9
[45];
51
std::byte
reserved10
[96];
52
PS_POST_PROCESS_INIT_ROUTINE
postProcessInitRoutine
;
53
std::byte
reserved11
[128];
54
void
*
reserved12
[1];
55
std::uint32_t
sessionID
;
56
};
57
58
struct
PEB_LDR_DATA
59
{
60
std::byte
reserved1
[8];
61
void
*
reserved2
[3];
62
LIST_ENTRY
inMemoryOrderModuleList
;
63
};
64
65
struct
RTL_USER_PROCESS_PARAMETERS
66
{
67
std::byte
reserved1
[16];
68
void
*
reserved2
[10];
69
UNICODE_STRING
imagePathName
;
70
UNICODE_STRING
commandLine
;
71
};
72
73
struct
TEB
74
{
75
void
*
reserved1
[11];
76
void
*
threadLocalStoragePointer
;
77
PEB
*
processEnvironmentBlock
;
78
void
*
reserved2
[399];
79
std::byte
reserved3
[1952];
80
void
*
tlsSlots
[64];
81
std::byte
reserved4
[8];
82
void
*
reserved5
[26];
83
void
*
reservedForOle
;
84
void
*
reserved6
[4];
85
void
*
tlsExpansionSlots
;
86
};
87
}
88
89
namespace
REX::W32
90
{
91
TEB
*
NtCurrentTeb
() noexcept;
92
}
BASE.h
REX::W32
Definition:
BSDirectInputManager.h:8
REX::W32::NtCurrentTeb
TEB * NtCurrentTeb() noexcept
REX::W32::PS_POST_PROCESS_INIT_ROUTINE
void(*)() PS_POST_PROCESS_INIT_ROUTINE
Definition:
NT.h:12
REX::W32::LIST_ENTRY
Definition:
NT.h:15
REX::W32::LIST_ENTRY::bLink
struct LIST_ENTRY * bLink
Definition:
NT.h:17
REX::W32::LIST_ENTRY::fLink
struct LIST_ENTRY * fLink
Definition:
NT.h:16
REX::W32::NT_TIB
Definition:
NT.h:21
REX::W32::NT_TIB::version
std::uint32_t version
Definition:
NT.h:29
REX::W32::NT_TIB::arbitraryUserPointer
void * arbitraryUserPointer
Definition:
NT.h:31
REX::W32::NT_TIB::stackLimit
void * stackLimit
Definition:
NT.h:24
REX::W32::NT_TIB::stackBase
void * stackBase
Definition:
NT.h:23
REX::W32::NT_TIB::fiberData
void * fiberData
Definition:
NT.h:28
REX::W32::NT_TIB::subSystemTib
void * subSystemTib
Definition:
NT.h:25
REX::W32::NT_TIB::exceptionList
EXCEPTION_REGISTRATION_RECORD * exceptionList
Definition:
NT.h:22
REX::W32::PEB_LDR_DATA
Definition:
NT.h:59
REX::W32::PEB_LDR_DATA::reserved2
void * reserved2[3]
Definition:
NT.h:61
REX::W32::PEB_LDR_DATA::inMemoryOrderModuleList
LIST_ENTRY inMemoryOrderModuleList
Definition:
NT.h:62
REX::W32::PEB_LDR_DATA::reserved1
std::byte reserved1[8]
Definition:
NT.h:60
REX::W32::PEB
Definition:
NT.h:36
REX::W32::PEB::reserved5
void * reserved5
Definition:
NT.h:45
REX::W32::PEB::reserved7
void * reserved7
Definition:
NT.h:47
REX::W32::PEB::reserved3
void * reserved3[2]
Definition:
NT.h:40
REX::W32::PEB::reserved1
std::byte reserved1[2]
Definition:
NT.h:37
REX::W32::PEB::reserved6
std::uint32_t reserved6
Definition:
NT.h:46
REX::W32::PEB::sessionID
std::uint32_t sessionID
Definition:
NT.h:55
REX::W32::PEB::ldr
PEB_LDR_DATA * ldr
Definition:
NT.h:41
REX::W32::PEB::reserved12
void * reserved12[1]
Definition:
NT.h:54
REX::W32::PEB::reserved2
std::byte reserved2[1]
Definition:
NT.h:39
REX::W32::PEB::reserved8
std::uint32_t reserved8
Definition:
NT.h:48
REX::W32::PEB::postProcessInitRoutine
PS_POST_PROCESS_INIT_ROUTINE postProcessInitRoutine
Definition:
NT.h:52
REX::W32::PEB::reserved10
std::byte reserved10[96]
Definition:
NT.h:51
REX::W32::PEB::atlThunkSListPtr
void * atlThunkSListPtr
Definition:
NT.h:44
REX::W32::PEB::beingDebugged
std::byte beingDebugged
Definition:
NT.h:38
REX::W32::PEB::reserved4
void * reserved4[3]
Definition:
NT.h:43
REX::W32::PEB::reserved9
void * reserved9[45]
Definition:
NT.h:50
REX::W32::PEB::reserved11
std::byte reserved11[128]
Definition:
NT.h:53
REX::W32::PEB::processParameters
RTL_USER_PROCESS_PARAMETERS * processParameters
Definition:
NT.h:42
REX::W32::PEB::atlThunkSListPtr32
std::uint32_t atlThunkSListPtr32
Definition:
NT.h:49
REX::W32::RTL_USER_PROCESS_PARAMETERS
Definition:
NT.h:66
REX::W32::RTL_USER_PROCESS_PARAMETERS::reserved2
void * reserved2[10]
Definition:
NT.h:68
REX::W32::RTL_USER_PROCESS_PARAMETERS::commandLine
UNICODE_STRING commandLine
Definition:
NT.h:70
REX::W32::RTL_USER_PROCESS_PARAMETERS::imagePathName
UNICODE_STRING imagePathName
Definition:
NT.h:69
REX::W32::RTL_USER_PROCESS_PARAMETERS::reserved1
std::byte reserved1[16]
Definition:
NT.h:67
REX::W32::TEB
Definition:
NT.h:74
REX::W32::TEB::reserved6
void * reserved6[4]
Definition:
NT.h:84
REX::W32::TEB::reserved3
std::byte reserved3[1952]
Definition:
NT.h:79
REX::W32::TEB::reserved5
void * reserved5[26]
Definition:
NT.h:82
REX::W32::TEB::reserved4
std::byte reserved4[8]
Definition:
NT.h:81
REX::W32::TEB::processEnvironmentBlock
PEB * processEnvironmentBlock
Definition:
NT.h:77
REX::W32::TEB::tlsSlots
void * tlsSlots[64]
Definition:
NT.h:80
REX::W32::TEB::tlsExpansionSlots
void * tlsExpansionSlots
Definition:
NT.h:85
REX::W32::TEB::reservedForOle
void * reservedForOle
Definition:
NT.h:83
REX::W32::TEB::reserved2
void * reserved2[399]
Definition:
NT.h:78
REX::W32::TEB::reserved1
void * reserved1[11]
Definition:
NT.h:75
REX::W32::TEB::threadLocalStoragePointer
void * threadLocalStoragePointer
Definition:
NT.h:76
REX::W32::UNICODE_STRING
Definition:
BASE.h:179
CommonLibSSE
include
REX
W32
NT.h
Generated by
1.9.1