C# Class TimesheetHelper.Win32

Afficher le fichier Open project: enriquein/TimesheetHelper

Méthodes publiques

Свойство Type Description
WH_KEYBOARD_LL int
WM_KEYDOWN int

Méthodes publiques

Méthode Description
GetCurrentWindowTitle ( ) : string
SetHook ( LowLevelKeyboardProc proc ) : IntPtr

Private Methods

Méthode Description
CallNextHookEx ( IntPtr hhk, int nCode, IntPtr wParam, IntPtr lParam ) : IntPtr
GetForegroundWindow ( ) : IntPtr
GetModuleHandle ( string lpModuleName ) : IntPtr
GetWindowText ( IntPtr hWnd, StringBuilder lpString, int nMaxCount ) : int
GetWindowTextLength ( IntPtr hWnd ) : int
SetWindowsHookEx ( int idHook, LowLevelKeyboardProc lpfn, IntPtr hMod, uint dwThreadId ) : IntPtr
UnhookWindowsHookEx ( IntPtr hhk ) : bool

Method Details

GetCurrentWindowTitle() public static méthode

public static GetCurrentWindowTitle ( ) : string
Résultat string

SetHook() public static méthode

public static SetHook ( LowLevelKeyboardProc proc ) : IntPtr
proc LowLevelKeyboardProc
Résultat System.IntPtr

Property Details

WH_KEYBOARD_LL public_oe static_oe property

public static int WH_KEYBOARD_LL
Résultat int

WM_KEYDOWN public_oe static_oe property

public static int WM_KEYDOWN
Résultat int