typedef struct _STRINGINBUF { /* kbsi */
USHORT cb; /* input buffer length */
USHORT cchIn; /* received input length */
} STRINGINBUF;
#define INCL_KBD
USHORT rc = KbdStringIn(CharBuffer, Length, IOWait, KbdHandle);
PCH CharBuffer; /* Char string buffer */
PSTRINGINBUF Length; /* Length table */
USHORT IOWait; /* Indicate if wait for char */
HKBD KbdHandle; /* Keyboard handle */
USHORT rc; /* return code */