◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── include vkd.inc VxDcall VKD_API_Force_Key The VKD_API_Force_Key service forces a key into a virtual machine as if it was typed on the keyboard. VKD will scan these forced keys for hot keys, so forcing VKD hot keys is allowed. Parameter Description ──────────────────────────────────────────────────────────────────────────── EBX Specifies the virtual machine handle or 0 for current focus. CH Specifies the scan code. CL Specifies the repeat count (1 or more). EDX Specifies the shift state (-1 means no change). Return Value The carry flag is set if an error occurs. Comments This service is currently limited to the focus virtual machine, so the service fails if the EBX register is not zero or not the focus virtual machine handle. Uses Flags ♦