Returns the type of keyboard in use. The hardware ID specifies the type of keyboard attached and is defined by the manufacturer.

#define INCL_KBD
#include <os2.h>

PKBDHWID    pkbdhwid;  /*  Pointer to hardware ID. */
HKBD        hkbd;      /*  Reserved.  Must be 0. */
APIRET      return;    /*  Return code. */

return = KbdGetHWID(pkbdhwid, hkbd);


[Back] [Next]