 |
OpenInputDesktop ..msdn Add comment W32 Constants Translate this page |
 |
 |
Opens the desktop that receives user input.
|
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HDESK OpenInputDesktop(
DWORD dwFlags,
BOOL fInherit,
ACCESS_MASK dwDesiredAccess
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER OpenInputDesktop IN user32;
LONG dwFlags,;
INTEGER fInherit,;
INTEGER dwDesiredAccess
|
 |
 |
 |
| Parameters: |
 |
dwFlags
[in] This parameter can be 0 or 1.
fInherit
[in] If this value is TRUE, new processes inherit the handle. Otherwise, this handle is not inherited.
dwDesiredAccess
[in] Access to the desktop. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a handle to the desktop that receives user input. |
 |
 |
| My comment: |
 |
When you are finished using the handle, call the CloseDesktop function to close it.
See also: CloseDesktop, SetProcessWindowStation, SwitchDesktop
|
 |
 |
| Word Index links for the OpenInputDesktop : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2005-09-04 16:17:05 | | Modified: | 2005-09-04 16:19:05 | Visited in last 7 days: 10 |