en:ibm:prcp:kbd:setfgnd

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:setfgnd [2014/05/16 18:47] valeriusen:ibm:prcp:kbd:setfgnd [2016/09/15 02:56] (current) valerius
Line 1: Line 1:
 ==== KbdSetFgnd ==== ==== KbdSetFgnd ====
  
-**Bindings**: +**Bindings**: [[setfgnd#bindings|C]], [[setfgnd#MASM bindings|MASM]]
- +
-**C**: +
-<code c> +
-#define INCL_KBD +
- +
-USHORT  rc = KbdSetFgnd(VOID); +
- +
-USHORT           rc;            /* return code +
-</code> +
- +
-**MASM**: +
-<code asm> +
-EXTRN  KbdSetFgnd:FAR +
-INCL_KBD            EQU 1 +
- +
-CALL   KbdSetFgnd +
- +
-Returns WORD +
-</code>+
  
 This call raises the priority of the foreground keyboard's thread.  This call raises the priority of the foreground keyboard's thread. 
Line 39: Line 20:
 This function should only be issued by a Keyboard Subsystem during //[[charin|KbdCharIn]]// or //[[strin|KbdStringIn]]// This function should only be issued by a Keyboard Subsystem during //[[charin|KbdCharIn]]// or //[[strin|KbdStringIn]]//
 processing.  processing. 
 +
 +=== C bindings ===
 +
 +<code c>
 +#define INCL_KBD
 +
 +USHORT  rc = KbdSetFgnd(VOID);
 +
 +USHORT           rc;            /* return code
 +</code>
 +
 +=== MASM bindings ===
 +
 +<code asm>
 +EXTRN  KbdSetFgnd:FAR
 +INCL_KBD            EQU 1
 +
 +CALL   KbdSetFgnd
 +
 +Returns WORD
 +</code>
 +