Differences
This shows you the differences between two versions of the page.
| en:ibm:prcp:kbd:flushbuf [2014/05/13 14:57] – created valerius | en:ibm:prcp:kbd:flushbuf [2016/09/15 02:30] (current) – valerius | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== KbdFlushBuffer ==== | ==== KbdFlushBuffer ==== | ||
| - | **Bindings**: | + | **Bindings**: |
| - | + | ||
| - | **C**: | + | |
| - | <code c> | + | |
| - | #define INCL_KBD | + | |
| - | + | ||
| - | USHORT | + | |
| - | + | ||
| - | HKBD | + | |
| - | + | ||
| - | USHORT | + | |
| - | </ | + | |
| - | + | ||
| - | **MASM**: | + | |
| - | <code asm> | + | |
| - | EXTRN KbdFlushBuffer: | + | |
| - | INCL_KBD | + | |
| - | + | ||
| - | PUSH | + | |
| - | CALL | + | |
| - | + | ||
| - | Returns WORD | + | |
| - | </ | + | |
| This call clears the keystroke buffer. | This call clears the keystroke buffer. | ||
| Line 50: | Line 28: | ||
| Some options operate differently in the DOS mode than in the OS/2 mode. The // | Some options operate differently in the DOS mode than in the OS/2 mode. The // | ||
| + | |||
| + | === C bindings === | ||
| + | |||
| + | <code c> | ||
| + | #define INCL_KBD | ||
| + | |||
| + | USHORT | ||
| + | |||
| + | HKBD | ||
| + | |||
| + | USHORT | ||
| + | </ | ||
| + | |||
| + | === MASM bindings === | ||
| + | |||
| + | <code asm> | ||
| + | EXTRN KbdFlushBuffer: | ||
| + | INCL_KBD | ||
| + | |||
| + | PUSH | ||
| + | CALL | ||
| + | |||
| + | Returns WORD | ||
| + | </ | ||




