VKD_Set_Shift_State


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.

VMHandle

Handle of the virtual machine.

ShiftState

Shift state.

See also VKD_Get_Shift_State