/* * ntddkbd.h * * Keyboard IOCTL interface * * This file is part of the MinGW package. * * Contributors: * Created by Casper S. Hornstrup * * THIS SOFTWARE IS NOT COPYRIGHTED * * This source code is offered for use in the public domain. You may * use, modify or distribute it freely. * * This code is distributed in the hope that it will be useful but * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY * DISCLAMED. This includes but is not limited to warranties of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * */ #ifndef __NTDDKBD_H #define __NTDDKBD_H #if __GNUC__ >=3 #pragma GCC system_header #endif #ifdef __cplusplus extern "C" { #endif #pragma pack(push,4) typedef struct _KEYBOARD_INPUT_DATA { // // Unit number. E.g., for \Device\KeyboardPort0 the unit is '0', // for \Device\KeyboardPort1 the unit is '1', and so on. // USHORT UnitId; USHORT MakeCode; USHORT Flags; USHORT Reserved; ULONG ExtraInformation; } KEYBOARD_INPUT_DATA, *PKEYBOARD_INPUT_DATA; #pragma pack(pop) #ifdef __cplusplus } #endif #endif /* __NTDDKBD_H */