en:ibm:prcp:kbd

This is an old revision of the document!


Keyboard Function Calls

This section reflects the Keyboard API interface of OS/2 only.

For information regarding the keyboard IOCTL interface and keyboard monitor refer to IBM Operating System/2 Version 1.2 I/O Subsystems And Device Support Volume 1.

Notes:

  1. Calls marked xPM are not supported by Presentation Manager, and must not be used by Presentation Manager applications. An error code is returned if any of these calls are issued.
  2. Calls marked xWPM are not windowable and are not supported by Presentation Manager. They can be used in OS/2 mode.
  3. Calls marked FAPI are present in the Family API.
FUNCTION CALL ICON Description
KbdCharIn FAPI xPM This call returns a character data
record from the keyboard.
KbdClose xPM This call closes the existing logical
keyboard identified by the keyboard handle.
KbdDeRegister xWPM This call deregisters a keyboard
subsystem previously registered within a session.
KbdFlushBuffer FAPI xPM
KbdFreeFocus xPM
KbdGetCp xPM
KbdGetFocus xPM
KbdGetStatus FAPI xPM
KbdOpen xPM
KbdPeek FAPI xPM
KbdRegister xWPM
KbdSetCp xPM
KbdSetCustXt xPM
KbdSetFgnd xPM
KbdSetStatus FAPI xPM
KbdStringIn FAPI xPM
KbdSynch xWPM
KbdXlate xPM