C# Class CSharp___DllImport.Phone.TaskManager

Show file Open project: windowsphonehacker/wph-tweaks

Public Methods

Method Description
AllProcesses ( ) : WP7Process[]
DumpEnumWindowsToConsole ( ) : void
GentlyExitCurrentProcess ( ) : int
GetAllRunningSilverligt_XNA ( ) : WindowPointer[]
GetCurrentProcessId ( ) : long
GetEnumWindows ( bool onlyWithTitle, bool onlyIsWindow = true ) : WindowPointer[]
GetFocusHWND ( ) : long
Named ( string exeWithoutExtension ) : WP7Process[]
SetForegroundWindow ( int hwnd ) : int
ShowWindow ( int hwnd, int SW_Command ) : int
TaskSwitch_SwitchTo ( int hwnd ) : void

Private Methods

Method Description
CurrentProcess ( ) : WP7Process

Method Details

AllProcesses() public static method

public static AllProcesses ( ) : WP7Process[]
return WP7Process[]

DumpEnumWindowsToConsole() public static method

public static DumpEnumWindowsToConsole ( ) : void
return void

GentlyExitCurrentProcess() public static method

public static GentlyExitCurrentProcess ( ) : int
return int

GetAllRunningSilverligt_XNA() public static method

public static GetAllRunningSilverligt_XNA ( ) : WindowPointer[]
return WindowPointer[]

GetCurrentProcessId() public static method

public static GetCurrentProcessId ( ) : long
return long

GetEnumWindows() public static method

public static GetEnumWindows ( bool onlyWithTitle, bool onlyIsWindow = true ) : WindowPointer[]
onlyWithTitle bool Prevents of finding certain windows that actualy are windows but with no title.
onlyIsWindow bool
return WindowPointer[]

GetFocusHWND() public static method

public static GetFocusHWND ( ) : long
return long

Named() public static method

public static Named ( string exeWithoutExtension ) : WP7Process[]
exeWithoutExtension string
return WP7Process[]

SetForegroundWindow() public static method

public static SetForegroundWindow ( int hwnd ) : int
hwnd int
return int

ShowWindow() public static method

public static ShowWindow ( int hwnd, int SW_Command ) : int
hwnd int
SW_Command int
return int

TaskSwitch_SwitchTo() public static method

public static TaskSwitch_SwitchTo ( int hwnd ) : void
hwnd int
return void