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.
See also VMDAPI_UPDATE_MOUSE_STATE