Inquire

  int Inquire(lpKBInfo)    
  LPKBINFO lpKBInfo;    

The Inquire function fills the KBINFO structure with information about the keyboard hardware.

Parameters

lpKBInfo

Points to the KBINFO structure to receive the keyboard information. The structure has the following form:

typedef struct tagKBINFO {

BYTE Begin_First_range; /* used for KANJI */

BYTE End_First_range; /* used for KANJI */

BYTE Begin_Second_range; /* used for KANJI */

BYTE End_Second_range; /* used for KANJI */

int StateSize; /* size of ToAscii state block*/

} KBINFO;

Return Value

The return value is the number of bytes copied to the KBINFO structure.

Comments

The export ordinal for this function is 1.