Applications can use the following functions with window station objects.
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. |
Send comments about this topic to Microsoft
Build date: 11/19/2009