VMDAPI_SET_MOUSE_FOCUS

include vmd.inc
 
mov     ax, VMDAPI_SET_MOUSE_FOCUS
call    pVMD_API_Entry
 

Sets the focus of VMOUSE so that subsequent mouse events are directed to the calling virtual machine. Uses Flags. Clears carry flag upon success, sets it upon failure.