Window Stations and Desktops
Overview of the Window Stations and Desktops technology.
The Window Stations and Desktops technology is not associated with any headers.
For programming guidance for this technology, see:
Functions
CloseDesktop Closes an open handle to a desktop object. |
CloseWindowStation Closes an open window station handle. |
CreateDesktopA Creates a new desktop, associates it with the current window station of the calling process, and assigns it to the calling thread. (ANSI) |
CreateDesktopExA Creates a new desktop with the specified heap, associates it with the current window station of the calling process, and assigns it to the calling thread. (ANSI) |
CreateDesktopExW Creates a new desktop with the specified heap, associates it with the current window station of the calling process, and assigns it to the calling thread. (Unicode) |
CreateDesktopW Creates a new desktop, associates it with the current window station of the calling process, and assigns it to the calling thread. (Unicode) |
CreateWindowStationA Creates a window station object, associates it with the calling process, and assigns it to the current session. (ANSI) |
CreateWindowStationW Creates a window station object, associates it with the calling process, and assigns it to the current session. (Unicode) |
EnumDesktopsA Enumerates all desktops associated with the specified window station of the calling process. The function passes the name of each desktop, in turn, to an application-defined callback function. (ANSI) |
EnumDesktopsW Enumerates all desktops associated with the specified window station of the calling process. The function passes the name of each desktop, in turn, to an application-defined callback function. (Unicode) |
EnumDesktopWindows Enumerates all top-level windows associated with the specified desktop. It passes the handle to each window, in turn, to an application-defined callback function. |
EnumWindowStationsA Enumerates all window stations in the current session. The function passes the name of each window station, in turn, to an application-defined callback function. (ANSI) |
EnumWindowStationsW Enumerates all window stations in the current session. The function passes the name of each window station, in turn, to an application-defined callback function. (Unicode) |
GetProcessWindowStation Retrieves a handle to the current window station for the calling process. |
GetThreadDesktop Retrieves a handle to the desktop assigned to the specified thread. |
GetUserObjectInformationA Retrieves information about the specified window station or desktop object. (ANSI) |
GetUserObjectInformationW Retrieves information about the specified window station or desktop object. (Unicode) |
OpenDesktopA Opens the specified desktop object. (ANSI) |
OpenDesktopW Opens the specified desktop object. (Unicode) |
OpenInputDesktop Opens the desktop that receives user input. |
OpenWindowStationA Opens the specified window station. (ANSI) |
OpenWindowStationW Opens the specified window station. (Unicode) |
SetProcessWindowStation Assigns the specified window station to the calling process. |
SetThreadDesktop Assigns the specified desktop to the calling thread. All subsequent operations on the desktop use the access rights granted to the desktop. |
SetUserObjectInformationA Sets information about the specified window station or desktop object. (ANSI) |
SetUserObjectInformationW Sets information about the specified window station or desktop object. (Unicode) |
SwitchDesktop Makes the specified desktop visible and activates it. This enables the desktop to receive input from the user. |
Structures
USEROBJECTFLAGS Contains information about a window station or desktop handle. |