Funktionreferenz


_WinAPI_SetThreadDesktop


Assigns the specified desktop to the calling thread

#include <WinAPIProc.au3>
_WinAPI_SetThreadDesktop ( $hDesktop )

Parameter

$hDesktop Handle to the desktop to be assigned to the calling thread. This desktop must be associated with the
current window station for the process.

Rückgabewert

Success: True
Failure: False

Bemerkungen

The _WinAPI_SetThreadDesktop() function will fail if the calling thread has any windows or hooks on its current
desktop (unless the $hDesktop parameter is a handle to the current desktop).

Siehe auch

Suche nach SetThreadDesktop in der MSDN Bibliothek.