Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
VKD_Force_Keys
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vkd.inc
 
VxDcall VKD_Force_Keys
 
The VKD_Force_Keys service forces scan codes into the keyboard buffer just
as if they had been typed on the physical keyboard. These keys are processed
in the context of the focus virtual machine.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
ESI        Points to a buffer of scan codes.
 
ECX        Specifies the number of scan codes in the buffer.
 
Return Value
 
The carry flag is set if the keyboard buffer overflows. In this case, The
ECX register contains the number of remaining scan codes that did not fit.
 
Uses
 
Flags
 
                                      ♦