Assigns the specified desktop to the calling thread.
#Include <WinAPIEx.au3>
_WinAPI_SetThreadDesktop ( $hDesktop )
$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. |
成功: | 返回 1. |
失败: | 返回 0 并设置 @error 标志为非 0 值. |
在MSDN中搜索