C# Класс AdvancedLauncher.Tools.NativeMethods

Native Wind32 methods
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateFileMapping ( PAGE pageProtect, SEC secProtect, uint dwMaximumSizeHigh, uint dwMaximumSizeLow, string lpName ) : IntPtr
GetClassName ( HWND hwnd, StringBuilder lpClassName ) : int
GetWindowLongPtr ( HWND hwnd, GWL nIndex ) : IntPtr
SetWindowLongPtr ( HWND hwnd, GWL nIndex, IntPtr dwNewLong ) : IntPtr

Приватные методы

Метод Описание
AdjustWindowRectEx ( RECT &lpRect, WS style, bool bMenu, WS_EX exStyle ) : bool
BitBlt ( IntPtr hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, ROP dwRop ) : bool
CallWindowProc ( WNDPROC lpPrevWndFunc, HWND hWnd, int Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
ClientToScreen ( HWND hwnd, POINT &lpPoint ) : bool
CloseHandle ( IntPtr hObject ) : bool
CreateCompatibleBitmap ( IntPtr hdc, int width, int height ) : IntPtr
CreateCompatibleDC ( IntPtr hdc ) : IntPtr
CreateDIBSection ( IntPtr hdc, [ pbmi, DIB iUsage, IntPtr &ppvBits, IntPtr hSection, uint dwOffset ) : IntPtr
CreateWindowEx ( WS_EX dwExStyle, string lpClassName, string lpWindowName, WS dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, IntPtr hMenu, IntPtr hInstance, IntPtr lpParam ) : HWND
DefSubclassProc ( HWND hwnd, WM msg, IntPtr wParam, IntPtr lParam ) : IntPtr
DefWindowProc ( HWND hWnd, WM Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
DeleteObject ( IntPtr hObject ) : bool
DestroyWindow ( HWND hwnd ) : bool
DwmIsCompositionEnabled ( bool &pfEnabled ) : int
EnableMenuItem ( IntPtr hMenu, int wIDEnableItem, int wEnable ) : int
GdiFlush ( ) : bool
GetAncestor ( HWND hwnd, System.GA gaFlags ) : HWND
GetCapture ( ) : HWND
GetClassInfoEx ( IntPtr hinst, string lpszClass, WNDCLASSEX &lpwcx ) : bool
GetClientRect ( HWND hwnd, RECT &lpRect ) : bool
GetCurrentProcessId ( ) : int
GetCurrentThreadId ( ) : int
GetDC ( HWND hWnd ) : IntPtr
GetDesktopWindow ( ) : HWND
GetFocus ( ) : HWND
GetMessagePos ( ) : uint
GetModuleHandle ( string modName ) : IntPtr
GetParent ( HWND hwnd ) : HWND
GetStockObject ( int stockObject ) : IntPtr
GetSystemMenu ( IntPtr hWnd, bool bRevert ) : IntPtr
GetWindowLong ( HWND hwnd, GWL nIndex ) : int
GetWindowRect ( HWND hwnd, RECT &lpRect ) : bool
GetWindowSubclass ( HWND hWnd, SUBCLASSPROC pfnSubclass, IntPtr uIdSubclass, IntPtr &pdwRefData ) : bool
GetWindowThreadProcessId ( HWND hWnd, int &processId ) : int
IsChild ( HWND hWndParent, HWND hwnd ) : bool
IsIconic ( IntPtr hWnd ) : bool
MapViewOfFile ( IntPtr hFileMappingObject, uint dwDesiredAccess, uint dwFileOffsetHigh, uint dwFileOffsetLow, uint dwNumberOfBytesToMap ) : IntPtr
MulDiv ( int nNumber, int nNumerator, int nDenominator ) : int
NtQueryInformationProcess ( IntPtr processHandle, int processInformationClass, ParentProcessUtilities &processInformation, int processInformationLength, int &returnLength ) : int
PostMessage ( HWND hwnd, WM msg, IntPtr wParam, IntPtr lParam ) : IntPtr
QueryIdleProcessorCycleTime ( int &bufferLength, System.Int64 processorIdleCycleTime ) : bool
QueryProcessCycleTime ( IntPtr processHandle, System.Int64 &processCycleTime ) : bool
RedrawWindow ( HWND hwnd, IntPtr lprcUpdate, IntPtr hrgnUpdate, RDW flags ) : bool
RegisterClassEx ( [ wcex ) : short
RegisterWindowMessage ( string messageName ) : WM
ReleaseDC ( HWND hWnd, IntPtr hDC ) : bool
RemoveWindowSubclass ( HWND hwnd, SUBCLASSPROC callback, IntPtr id ) : bool
ScreenToClient ( HWND hwnd, POINT &lpPoint ) : bool
SelectObject ( IntPtr hdc, IntPtr hgdiobj ) : IntPtr
SendMessage ( HWND hwnd, WM msg, IntPtr wParam, IntPtr lParam ) : IntPtr
SetForegroundWindow ( IntPtr hWnd ) : bool
SetLayeredWindowAttributes ( HWND hwnd, uint crKey, byte bAlpha, LWA dwFlags ) : bool
SetParent ( HWND hwndChild, HWND hwndNewParent ) : HWND
SetWindowLong ( HWND hwnd, GWL nIndex, int dwNewLong ) : int
SetWindowPos ( HWND hwnd, HWND hWndInsertAfter, int X, int Y, int cx, int cy, SWP uFlags ) : bool
SetWindowSubclass ( HWND hwnd, SUBCLASSPROC callback, IntPtr id, IntPtr data ) : bool
ShowWindow ( HWND hWnd, SW nCmdShow ) : bool
ShowWindowAsync ( IntPtr hWnd, int nCmdShow ) : bool
StrongNameSignatureVerificationEx ( [ wszFilePath, [ fForceVerification, [ pfWasVerified ) : bool
UnmapViewOfFile ( IntPtr lpBaseAddress ) : bool
UnregisterClass ( string lpClassName, IntPtr hInstance ) : bool
_CreateFileMapping ( IntPtr hFile, IntPtr lpFileMappingAttributes, int flProtect, uint dwMaximumSizeHigh, uint dwMaximumSizeLow, string lpName ) : IntPtr
_GetClassName ( HWND hWnd, StringBuilder lpClassName, int nMaxCount ) : int
_GetWindowLongPtr ( HWND hwnd, GWL nIndex ) : IntPtr
_SetWindowLongPtr ( HWND hwnd, GWL nIndex, IntPtr dwNewLong ) : IntPtr

Описание методов

CreateFileMapping() публичный статический Метод

public static CreateFileMapping ( PAGE pageProtect, SEC secProtect, uint dwMaximumSizeHigh, uint dwMaximumSizeLow, string lpName ) : IntPtr
pageProtect PAGE
secProtect SEC
dwMaximumSizeHigh uint
dwMaximumSizeLow uint
lpName string
Результат System.IntPtr

GetClassName() публичный статический Метод

public static GetClassName ( HWND hwnd, StringBuilder lpClassName ) : int
hwnd AdvancedLauncher.Tools.Win32.User32.HWND
lpClassName StringBuilder
Результат int

GetWindowLongPtr() публичный статический Метод

public static GetWindowLongPtr ( HWND hwnd, GWL nIndex ) : IntPtr
hwnd AdvancedLauncher.Tools.Win32.User32.HWND
nIndex GWL
Результат System.IntPtr

SetWindowLongPtr() публичный статический Метод

public static SetWindowLongPtr ( HWND hwnd, GWL nIndex, IntPtr dwNewLong ) : IntPtr
hwnd AdvancedLauncher.Tools.Win32.User32.HWND
nIndex GWL
dwNewLong System.IntPtr
Результат System.IntPtr