// ntddk.h
HANDLE PsGetCurrentThreadId();
View the official Windows Driver Kit DDI referenceNo description available.
The PsGetCurrentThreadId routine identifies the current thread.
The PsGetCurrentThreadId routine returns the thread ID of the current thread.
PsSetCreateThreadNotifyRoutine