Gets a string of keyboard input.

#define INCL_KBD
#include <os2.h>

PCH             pch;    /*  Pointer to the character string buffer. */
PSTRINGINBUF    pchin;  /*  Pointer to buffer-length data. */
ULONG           Flag;   /*  Wait flag. */
HKBD            hkbd;   /*  Reserved.  Must be 0. */
APIRET          rc;     /*  Return code. */

rc = KbdStringIn(pch, pchin, Flag, hkbd);


[Back] [Next]