Group: Process and Thread - Library: kernel32
Reading and setting the priority class values for the current process and thread
HANDLE GetCurrentThread(VOID);
DECLARE INTEGER GetCurrentThread;
IN kernel32
This function has no parameters.
The return value is a pseudo handle for the current thread.
A pseudo handle is a special constant that is interpreted as the current thread handle. The calling thread can use this handle to specify itself whenever a thread handle is required. Pseudo handles are not inherited by child processes.