// wdm.h
PKTHREAD KeGetCurrentThread();
View the official Windows Driver Kit DDI reference
No description available.
The KeGetCurrentThread routine identifies the current thread.
KeGetCurrentThread returns a pointer to an opaque thread object.
This routine is identical to PsGetCurrentThread.
A caller of KeGetCurrentThread can use the returned pointer as an input parameter to KeQueryPriorityThread, KeSetBasePriorityThread, or KeSetPriorityThread. However, the memory containing the thread object is opaque; that is, it is reserved for exclusive use by the operating system.