Click to Rate and Give Feedback

  Switch on low bandwidth view
Window Station and Desktop Functions

Applications can use the following functions with window station objects.

FunctionDescription
CloseWindowStationCloses an open window station handle.
CreateWindowStationCreates a window station object, associates it with the current process, and assigns it to the current session.
EnumWindowStationsEnumerates all window stations in the current session.
GetProcessWindowStationRetrieves a handle to the current window station for the calling process.
GetUserObjectInformationRetrieves information about the specified window station or desktop object.
GetUserObjectSecurityRetrieves security information for the specified window station or desktop object.
OpenWindowStationOpens the specified window station.
SetProcessWindowStationAssigns the specified window station to the calling process.
SetUserObjectInformationSets information about the specified window station or desktop object.
SetUserObjectSecuritySets security information for the specified window station or desktop object.

 

Applications can use the following functions with desktop objects.

FunctionDescription
CloseDesktopCloses an open handle to a desktop object.
CreateDesktopCreates a new desktop, associates it with the current window station of the calling process, and assigns it to the calling thread.
CreateDesktopExCreates a new desktop, associates it with the current window station of the calling process, and assigns it to the calling thread.
EnumDesktopsEnumerates all desktops associated with the current window station of the calling process.
EnumDesktopWindowsEnumerates all top-level windows associated with the specified desktop.
GetThreadDesktopRetrieves a handle to the desktop assigned to the specified thread.
GetUserObjectInformationGets information about a window station or desktop object.
GetUserObjectSecurityGets security information for a window station or desktop object.
OpenDesktopOpens the specified desktop object.
OpenInputDesktopOpens the desktop that receives user input.
SetThreadDesktopAssigns the specified desktop to the calling thread.
SetUserObjectInformationSets information about a window station or desktop object.
SetUserObjectSecuritySets security information for a window station or desktop object.
SwitchDesktopMakes 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: 7/2/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker