C# Class ARKBreedingStats.Win32Stuff

Datei anzeigen Open project: cadon/ARKStatsExtractor Class Usage Examples

Public Methods

Method Description
GetSreenshotOfProcess ( String processName ) : Bitmap
GetWindowRect ( String processName ) : Rect
GrabCurrentScreen ( IntPtr hwnd ) : Bitmap
PrintWindow ( IntPtr hwnd ) : Bitmap

Private Methods

Method Description
ClientToScreen ( IntPtr hWnd, Point &lpPoint ) : bool
GetClientRect ( IntPtr hWnd, Rect &lpRect ) : bool
GetForegroundWindow ( ) : IntPtr
GetWindowRect ( IntPtr hWnd, Rect &lpRect ) : bool
PrintWindow ( IntPtr hWnd, IntPtr hdcBlt, int nFlags ) : bool
SetForegroundWindow ( IntPtr hWnd ) : int
ShowWindow ( IntPtr hWnd, int nCmdShow ) : IntPtr

Method Details

GetSreenshotOfProcess() public static method

public static GetSreenshotOfProcess ( String processName ) : Bitmap
processName String
return Bitmap

GetWindowRect() public static method

public static GetWindowRect ( String processName ) : Rect
processName String
return Rect

GrabCurrentScreen() public static method

public static GrabCurrentScreen ( IntPtr hwnd ) : Bitmap
hwnd IntPtr
return Bitmap

PrintWindow() public static method

public static PrintWindow ( IntPtr hwnd ) : Bitmap
hwnd IntPtr
return Bitmap