Window Station and Desktop Functions
Applications can use the following functions with window station objects.
Function | Description |
---|---|
CloseWindowStation | Closes an open window station handle. |
CreateWindowStation | Creates a window station object, associates it with the current process, and assigns it to the current session. |
EnumWindowStations | Enumerates all window stations in the current session. |
GetProcessWindowStation | Retrieves a handle to the current window station for the calling process. |
GetUserObjectInformation | Retrieves information about the specified window station or desktop object. |
GetUserObjectSecurity | Retrieves security information for the specified window station or desktop object. |
OpenWindowStation | Opens the specified window station. |
SetProcessWindowStation | Assigns the specified window station to the calling process. |
SetUserObjectInformation | Sets information about the specified window station or desktop object. |
SetUserObjectSecurity | Sets security information for the specified window station or desktop object. |
Applications can use the following functions with desktop objects.
Function | Description |
---|---|
CloseDesktop | Closes an open handle to a desktop object. |
CreateDesktop | Creates a new desktop, associates it with the current window station of the calling process, and assigns it to the calling thread. |
CreateDesktopEx | Creates a new desktop, associates it with the current window station of the calling process, and assigns it to the calling thread. |
EnumDesktops | Enumerates all desktops associated with the current window station of the calling process. |
EnumDesktopWindows | Enumerates all top-level windows associated with the specified desktop. |
GetThreadDesktop | Retrieves a handle to the desktop assigned to the specified thread. |
GetUserObjectInformation | Gets information about a window station or desktop object. |
GetUserObjectSecurity | Gets security information for a window station or desktop object. |
OpenDesktop | Opens the specified desktop object. |
OpenInputDesktop | Opens the desktop that receives user input. |
SetThreadDesktop | Assigns the specified desktop to the calling thread. |
SetUserObjectInformation | Sets information about a window station or desktop object. |
SetUserObjectSecurity | Sets security information for a window station or desktop object. |
SwitchDesktop | Makes a desktop visible and activates it. This enables the desktop to receive input from the user. |