C# Class Rooler.NativeMethods

Mostrar archivo Open project: peteblois/rooler

Public Methods

Method Description
ClientToScreen ( FrameworkElement element, Point point ) : IntPoint
ClientToScreen ( FrameworkElement element, Rect rect ) : IntRect
CreateDC ( string strDriver, string strDevice, string strOutput, IntPtr pData ) : DC
GetCursorPos ( ) : IntPoint
ScreenToClient ( FrameworkElement element, IntPoint point ) : Point
ScreenToClient ( FrameworkElement element, IntRect rect ) : Rect
SetCursorPos ( IntPoint point ) : void

Private Methods

Method Description
BitBlt ( IntPtr hDC, int x, int y, int nWidth, int nHeight, IntPtr hSrcDC, int xSrc, int ySrc, int dwRop ) : bool
ClientToScreen ( IntPtr hWnd, Win32Point &lpPoint ) : bool
CreateCompatibleBitmap ( IntPtr hdc, int nWidth, int nHeight ) : IntPtr
CreateCompatibleDC ( IntPtr hdc ) : IntPtr
CreateDCNative ( string strDriver, string strDevice, string strOutput, IntPtr pData ) : IntPtr
DeleteDC ( IntPtr hdc ) : bool
DeleteObject ( IntPtr hgdiobj ) : bool
GetCursorPos ( Win32Point &pt ) : int
ScreenToClient ( IntPtr hWnd, Win32Point &lpPoint ) : bool
SelectObject ( IntPtr hdc, IntPtr hgdiobj ) : IntPtr
SetCursorPos ( int X, int Y ) : bool

Method Details

ClientToScreen() public static method

public static ClientToScreen ( FrameworkElement element, Point point ) : IntPoint
element System.Windows.FrameworkElement
point Point
return IntPoint

ClientToScreen() public static method

public static ClientToScreen ( FrameworkElement element, Rect rect ) : IntRect
element System.Windows.FrameworkElement
rect System.Windows.Rect
return IntRect

CreateDC() public static method

public static CreateDC ( string strDriver, string strDevice, string strOutput, IntPtr pData ) : DC
strDriver string
strDevice string
strOutput string
pData System.IntPtr
return DC

GetCursorPos() public static method

public static GetCursorPos ( ) : IntPoint
return IntPoint

ScreenToClient() public static method

public static ScreenToClient ( FrameworkElement element, IntPoint point ) : Point
element System.Windows.FrameworkElement
point IntPoint
return Point

ScreenToClient() public static method

public static ScreenToClient ( FrameworkElement element, IntRect rect ) : Rect
element System.Windows.FrameworkElement
rect IntRect
return System.Windows.Rect

SetCursorPos() public static method

public static SetCursorPos ( IntPoint point ) : void
point IntPoint
return void