KbdFlushBuffer

From EDM2
Revision as of 01:07, 2 January 2020 by Ak120 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Removes all entries from the keyboard buffer. This discards all user keystrokes typed ahead.

Syntax

KbdFlushBuffer(hkbd)

Parameters

hkbd (HKBD) - input
Reserved. Must be 0.

Return Code

return (APIRET) - returns
KbdFlushBuffer returns one of the following values:
0 NO_ERROR
439 ERROR_KBD_INVALID_HANDLE
445 ERROR_KBD_FOCUS_REQUIRED
447 ERROR_KBD_KEYBOARD_BUSY
504 ERROR_KBD_EXTENDED_SG