HDESK GetThreadDesktop(idThread) | |||
DWORD idThread; |
The GetThreadDesktop function returns the handle of the desktop associated with the specified thread.
idThread
Identifies the thread to return the desktop handle for.
The return value is the handle of the desktop associated with the specified thread.
GetCurrentThreadId