Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:ibm:prcp:kbd [2014/05/13 13:29] – valerius | en:ibm:prcp:kbd [2014/05/13 14:53] (current) – valerius |
---|
==== Keyboard Function Calls ==== | ===== Keyboard Function Calls ===== |
| |
This section reflects the Keyboard API interface of OS/2 only. | This section reflects the Keyboard API interface of OS/2 only. |
- Calls marked FAPI are present in the Family API. | - Calls marked FAPI are present in the Family API. |
| |
^FUNCTION CALL ^ICON ^ | ^FUNCTION CALL ^ICON ^Description ^ |
|[[en:ibm:prcp:kbd:charin|KbdCharIn]] |FAPI xPM | | |[[en:ibm:prcp:kbd:charin|KbdCharIn]] |FAPI xPM |This call returns a character data \\ record from the keyboard. | |
|[[en:ibm:prcp:kbd:close|KbdClose]] |xPM | | |[[en:ibm:prcp:kbd:close|KbdClose]] |xPM |This call closes the existing logical \\ keyboard identified by the keyboard handle. | |
|[[en:ibm:prcp:kbd:dereg|KbdDeRegister]] |xWPM | | |[[en:ibm:prcp:kbd:dereg|KbdDeRegister]] |xWPM |This call deregisters a keyboard \\ subsystem previously registered within a session. | |
|[[en:ibm:prcp:kbd:flushbuf|KbdFlushBuffer]] |FAPI xPM | | |[[en:ibm:prcp:kbd:flushbuf|KbdFlushBuffer]] |FAPI xPM |This call clears the keystroke buffer. | |
|[[en:ibm:prcp:kbd:freefocus|KbdFreeFocus]] |xPM | | |[[en:ibm:prcp:kbd:freefocus|KbdFreeFocus]] |xPM |This call frees the \\ logical-to-physical keyboard bond \\ created by KbdGetFocus | |
|[[en:ibm:prcp:kbd:getcp|KbdGetCp]] |xPM | | |[[en:ibm:prcp:kbd:getcp|KbdGetCp]] |xPM |This call allows a process to query the \\ code page being used to translate \\ scan codes to ASCII characters. | |
|[[en:ibm:prcp:kbd:getfocus|KbdGetFocus]] |xPM | | |[[en:ibm:prcp:kbd:getfocus|KbdGetFocus]] |xPM |This call binds the logical keyboard \\ to the physical keyboard. | |
|[[en:ibm:prcp:kbd:getstatus|KbdGetStatus]] |FAPI xPM | | |[[en:ibm:prcp:kbd:gethwid|KbdGetHWId]] |xPM |Returns the attached keyboard's \\ hardware-generated Identification value. | |
|[[en:ibm:prcp:kbd:open|KbdOpen]] |xPM | | |[[en:ibm:prcp:kbd:getstatus|KbdGetStatus]] |FAPI xPM |This call gets the current state of the keyboard | |
|[[en:ibm:prcp:kbd:peek|KbdPeek]] |FAPI xPM | | |[[en:ibm:prcp:kbd:open|KbdOpen]] |xPM |This call creates a new logical keyboard. | |
|[[en:ibm:prcp:kbd:reg|KbdRegister]] |xWPM | | |[[en:ibm:prcp:kbd:peek|KbdPeek]] |FAPI xPM |This call returns any available \\ character data record from the keyboard \\ without removing it from the buffer. | |
|[[en:ibm:prcp:kbd:setcp|KbdSetCp]] |xPM | | |[[en:ibm:prcp:kbd:reg|KbdRegister]] |xWPM |This call registers a keyboard \\ subsystem within a session. | |
|[[en:ibm:prcp:kbd:setcustxt|KbdSetCustXt]] |xPM | | |[[en:ibm:prcp:kbd:setcp|KbdSetCp]] |xPM |This call allows the process to set \\ the code page used to translate key \\ strokes received from the keyboard. | |
|[[en:ibm:prcp:kbd:setfgnd|KbdSetFgnd]] |xPM | | |[[en:ibm:prcp:kbd:setcustxt|KbdSetCustXt]] |xPM |This call installs, on the specified handle, \\ the translate table which this \\ call points to. This translate table \\ affects only this handle. | |
|[[en:ibm:prcp:kbd:setstatus|KbdSetStatus]] |FAPI xPM | | |[[en:ibm:prcp:kbd:setfgnd|KbdSetFgnd]] |xPM |This call raises the priority of the foreground \\ keyboard's thread. | |
|[[en:ibm:prcp:kbd:strin|KbdStringIn]] |FAPI xPM | | |[[en:ibm:prcp:kbd:setstatus|KbdSetStatus]] |FAPI xPM |This call sets the characteristics \\ of the keyboard. | |
|[[en:ibm:prcp:kbd:synch|KbdSynch]] |xWPM | | |[[en:ibm:prcp:kbd:strin|KbdStringIn]] |FAPI xPM |This call reads a character string \\ (character codes only) \\ from the keyboard. | |
|[[en:ibm:prcp:kbd:xlat|KbdXlate]] |xPM | | |[[en:ibm:prcp:kbd:synch|KbdSynch]] |xWPM |This call synchronizes access from a \\ keyboard subsystem to the keyboard \\ device driver. | |
| |[[en:ibm:prcp:kbd:xlat|KbdXlate]] |xPM |This call translates scan codes with shift \\ states into ASCII codes. | |
| |