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.
ESI
Points to a buffer of scan codes.
ECX
Specifies the number of scan codes in the buffer.
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.
Flags