include vmd.inc mov dx, OFFSET MouseEventProc mov cx, SEG MouseEventProc mov ax, VMDAPI_SET_MOUSE_EVENT_CALLBACK call pVMD_API_Entry jc errorhandler
Provides VMOUSE with the address of the function to call whenever a mouse event occurs. Uses Flags. Clears the carry flag upon success, sets it upon failure.
MouseEventProc
Address of mouse-event callback function. For more information about the function, see Mouse_Event.
See also VMDAPI_UPDATE_MOUSE_STATE