C# Class UlteriusAgent.Api.WinApi

Show file Open project: Ulterius/server

Public Properties

Property Type Description
BiBitfields uint
BiRgb uint
BiRle4 uint
BiRle8 uint
Captureblt int
DibPalColors uint
DibRgbColors uint
HWND_MESSAGE System.IntPtr
PmNoremove uint
Srccopy int
Srcpaint int
StretchHalftone int

Public Methods

Method Description
CalculateAbsoluteCoordinateX ( int x ) : int
CalculateAbsoluteCoordinateY ( int y ) : int
ClickRightMouseButton ( int x, int y ) : void
GetCursorPosition ( ) : System.Point
GetFileSizeA ( string filename ) : uint
GetText ( ) : string
LeftMouseButton ( MouseEventFlags mouseEventFlags, int x, int y ) : void
MoveMouse ( int x, int y ) : void

Private Methods

Method Description
AddClipboardFormatListener ( IntPtr hwnd ) : bool
ClientToScreen ( IntPtr hWnd, System.Point &point ) : bool
CloseClipboard ( ) : bool
CloseHandle ( IntPtr hObject ) : bool
CopyIcon ( IntPtr hIcon ) : IntPtr
CreateFile ( string lpFileName, uint dwDesiredAccess, uint dwShareMode, IntPtr lpSecurityAttributes, uint dwCreationDisposition, uint dwFlagsAndAttributes, IntPtr hTemplateFile ) : IntPtr
DestroyIcon ( IntPtr hIcon ) : bool
DeviceIoControl ( IntPtr hDevice, uint dwIoControlCode, IntPtr lpInBuffer, int nInBufferSize, IntPtr lpOutBuffer, int nOutBufferSize, uint &lpBytesReturned, IntPtr lpOverlapped ) : bool
DeviceIoControl ( IntPtr hDevice, uint dwIoControlCode, IntPtr lpInBuffer, int nInBufferSize, UsnJournalData &lpOutBuffer, int nOutBufferSize, uint &lpBytesReturned, IntPtr lpOverlapped ) : bool
FindFirstFile ( string lpFileName, Win32FindData &lpFindFileData ) : IntPtr
GetClipboardData ( uint uFormat ) : IntPtr
GetCompressedFileSizeW ( [ lpFileName, [ lpFileSizeHigh ) : uint
GetCursorInfo ( Cursorinfo &pci ) : bool
GetCursorPos ( System.Point &lpPoint ) : bool
GetDC ( IntPtr ptr ) : IntPtr
GetDesktopWindow ( ) : IntPtr
GetDiskFreeSpaceW ( [ lpRootPathName, uint &lpSectorsPerCluster, uint &lpBytesPerSector, uint &lpNumberOfFreeClusters, uint &lpTotalNumberOfClusters ) : int
GetFileInformationByHandle ( IntPtr hFile, ByHandleFileInformation &lpFileInformation ) : bool
GetIconInfo ( IntPtr hIcon, Iconinfo &piconinfo ) : bool
GetSystemMetrics ( SystemMetric smIndex ) : int
GetSystemMetrics ( int abc ) : int
GetWindowDC ( int ptr ) : IntPtr
GetWindowRect ( IntPtr hwnd, Rect &lpRect ) : int
GlobalLock ( IntPtr hMem ) : IntPtr
GlobalUnlock ( IntPtr hMem ) : bool
IsClipboardFormatAvailable ( uint format ) : bool
OpenClipboard ( IntPtr hWndNewOwner ) : bool
OpenFileById ( IntPtr hFile, FileIdDescriptor desc, uint dwDesiredAccess, int dwShareMode, int lpSecurityAttributes, int dwFlagas ) : IntPtr
ReleaseDC ( IntPtr hWnd, IntPtr hDc ) : IntPtr
SendInput ( uint nInputs, Input &pInputs, int cbSize ) : uint
SetCursorPos ( int x, int y ) : long
SetParent ( IntPtr hWndChild, IntPtr hWndNewParent ) : IntPtr
ZeroMemory ( IntPtr ptr, int size ) : void

Method Details

CalculateAbsoluteCoordinateX() public static method

public static CalculateAbsoluteCoordinateX ( int x ) : int
x int
return int

CalculateAbsoluteCoordinateY() public static method

public static CalculateAbsoluteCoordinateY ( int y ) : int
y int
return int

ClickRightMouseButton() public static method

public static ClickRightMouseButton ( int x, int y ) : void
x int
y int
return void

GetCursorPosition() public static method

public static GetCursorPosition ( ) : System.Point
return System.Point

GetFileSizeA() public static method

public static GetFileSizeA ( string filename ) : uint
filename string
return uint

GetText() public static method

public static GetText ( ) : string
return string

LeftMouseButton() public static method

public static LeftMouseButton ( MouseEventFlags mouseEventFlags, int x, int y ) : void
mouseEventFlags MouseEventFlags
x int
y int
return void

MoveMouse() public static method

public static MoveMouse ( int x, int y ) : void
x int
y int
return void

Property Details

BiBitfields public static property

public static uint BiBitfields
return uint

BiRgb public static property

public static uint BiRgb
return uint

BiRle4 public static property

public static uint BiRle4
return uint

BiRle8 public static property

public static uint BiRle8
return uint

Captureblt public static property

public static int Captureblt
return int

DibPalColors public static property

public static uint DibPalColors
return uint

DibRgbColors public static property

public static uint DibRgbColors
return uint

HWND_MESSAGE public static property

public static IntPtr,System HWND_MESSAGE
return System.IntPtr

PmNoremove public static property

public static uint PmNoremove
return uint

Srccopy public static property

public static int Srccopy
return int

Srcpaint public static property

public static int Srcpaint
return int

StretchHalftone public static property

public static int StretchHalftone
return int