Station & Desktop user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPISys.au3>.

 

User Defined Function Description
_WinAPI_CloseDesktop Closes an open handle to a desktop object
_WinAPI_CloseWindowStation Closes an open window station handle
_WinAPI_CreateDesktop Creates a new desktop, associates it with the current window station of the calling process
_WinAPI_CreateWindowStation Creates a window station object, associates it with the calling process, and assigns it to the current session
_WinAPI_EnumDesktops Enumerates all desktops associated with the specified window station of the calling process
_WinAPI_EnumDesktopWindows Enumerates all top-level windows associated with the specified desktop
_WinAPI_EnumWindowStations Enumerates all window stations in the current session
_WinAPI_GetProcessWindowStation Retrieves a handle to the current window station for the calling process
_WinAPI_GetUserObjectInformation Retrieves information about the specified window station or desktop object
_WinAPI_OpenDesktop Opens the specified desktop object
_WinAPI_OpenInputDesktop Opens the desktop that receives user input
_WinAPI_OpenWindowStation Opens the specified window station
_WinAPI_SetProcessWindowStation Assigns the specified window station to the calling process
_WinAPI_SetUserObjectInformation Sets information about the specified window station or desktop object
_WinAPI_SwitchDesktop Makes the specified desktop visible and activates it