include vkd.inc
mov ebx, VMHandle
mov ax, ShiftState
VxDCall VKD_Set_Shift_State
jc errorhandler
Sets the shift state for the given virtual machine. Use caution when calling this service; it causes the shift state to disagree with the physical state of the keyboard SHIFT keys. Uses Flags. Clears the carry flag upon success, sets it if an error occurs.
VKD_Get_Shift_State