VKD_Reflect_Hot_Key


include vkd.inc

mov     eax, hHotKey
mov     ebx, VMHandle
mov     cx, shift
VxDcall VKD_Reflect_Hot_Key

Reflects a hot key into a specified virtual machine and cancels the hot key state. This service is normally called by a hot-key-notification callback procedure. It allows the callback to send the hot key into a virtual machine and without processing it as a hot key. VKD simulates the required key strokes to get the virtual machine into the specified shift state, then it simulates the key strokes for the hot key itself, and finally simulates key strokes to get the virtual machine to match the current global shift state. Uses Flags

hHotKey

Handle of the hot key.

VMHandle

Handle of the virtual machine.

ShiftState

Required shift state.