 |
 |
Window Station and Desktop ..msdn Add comment |
 |
|
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. |
|
 |
 |
 |
|
GetThreadDesktop
|
|
The GetThreadDesktop function retrieves a handle to the desktop associated with a specified thread. |
|
 |
 |
 |
|
OpenDesktop
|
|
The OpenDesktop function opens the specified desktop object. |
|
 |
 |
 |
|
OpenInputDesktop
|
|
Opens the desktop that receives user input.
|
|
 |
 |
 |
|
SetThreadDesktop
|
|
Assigns the specified desktop to the calling thread. All subsequent operations on the desktop use the access rights granted to hDesktop. |
|
 |
 |
 |
|
SwitchDesktop
|
|
Makes a desktop visible and activates it. This enables the desktop to receive input from the user. |
|
 |
 |
 |
 |
| Code examples: |
 |
|
|
 |
|
|