Windows specific headers.
More...
Go to the source code of this file.
Windows specific headers.
- Author
- Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)
- Version
- 1.0
- Date
- 2024-06-24
- Copyright
- This project is released under the GNU Public License v3.
◆ STATUS_UNSUCCESSFUL
#define STATUS_UNSUCCESSFUL ((NTSTATUS)0xC0000001L) |
◆ PRTL_PROCESS_MODULE_INFORMATION
◆ PRTL_PROCESS_MODULES
◆ RTL_PROCESS_MODULE_INFORMATION
◆ RTL_PROCESS_MODULES
◆ SYSTEM_INFORMATION_CLASS2
◆ _SYSTEM_INFORMATION_CLASS2
Enumerator |
---|
SystemModuleInformation | |
175{
177
@ SystemModuleInformation
Definition Windows.h:176
enum _SYSTEM_INFORMATION_CLASS2 SYSTEM_INFORMATION_CLASS2
◆ AppendTailList()
FORCEINLINE VOID AppendTailList |
( |
_Inout_ PLIST_ENTRY | ListHead, |
|
|
_Inout_ PLIST_ENTRY | ListToAppend ) |
132{
133 PLIST_ENTRY ListEnd = ListHead->Blink;
134
135 ListHead->Blink->Flink = ListToAppend;
136 ListHead->Blink = ListToAppend->Blink;
137 ListToAppend->Blink->Flink = ListHead;
138 ListToAppend->Blink = ListEnd;
139}
◆ InitializeListHead()
FORCEINLINE VOID InitializeListHead |
( |
_Out_ PLIST_ENTRY | ListHead | ) |
|
43{
44 ListHead->Flink = ListHead->Blink = ListHead;
45}
◆ InsertHeadList()
FORCEINLINE VOID InsertHeadList |
( |
_Inout_ PLIST_ENTRY | ListHead, |
|
|
_Inout_ PLIST_ENTRY | Entry ) |
118{
119 PLIST_ENTRY Flink;
120
121 Flink = ListHead->Flink;
122 Entry->Flink = Flink;
123 Entry->Blink = ListHead;
124 Flink->Blink = Entry;
125 ListHead->Flink = Entry;
126}
◆ InsertTailList()
FORCEINLINE VOID InsertTailList |
( |
_Inout_ PLIST_ENTRY | ListHead, |
|
|
_Inout_ PLIST_ENTRY | Entry ) |
104{
105 PLIST_ENTRY Blink;
106
107 Blink = ListHead->Blink;
108 Entry->Flink = ListHead;
109 Entry->Blink = Blink;
110 Blink->Flink = Entry;
111 ListHead->Blink = Entry;
112}
◆ IsListEmpty()
_Check_return_ FORCEINLINE BOOLEAN IsListEmpty |
( |
_In_ PLIST_ENTRY | ListHead | ) |
|
51{
52 return ListHead->Flink == ListHead;
53}
◆ PopEntryList()
FORCEINLINE PSINGLE_LIST_ENTRY PopEntryList |
( |
_Inout_ PSINGLE_LIST_ENTRY | ListHead | ) |
|
144{
145 PSINGLE_LIST_ENTRY FirstEntry;
146
147 FirstEntry = ListHead->Next;
148
149 if (FirstEntry)
150 ListHead->Next = FirstEntry->Next;
151
152 return FirstEntry;
153}
◆ PushEntryList()
FORCEINLINE VOID PushEntryList |
( |
_Inout_ PSINGLE_LIST_ENTRY | ListHead, |
|
|
_Inout_ PSINGLE_LIST_ENTRY | Entry ) |
159{
160 Entry->Next = ListHead->Next;
161 ListHead->Next = Entry;
162}
◆ RemoveEntryList()
FORCEINLINE BOOLEAN RemoveEntryList |
( |
_In_ PLIST_ENTRY | Entry | ) |
|
58{
59 PLIST_ENTRY Blink;
60 PLIST_ENTRY Flink;
61
62 Flink = Entry->Flink;
63 Blink = Entry->Blink;
64 Blink->Flink = Flink;
65 Flink->Blink = Blink;
66
67 return Flink == Blink;
68}
◆ RemoveHeadList()
FORCEINLINE PLIST_ENTRY RemoveHeadList |
( |
_Inout_ PLIST_ENTRY | ListHead | ) |
|
73{
74 PLIST_ENTRY Flink;
75 PLIST_ENTRY Entry;
76
77 Entry = ListHead->Flink;
78 Flink = Entry->Flink;
79 ListHead->Flink = Flink;
80 Flink->Blink = ListHead;
81
82 return Entry;
83}
◆ RemoveTailList()
FORCEINLINE PLIST_ENTRY RemoveTailList |
( |
_Inout_ PLIST_ENTRY | ListHead | ) |
|
88{
89 PLIST_ENTRY Blink;
90 PLIST_ENTRY Entry;
91
92 Entry = ListHead->Blink;
93 Blink = Entry->Blink;
94 ListHead->Blink = Blink;
95 Blink->Flink = ListHead;
96
97 return Entry;
98}