Group: Process and Thread - Library: kernel32
Obtaining a handle to the desktop associated with the calling thread
Retrieveing information about the active window (even if it is not owned by the calling process)
How to prevent users from accessing the Windows Desktop and from switching to other applications
DWORD GetCurrentThreadId(VOID); DECLARE INTEGER GetCurrentThreadId;
IN kernel32 This function has no parameters.
The return value is the thread identifier of the calling thread.
Until the thread terminates, the thread identifier uniquely identifies the thread throughout the system.
Home