en:ibm:prcp:kbd:freefocus

Differences

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

Link to this comparison view

en:ibm:prcp:kbd:freefocus [2014/05/13 14:29] – created valeriusen:ibm:prcp:kbd:freefocus [2016/09/15 02:32] (current) valerius
Line 1: Line 1:
 ==== KbdFreeFocus ==== ==== KbdFreeFocus ====
  
-**Bindings**:  +**Bindings**: [[freefocus#bindings|C]], [[freefocus#MASM bindings|MASM]]
- +
-C+
-<code c> +
-#define INCL_KBD +
- +
-USHORT  rc = KbdFreeFocus(KbdHandle); +
- +
-HKBD             KbdHandle;     /* Keyboard handle */ +
- +
-USHORT           rc;            /* return code */ +
-</code> +
- +
-MASM+
-<code asm> +
-EXTRN  KbdFreeFocus:FAR +
-INCL_KBD            EQU 1 +
- +
-PUSH   WORD    KbdHandle     ;Keyboard handle +
-CALL   KbdFreeFocus +
- +
-Returns WORD +
-</code>+
  
 This call frees the logical-to-physical keyboard bond created by //[[en:ibm:prcp:kbd:getfocus|KbdGetFocus]]// This call frees the logical-to-physical keyboard bond created by //[[en:ibm:prcp:kbd:getfocus|KbdGetFocus]]//
Line 44: Line 22:
  
 //KbdFreeFocus// may be replaced by issuing //[[en:ibm:prcp:kbd:reg|KbdRegister]]//. Unlike other keyboard subsystem functions, the replaced //KbdFreeFocus// is called only if there is an outstanding focus.  //KbdFreeFocus// may be replaced by issuing //[[en:ibm:prcp:kbd:reg|KbdRegister]]//. Unlike other keyboard subsystem functions, the replaced //KbdFreeFocus// is called only if there is an outstanding focus. 
 +
 +=== C bindings ===
 +
 +<code c>
 +#define INCL_KBD
 +
 +USHORT  rc = KbdFreeFocus(KbdHandle);
 +
 +HKBD             KbdHandle;     /* Keyboard handle */
 +
 +USHORT           rc;            /* return code */
 +</code>
 +
 +=== MASM bindings ===
 +
 +<code asm>
 +EXTRN  KbdFreeFocus:FAR
 +INCL_KBD            EQU 1
 +
 +PUSH   WORD    KbdHandle     ;Keyboard handle
 +CALL   KbdFreeFocus
 +
 +Returns WORD
 +</code>