Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:docs:fapi:kbdfreefocus [2021/10/06 11:59] – created prokushev | en:docs:fapi:kbdfreefocus [2021/11/04 13:26] (current) – prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{page> | ||
+ | |||
+ | ====== 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> | ||
| | ||
+ | </ | ||
- | ==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: | + | |
- | ::0 NO_ERROR | + | ===== Return Code ===== |
- | ::439 ERROR_KBD_INVALID_HANDLE | + | |
- | ::445 ERROR_KBD_FOCUS_REQUIRED | + | rc (USHORT) - return: |
- | ::464 ERROR_KBD_DETACHED | + | |
- | ::504 ERROR_KBD_EXTENDED_SG | + | * 0 NO_ERROR |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | ===== 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 | USHORT | ||
- | </PRE> | + | </code> |
- | ===MASM=== | + | ====MASM==== |
- | <PRE> | + | <code asm> |
EXTRN KbdFreeFocus: | EXTRN KbdFreeFocus: | ||
INCL_KBD | INCL_KBD | ||
Line 38: | Line 49: | ||
Returns WORD | Returns WORD | ||
- | </PRE> | + | </code> |
- | [[Category:Kbd]] | + | {{page> |