C# Класс OpenTween.Win32Api

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

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

Метод Описание
ClickTasktrayIcon ( string tooltip ) : bool
FlashMyWindow ( IntPtr hwnd, FlashSpecification flashType, int flashCount ) : bool
GetPreviousProcess ( ) : Process
IsScreenSaverRunning ( ) : bool
RegisterGlobalHotKey ( int hotkeyValue, int modifiers, Form targetForm ) : int
SetProxy ( HttpConnection pType, string host, int port, string username, string password ) : void
UnregisterGlobalHotKey ( ushort hotkeyID, Form targetForm ) : void
WakeupWindow ( IntPtr hWnd ) : void

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

Метод Описание
CloseHandle ( IntPtr hHandle ) : bool
FindWindow ( [ lpClassName, [ lpWindowName ) : IntPtr
FindWindowEx ( IntPtr hWnd1, IntPtr hWnd2, [ lpsz1, [ lpsz2 ) : IntPtr
FlashWindowEx ( FLASHWINFO &FWInfo ) : bool
GetWindowThreadProcessId ( IntPtr hwnd, int &lpdwProcessId ) : int
GlobalAddAtom ( [ lpString ) : ushort
GlobalDeleteAtom ( ushort nAtom ) : ushort
InternetSetOption ( IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength ) : bool
IsIconic ( IntPtr hWnd ) : bool
OpenProcess ( ProcessAccess dwDesiredAccess, [ bInheritHandle, int dwProcessId ) : IntPtr
PostMessage ( IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam ) : bool
ReadProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, IntPtr lpBuffer, IntPtr nSize, int &lpNumberOfBytesRead ) : bool
RefreshProxyAccount ( string username, string password ) : void
RefreshProxySettings ( string strProxy ) : void
RegisterHotKey ( IntPtr hwnd, int id, int fsModifiers, int vk ) : int
SendMessage ( IntPtr hwnd, int wMsg, IntPtr wParam, IntPtr lParam ) : IntPtr
SetForegroundWindow ( IntPtr hWnd ) : bool
ShowWindowAsync ( IntPtr hWnd, int nCmdShow ) : bool
SystemParametersInfo ( int intAction, int intParam, bool &bParam, int intWinIniFlag ) : int
UnregisterHotKey ( IntPtr hwnd, int id ) : int
VirtualAllocEx ( IntPtr hProcess, IntPtr lpAddress, IntPtr dwSize, AllocationTypes flAllocationType, MemoryProtectionTypes flProtect ) : IntPtr
VirtualFreeEx ( IntPtr hProcess, IntPtr lpAddress, IntPtr dwSize, MemoryFreeTypes dwFreeType ) : bool
WriteProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, TBBUTTONINFO &lpBuffer, IntPtr nSize, int &lpNumberOfBytesWritten ) : bool

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

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

public static ClickTasktrayIcon ( string tooltip ) : bool
tooltip string
Результат bool

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

public static FlashMyWindow ( IntPtr hwnd, FlashSpecification flashType, int flashCount ) : bool
hwnd System.IntPtr
flashType FlashSpecification
flashCount int
Результат bool

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

public static GetPreviousProcess ( ) : Process
Результат System.Diagnostics.Process

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

public static IsScreenSaverRunning ( ) : bool
Результат bool

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

public static RegisterGlobalHotKey ( int hotkeyValue, int modifiers, Form targetForm ) : int
hotkeyValue int
modifiers int
targetForm System.Windows.Forms.Form
Результат int

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

public static SetProxy ( HttpConnection pType, string host, int port, string username, string password ) : void
pType HttpConnection
host string
port int
username string
password string
Результат void

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

public static UnregisterGlobalHotKey ( ushort hotkeyID, Form targetForm ) : void
hotkeyID ushort
targetForm System.Windows.Forms.Form
Результат void

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

public static WakeupWindow ( IntPtr hWnd ) : void
hWnd System.IntPtr
Результат void