en:ibm:prcp:kbd:close

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:ibm:prcp:kbd:close [2014/05/13 14:22] valeriusen:ibm:prcp:kbd:close [2016/09/15 02:24] (current) valerius
Line 1: Line 1:
 ==== KbdClose ==== ==== KbdClose ====
  
-Bindings:  +Bindings: [[close#bindings|C]], [[close#MASM bindings|MASM]]
- +
-C+
-<code c> +
-#define INCL_KBD +
- +
-USHORT  rc = KbdClose(KbdHandle); +
- +
-HKBD             KbdHandle;     /* Keyboard handle */ +
- +
-USHORT           rc;            /* return code */ +
-</code> +
- +
-MASM+
-<code asm> +
-EXTRN  KbdClose:FAR +
-INCL_KBD            EQU 1 +
- +
-PUSH   WORD    KbdHandle     ;Keyboard handle +
-CALL   KbdClose +
- +
-Returns WORD +
-</code>+
  
 This call closes the existing logical keyboard identified by the keyboard handle.  This call closes the existing logical keyboard identified by the keyboard handle. 
Line 49: Line 27:
   * KbdClose Close still another logical keyboard handle.    * KbdClose Close still another logical keyboard handle. 
   * KbdFreeFocus Give up the focus on handle 0.    * KbdFreeFocus Give up the focus on handle 0. 
 +
 +=== C bindings ===
 +
 +<code c>
 +#define INCL_KBD
 +
 +USHORT  rc = KbdClose(KbdHandle);
 +
 +HKBD             KbdHandle;     /* Keyboard handle */
 +
 +USHORT           rc;            /* return code */
 +</code>
 +
 +=== MASM bindings ===
 +
 +<code asm>
 +EXTRN  KbdClose:FAR
 +INCL_KBD            EQU 1
 +
 +PUSH   WORD    KbdHandle     ;Keyboard handle
 +CALL   KbdClose
 +
 +Returns WORD
 +</code>