msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
KBDHWID (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_KBD
 
typedef struct _KBDHWID {    /* kbhw */
    USHORT cb;
    USHORT idKbd;
    USHORT usReserved1;
    USHORT usReserved2;
} KBDHWID;
 
The KBDHWID structure contains information that identifies keyboard
hardware.
 
Field        Description
────────────────────────────────────────────────────────────────────────────
 
cb           Specifies the size of the structure (in bytes). Programs
             written in the C language should use the sizeof operator to set
             this field.
 
idKbd        Specifies the ID number generated by the keyboard hardware.
             This field can be one of the following values:
 
             Keyboard                Value
             ───────────────────────────────────────────────────────────────
             KEYBOARD_AT_COMPATABLE  IBM PC/AT or compatible keyboard
 
             KEYBOARD_ENHANCED_101   101-key enhanced keyboard
 
             KEYBOARD_ENHANCED_102   102-key enhanced keyboard
 
             KEYBOARD_ENHANCED_122   122-key enhanced keyboard
 
             KEYBOARD_SPACESAVER     Space Saver enhanced keyboard
 
usReserved1  Specifies a reserved value.
 
usReserved2  Specifies a reserved value.
 
See Also
 
KbdGetHWID