[Toc][Index]

KbdSynch


Bindings:  C, MASM 

This call synchronizes access from a keyboard subsystem to the keyboard 
device driver. 
 KbdSynch    (IOWait) 
 
 IOWait (USHORT) - input 
    Wait for the bond.  Values are: 
    Value     Definition 
    0         Indicates the requestor does not wait for access to the 
              device driver. 
    1         Indicates the requestor waits for access to the device 
              driver. 
 rc (USHORT) - return 
    Return code descriptions are: 
    0         NO_ERROR 
    121       ERROR_SEM_TIMEOUT 
 
 Remarks 
 KbdSynch blocks all other threads within a session until return from the 
 subsystem to the router.  To ensure proper synchronization, KbdSynch 
 should be issued by a keyboard subsystem if it intends to issue a 
 DosDevIOCtl or access dynamically shared data.  KbdSynch does not protect 
 globally shared data from threads in other sessions. 

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