// ntdd8042.h
typedef enum _KEYBOARD_SCAN_STATE {
Normal,
GotE0,
GotE1
} KEYBOARD_SCAN_STATE, *PKEYBOARD_SCAN_STATE;
View the official Windows Driver Kit DDI referenceNo description available.
The KEYBOARD_SCAN_STATE enumeration type indicates the scan state of an input byte from a keyboard.
NormalIndicates that the current byte is a Normal scan code (a nonextended code).
GotE0Indicates that the current byte is an E0 extended scan code.
GotE1Indicates that the current byte is an E1 extended scan code.
This enumeration type is used as input to an optional KbFilter_IsrHook routine, which can be supplied by a vendor-supplied keyboard filter driver.