@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The KEY_EVENT_RECORD structure is used to report keyboard input events in a console INPUT_RECORD structure. !!!!C# Definition: [StructLayout(LayoutKind.Explicit,CharSet=CharSet.Unicode)] public struct KEY_EVENT_RECORD { [FieldOffset(0),MarshalAs(UnmanagedType.Bool)] public bool bKeyDown; [FieldOffset(4),MarshalAs(UnmanagedType.U2)] public ushort wRepeatCount; [FieldOffset(6),MarshalAs(UnmanagedType.U2)] public VirtualKeys wVirtualKeyCode; [FieldOffset(8),MarshalAs(UnmanagedType.U2)] public ushort wVirtualScanCode; [FieldOffset(10)] public char UnicodeChar; [FieldOffset(12),MarshalAs(UnmanagedType.U4)] public ControlKeyState dwControlKeyState; } !!!!VB Definition: Structure KEY_EVENT_RECORD Public TODO End Structure !!!!User-Defined Field Types: None. !!!!Constants/Enums: Public Enum ControlKeyStates '/* dwControlKeyState bitmask */ RIGHT_ALT_PRESSED = &H1 LEFT_ALT_PRESSED = &H2 RIGHT_CTRL_PRESSED = &H4 LEFT_CTRL_PRESSED = &H8 SHIFT_PRESSED = &H10 NUMLOCK_ON = &H20 SCROLLLOCK_ON = &H40 CAPSLOCK_ON = &H80 ENHANCED_KEY = &H100 end enum !!!!Notes: None. Documentation: KEY_EVENT_RECORD@msdn on MSDN
Edit Structures.KEY_EV...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.