[Toc][Index]

KbdFlushBuffer


Bindings:  C, MASM 

This call clears the keystroke buffer. 
 KbdFlushBuffer    (KbdHandle) 
 
 KbdHandle (HKBD) - input 
    Default keyboard or the logical keyboard. 
 rc (USHORT) - return 
    Return code descriptions are: 
    0         NO_ERROR 
    439       ERROR_KBD_INVALID_HANDLE 
    445       ERROR_KBD_FOCUS_REQUIRED 
    447       ERROR_KBD_KEYBOARD_BUSY 
    464       ERROR_KBD_DETACHED 
    504       ERROR_KBD_EXTENDED_SG 
 
 Remarks 
 KbdFlushBuffer completes when the handle has access to the physical 
 keyboard (focus), or is equal to zero and no other handle has the focus. 
 
 Family API Considerations 
 Some options operate differently in the DOS mode than in the OS/2 mode. 
  The KbdHandle is ignored when coding in the DOS mode. 

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs