Свойство | Type | Description | |
---|---|---|---|
Default | |||
HWND_BOTTOM | |||
HWND_BROADCAST | |||
HWND_MESSAGE | |||
HWND_NOTOPMOST | |||
HWND_TOP | |||
HWND_TOPMOST | |||
Input | |||
MOD_ALT | int | ||
MOD_CONTROL | int | ||
MOD_SHIFT | int | ||
MOD_WIN | int | ||
VK_DELETE | int | ||
WM_HOTKEY | int |
Méthode | Description | |
---|---|---|
Clone ( ) : object |
Creates a new Desktop object with the same desktop open.
|
|
Close ( ) : bool |
Closes the handle to a desktop.
|
|
Create ( string name ) : bool |
Creates a new desktop. If a handle is open, it will be closed.
|
|
CreateDesktop ( string name ) : |
Creates a new desktop.
|
|
CreateProcess ( string path ) : |
Creates a new process in a desktop.
|
|
CreateProcess ( string path, string desktop ) : |
Creates a new process on the specified desktop.
|
|
Desktop ( ) : System |
Creates a new Desktop object.
|
|
Dispose ( ) : void |
Dispose Object.
|
|
Dispose ( bool disposing ) : void |
Dispose Object.
|
|
Exists ( string name ) : bool |
Checks if the specified desktop exists (using a case sensitive search).
|
|
Exists ( string name, bool caseInsensitive ) : bool |
Checks if the specified desktop exists.
|
|
GetCurrent ( ) : |
Gets the desktop of the calling thread.
|
|
GetDesktopName ( |
Gets the name of a given desktop.
|
|
GetDesktopName ( |
Gets the name of a desktop from a desktop handle.
|
|
GetDesktops ( ) : string[] |
Enumerates all of the desktops.
|
|
GetInputProcesses ( ) : System.Diagnostics.Process[] |
Gets an array of all the processes running on the Input desktop.
|
|
GetWindows ( ) : WindowCollection |
Enumerates the windows on a desktop.
|
|
MakeLong ( int low, int high ) : int | ||
Open ( string name ) : bool |
Opens a desktop.
|
|
OpenDefaultDesktop ( ) : |
Opens the default desktop.
|
|
OpenDesktop ( string name ) : |
Opens a desktop.
|
|
OpenInput ( ) : bool |
Opens the current input desktop.
|
|
OpenInputDesktop ( ) : |
Opens the current input desktop.
|
|
Prepare ( ) : void |
Prepares a desktop for use. For use only on newly created desktops, call straight after CreateDesktop.
|
|
SetCurrent ( |
Sets the desktop of the calling thread. NOTE: Function will fail if thread has hooks or windows in the current desktop.
|
|
Show ( ) : bool |
Switches input to the currently opened desktop.
|
|
Show ( string name ) : bool |
Switches to the specified desktop.
|
|
SimulateCtrlAltDel ( ) : bool | ||
ToString ( ) : string |
Gets the desktop name.
|
Méthode | Description | |
---|---|---|
CheckDisposed ( ) : void | ||
ClientToScreen ( |
||
CloseDesktop ( |
||
CloseWindowStation ( |
||
CreateDesktop ( string lpszDesktop, |
||
CreateProcess ( string lpApplicationName, string lpCommandLine, |
||
Desktop ( |
||
DesktopProc ( string lpszDesktop, |
||
DesktopWindowsProc ( |
||
EnumDesktopWindows ( |
||
EnumDesktops ( |
||
FindWindow ( string lpClassName, string lpWindowName ) : |
||
FindWindowByCaption ( |
||
GetCurrentThreadId ( ) : int | ||
GetProcessId ( |
||
GetProcessWindowStation ( ) : |
||
GetThreadDesktop ( int dwThreadId ) : |
||
GetThreadId ( |
||
GetUserObjectInformation ( |
||
GetWindowText ( |
||
MAKELPARAM ( int p, int p_2 ) : int | ||
OpenDesktop ( string lpszDesktop, int dwFlags, bool fInherit, long dwDesiredAccess ) : |
||
OpenInputDesktop ( int dwFlags, bool fInherit, long dwDesiredAccess ) : |
||
OpenWindowStation ( string lpszWinSta, bool fInherit, ACCESS_MASK dwDesiredAccess ) : |
||
PostMessage ( |
||
SendSAS ( bool asUser ) : void | ||
SetCursorPos ( int x, int y ) : long | ||
SetProcessWindowStation ( |
||
SetThreadDesktop ( |
||
SwitchDesktop ( |
||
WTSGetActiveConsoleSessionId ( ) : int |
public Create ( string name ) : bool | ||
name | string | The name of the new desktop. Must be unique, and is case sensitive. |
Résultat | bool |
public static CreateDesktop ( string name ) : |
||
name | string | The name of the desktop to create. Names are case sensitive. |
Résultat |
public CreateProcess ( string path ) : |
||
path | string | Path to application. |
Résultat |
public static CreateProcess ( string path, string desktop ) : |
||
path | string | Path to application. |
desktop | string | Desktop name. |
Résultat |
public Dispose ( bool disposing ) : void | ||
disposing | bool | True to dispose managed resources. |
Résultat | void |
public static Exists ( string name ) : bool | ||
name | string | The name of the desktop. |
Résultat | bool |
public static Exists ( string name, bool caseInsensitive ) : bool | ||
name | string | The name of the desktop. |
caseInsensitive | bool | If the search is case INsensitive. |
Résultat | bool |
public static GetDesktopName ( |
||
desktop | Desktop object whos name is to be found. | |
Résultat | string |
public static GetDesktopName ( |
||
desktopHandle | ||
Résultat | string |
public static GetInputProcesses ( ) : System.Diagnostics.Process[] | ||
Résultat | System.Diagnostics.Process[] |
public static MakeLong ( int low, int high ) : int | ||
low | int | |
high | int | |
Résultat | int |
public Open ( string name ) : bool | ||
name | string | The name of the desktop to open. |
Résultat | bool |
public static OpenDefaultDesktop ( ) : |
||
Résultat |
public static OpenDesktop ( string name ) : |
||
name | string | The name of the desktop to open. |
Résultat |
public static OpenInputDesktop ( ) : |
||
Résultat |
public static SetCurrent ( |
||
desktop | Desktop to put the thread in. | |
Résultat | bool |
public static Show ( string name ) : bool | ||
name | string | Name of desktop to switch input to. |
Résultat | bool |
public static SimulateCtrlAltDel ( ) : bool | ||
Résultat | bool |
public static IntPtr,System HWND_BOTTOM | ||
Résultat |
public static IntPtr,System HWND_BROADCAST | ||
Résultat |
public static IntPtr,System HWND_MESSAGE | ||
Résultat |
public static IntPtr,System HWND_NOTOPMOST | ||
Résultat |
public static IntPtr,System HWND_TOPMOST | ||
Résultat |