C# Class Binarysharp.MemoryManagement.Native.NativeMethods

Static class referencing all P/Invoked functions used by the library.
Show file Open project: ZenLulz/MemorySharp

Private Methods

Method Description
CloseHandle ( IntPtr hObject ) : bool
CreateRemoteThread ( SafeMemoryHandle hProcess, IntPtr lpThreadAttributes, uint dwStackSize, IntPtr lpStartAddress, IntPtr lpParameter, ThreadCreationFlags dwCreationFlags, int &lpThreadId ) : SafeMemoryHandle
EnumChildWindows ( IntPtr hwndParent, EnumWindowsProc lpEnumFunc, IntPtr lParam ) : bool
FlashWindow ( IntPtr hwnd, bool bInvert ) : bool
FlashWindowEx ( FlashInfo &pwfi ) : bool
FreeLibrary ( IntPtr hModule ) : bool
GetClassName ( IntPtr hWnd, StringBuilder lpClassName, int nMaxCount ) : int
GetExitCodeThread ( SafeMemoryHandle hThread, IntPtr &lpExitCode ) : bool
GetForegroundWindow ( ) : IntPtr
GetProcAddress ( IntPtr hModule, string procName ) : IntPtr
GetProcessId ( SafeMemoryHandle hProcess ) : int
GetSystemMetrics ( SystemMetrics metric ) : int
GetThreadContext ( SafeMemoryHandle hThread, ThreadContext &lpContext ) : bool
GetThreadId ( SafeMemoryHandle hThread ) : int
GetThreadSelectorEntry ( SafeMemoryHandle hThread, uint dwSelector, LdtEntry &lpSelectorEntry ) : bool
GetWindowPlacement ( IntPtr hWnd, WindowPlacement &lpwndpl ) : bool
GetWindowText ( IntPtr hWnd, StringBuilder lpString, int nMaxCount ) : int
GetWindowTextLength ( IntPtr hWnd ) : int
GetWindowThreadProcessId ( IntPtr hWnd, int &lpdwProcessId ) : int
LoadLibrary ( string lpFileName ) : IntPtr
MapVirtualKey ( uint key, TranslationTypes translation ) : uint
NtQueryInformationProcess ( SafeMemoryHandle processHandle, ProcessInformationClass infoclass, ProcessBasicInformation &processinfo, int length, IntPtr bytesread ) : int
NtQueryInformationThread ( SafeMemoryHandle hwnd, uint infoclass, ThreadBasicInformation &threadinfo, int length, IntPtr bytesread ) : uint
OpenProcess ( ProcessAccessFlags dwDesiredAccess, [ bInheritHandle, int dwProcessId ) : SafeMemoryHandle
OpenThread ( ThreadAccessFlags dwDesiredAccess, [ bInheritHandle, int dwThreadId ) : SafeMemoryHandle
PostMessage ( IntPtr hWnd, uint msg, UIntPtr wParam, UIntPtr lParam ) : bool
ReadProcessMemory ( SafeMemoryHandle hProcess, IntPtr lpBaseAddress, [ lpBuffer, int dwSize, int &lpNumberOfBytesRead ) : bool
ResumeThread ( SafeMemoryHandle hThread ) : uint
SendInput ( int nInputs, Input pInputs, int cbSize ) : int
SendMessage ( IntPtr hWnd, uint msg, UIntPtr wParam, IntPtr lParam ) : IntPtr
SetForegroundWindow ( IntPtr hWnd ) : bool
SetThreadContext ( SafeMemoryHandle hThread, [ lpContext ) : bool
SetWindowPlacement ( IntPtr hWnd, [ lpwndpl ) : bool
SetWindowText ( IntPtr hwnd, string lpString ) : bool
ShowWindow ( IntPtr hWnd, WindowStates nCmdShow ) : bool
SuspendThread ( SafeMemoryHandle hThread ) : uint
TerminateThread ( SafeMemoryHandle hThread, int dwExitCode ) : bool
VirtualAllocEx ( SafeMemoryHandle hProcess, IntPtr lpAddress, int dwSize, MemoryAllocationFlags flAllocationType, MemoryProtectionFlags flProtect ) : IntPtr
VirtualFreeEx ( SafeMemoryHandle hProcess, IntPtr lpAddress, int dwSize, MemoryReleaseFlags dwFreeType ) : bool
VirtualProtectEx ( SafeMemoryHandle hProcess, IntPtr lpAddress, int dwSize, MemoryProtectionFlags flNewProtect, MemoryProtectionFlags &lpflOldProtect ) : bool
VirtualQueryEx ( SafeMemoryHandle hProcess, IntPtr lpAddress, MemoryBasicInformation &lpBuffer, int dwLength ) : int
WaitForSingleObject ( SafeMemoryHandle hHandle, uint dwMilliseconds ) : WaitValues
WriteProcessMemory ( SafeMemoryHandle hProcess, IntPtr lpBaseAddress, byte lpBuffer, int nSize, int &lpNumberOfBytesWritten ) : bool