// ntddk.h
PETHREAD PsGetCurrentThread();
View the official Windows Driver Kit DDI reference
// ntifs.h
PETHREAD PsGetCurrentThread();
View the official Windows Driver Kit DDI reference
// wdm.h
PETHREAD PsGetCurrentThread();
View the official Windows Driver Kit DDI reference
No description available.
The PsGetCurrentThread routine identifies the current thread.
PsGetCurrentThread returns a pointer to the executive thread object that represents the currently executing thread.
You can use the ExGetCurrentResourceThread macro to return the thread ID of the current thread.
#define ExGetCurrentResourceThread() ((ULONG_PTR)PsGetCurrentThread())
ExReleaseResourceForThreadLite
The PsGetCurrentThread routine identifies the current thread.
PsGetCurrentThread returns a pointer to the executive thread object that represents the currently executing thread.
This macro
The PsGetCurrentThread routine identifies the current thread.
PsGetCurrentThread returns a pointer to the executive thread object that represents the currently executing thread.