 |
OpenDesktop ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The OpenDesktop function opens the specified desktop object. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HDESK OpenDesktop(
LPTSTR lpszDesktop,
DWORD dwFlags,
BOOL fInherit,
ACCESS_MASK dwDesiredAccess
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER OpenDesktop IN user32;
STRING lpszDesktop,;
LONG dwFlags,;
INTEGER fInherit,;
INTEGER dwDesiredAccess
|
 |
 |
 |
| Parameters: |
 |
lpszDesktop
[in] Pointer to null-terminated string specifying the name of the desktop to be opened.
dwFlags
[in] This parameter can be zero or the following value.
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 opened desktop. |
 |
 |
| My comment: |
 |
Desktop names are case-insensitive. This desktop must belong to the current window station.
When you are finished using the handle, call the CloseDesktop function to close it.
|
 |
 |
| Word Index links for the OpenDesktop : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2005-11-09 19:45:02 | | Modified: | 2005-11-09 19:47:48 | Visited in last 7 days: 12 |