Managed Windows API
LowLevelKeyboardHook..::.CharCallback Delegate
NamespacesManagedWinapi.HooksLowLevelKeyboardHookLowLevelKeyboardHook..::.CharCallback
Represents a method that handles an intercepted character.
Declaration Syntax
C#
public delegate void CharCallback(
	int msg,
	string characters,
	bool deadKeyPending,
	int vkCode,
	int scancode,
	int flags,
	int time,
	IntPtr dwExtraInfo
)
Parameters
msg (Int32)
The message that caused the character. Usually Either WM_KEYDOWN or WM_SYSKEYDOWN.
characters (String)
The character(s) that have been typed, or an empty string if a non-character key (like a cursor key) has been pressed.
deadKeyPending (Boolean)
Whether a dead key is pending. If a dead key is pending, you may not call the ToUnicode method or similar methods, because they will destroy the deadkey state.
vkCode (Int32)
The virtual key code of the message that caused the character.
scancode (Int32)
The scancode of the message that caused the character.
flags (Int32)
The flags of the message that caused the character.
time (Int32)
The timestamp of the message that caused the character.
dwExtraInfo (IntPtr)
The extra info of the message that caused the character.

Assembly: ManagedWinapi (Module: ManagedWinapi) Version: 0.3.0.0 (0.3)