C# 클래스 ShootBlues.Win32

파일 보기 프로젝트 열기: kg/shootblues 1 사용 예제들

공개 메소드들

메소드 설명
AdjustProcessPrivilege ( int processId, string privilegeName, bool privilegeStatus ) : void
FindProcessWindow ( int processId, string className, string windowName ) : IntPtr
GetWindowClassString ( IntPtr hWnd ) : string
GetWindowTextString ( IntPtr hWnd ) : string
OpenProcessHandle ( ProcessAccessFlags desiredAccess, bool inheritHandle, int processId ) : SafeProcessHandle

비공개 메소드들

메소드 설명
AdjustTokenPrivileges ( IntPtr tokenHandle, [ disableAllPrivileges, TokenPrivileges &newState, UInt32 pOldStateMaxLength, IntPtr pOldState, IntPtr pOldStateLength ) : bool
ChangeWindowMessageFilter ( int message, MessageFilterFlag dwFlag ) : bool
ChangeWindowMessageFilterEx ( IntPtr hWnd, int message, MessageFilterFlag dwFlag, IntPtr pChangeFilterStruct ) : bool
CloseHandle ( IntPtr hObject ) : bool
CreateRemoteThread ( IntPtr hProcess, IntPtr lpThreadAttributes, uint dwStackSize, UInt32 lpStartAddress, IntPtr lpParameter, uint dwCreationFlags, UInt32 &lpThreadId ) : IntPtr
EnumWindows ( EnumWindowsProc lpEnumFunc, IntPtr lParam ) : bool
FindWindow ( string lpClassName, string lpWindowName ) : IntPtr
FreeLibrary ( IntPtr hModule ) : bool
GetClassName ( IntPtr hWnd, StringBuilder lpString, int nMaxCount ) : int
GetClientRect ( IntPtr hWnd, Rect &lpRect ) : bool
GetExitCodeThread ( IntPtr hThread, Int32 &exitCode ) : bool
GetLastError ( ) : Int32
GetProcAddress ( IntPtr hModule, string procName ) : UInt32
GetWindowText ( IntPtr hWnd, StringBuilder lpString, int nMaxCount ) : int
GetWindowTextLength ( IntPtr hWnd ) : int
GetWindowThreadProcessId ( IntPtr hWnd, int &lpdwProcessId ) : UInt32
LoadLibrary ( string lpFileName ) : IntPtr
LookupPrivilegeValue ( string lpSystemName, string lpName, System.UInt64 &lpLuid ) : bool
OpenProcess ( ProcessAccessFlags dwDesiredAccess, [ bInheritHandle, int dwProcessId ) : IntPtr
OpenProcessToken ( IntPtr processHandle, [ desiredAccess, IntPtr &tokenHandle ) : bool
OpenThread ( ThreadAccessFlags dwDesiredAccess, bool bInheritHandle, int dwThreadId ) : IntPtr
PostMessage ( IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam ) : bool
PostThreadMessage ( UInt32 threadId, int Msg, IntPtr wParam, UInt32 lParam ) : bool
PrintWindow ( IntPtr hwnd, IntPtr hDC, uint nFlags ) : bool
ReadProcessMemory ( IntPtr hProcess, UInt32 lpBaseAddress, IntPtr lpDest, uint nSize, int &lpNumberOfBytesRead ) : int
RegisterWindowMessage ( string lpString ) : int
ResumeThread ( IntPtr hThread ) : int
SendMessage ( IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam ) : UInt32
SuspendThread ( IntPtr hThread ) : uint
VirtualAllocEx ( IntPtr hProcess, IntPtr lpAddress, uint dwSize, AllocationType flAllocationType, MemoryProtection flProtect ) : IntPtr
VirtualFreeEx ( IntPtr hProcess, IntPtr lpAddress, uint dwSize, FreeType dwFreeType ) : int
VirtualProtectEx ( IntPtr hProcess, UInt32 lpAddress, uint dwSize, MemoryProtection flNewProtect, MemoryProtection &flOldProtect ) : int
VkKeyScan ( short wchar ) : short
WriteProcessMemory ( IntPtr hProcess, UInt32 lpBaseAddress, IntPtr lpSrc, uint nSize, int &lpNumberOfBytesWritten ) : int

메소드 상세

AdjustProcessPrivilege() 공개 정적인 메소드

public static AdjustProcessPrivilege ( int processId, string privilegeName, bool privilegeStatus ) : void
processId int
privilegeName string
privilegeStatus bool
리턴 void

FindProcessWindow() 공개 정적인 메소드

public static FindProcessWindow ( int processId, string className, string windowName ) : IntPtr
processId int
className string
windowName string
리턴 System.IntPtr

GetWindowClassString() 공개 정적인 메소드

public static GetWindowClassString ( IntPtr hWnd ) : string
hWnd System.IntPtr
리턴 string

GetWindowTextString() 공개 정적인 메소드

public static GetWindowTextString ( IntPtr hWnd ) : string
hWnd System.IntPtr
리턴 string

OpenProcessHandle() 공개 정적인 메소드

public static OpenProcessHandle ( ProcessAccessFlags desiredAccess, bool inheritHandle, int processId ) : SafeProcessHandle
desiredAccess ProcessAccessFlags
inheritHandle bool
processId int
리턴 SafeProcessHandle