en:docs:fapi:kbdfreefocus

Differences

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

Link to this comparison view

Next revision
Previous revision
en:docs:fapi:kbdfreefocus [2021/10/06 11:59] – created prokusheven:docs:fapi:kbdfreefocus [2021/11/04 13:26] (current) prokushev
Line 1: Line 1:
 +{{page>en:templates:fapiint}}
 +
 +====== KbdFreeFocus ======
 +
 This call frees the logical-to-physical keyboard bond created by [[KbdGetFocus]]. This call frees the logical-to-physical keyboard bond created by [[KbdGetFocus]].
  
-==Syntax==+===== Syntax ===== 
 +<code c>
  KbdFreeFocus (KbdHandle)  KbdFreeFocus (KbdHandle)
 +</code>
  
-==Parameters== +===== Parameters =====
-;KbdHandle (HKBD) - input: Default keyboard or the logical keyboard.+
  
-==Return Code== +  * KbdHandle (HKBD) - input: Default keyboard or the logical keyboard. 
-;rc (USHORT) - return:Return code descriptions are: + 
-::0 NO_ERROR +===== Return Code ===== 
-::439 ERROR_KBD_INVALID_HANDLE + 
-::445 ERROR_KBD_FOCUS_REQUIRED +rc (USHORT) - return:Return code descriptions are: 
-::464 ERROR_KBD_DETACHED + 
-::504 ERROR_KBD_EXTENDED_SG+  * 0 NO_ERROR 
 +  439 ERROR_KBD_INVALID_HANDLE 
 +  445 ERROR_KBD_FOCUS_REQUIRED 
 +  464 ERROR_KBD_DETACHED 
 +  504 ERROR_KBD_EXTENDED_SG 
 + 
 +===== Remarks =====
  
-==Remarks== 
 KbdFreeFocus may be replaced by issuing [[KbdRegister]]. Unlike other keyboard subsystem functions, the replaced KbdFreeFocus is called only if there is an outstanding focus. KbdFreeFocus may be replaced by issuing [[KbdRegister]]. Unlike other keyboard subsystem functions, the replaced KbdFreeFocus is called only if there is an outstanding focus.
  
-==Bindings== +===== Bindings ===== 
-===C=== + 
-<PRE>+====C==== 
 +<code c>
 #define INCL_KBD #define INCL_KBD
  
Line 27: Line 38:
  
 USHORT  rc;            /* return code */ USHORT  rc;            /* return code */
-</PRE>+</code>
  
-===MASM=== +====MASM==== 
-<PRE>+<code asm>
 EXTRN  KbdFreeFocus:FAR EXTRN  KbdFreeFocus:FAR
 INCL_KBD            EQU 1 INCL_KBD            EQU 1
Line 38: Line 49:
  
 Returns WORD Returns WORD
-</PRE>+</code>
  
-[[Category:Kbd]]+{{page>en:templates:fapi}}