Returns the attached keyboard's hardware-generated Identification value.
KbdGetHWId
KeyboardID (PKBDHWID) - input
length (USHORT) - input/output
ID
In past OS/2 releases, all keyboards could be supported by knowing the hardware family information available with keyboard IOCTL 77H. However, with the addition of the 122-key keyboard, recognition was not containable by hardware family information alone. The 122-key keyboard has a number of differences from other keyboards. Therefore, applications performing keystroke specific functions may need to determine specifically which keyboard is attached.
This function is of particular usefulness for applications providing Custom Translate Tables and mapping keyboard layouts.