DOS/32 Advanced DOS Extender - Programmer's Reference

5.06 - Mouse function 0018h - Set Alternate Mouse User Handler


In: AX = 0018h
ECX = call mask
ES:EDX = far pointer to routine to be invoked on mouse events
Out: AX = 0018h on success
AX = 0FFFFh on error


a) This function will use a real mode callback that was allocated by the DOS/32 Advanced at startup to pass the control from real mode mouse handler to your protected mode interrupt handler.

b) Calling this function with zero values in ES:EDX (0000:00000000h) will uninstall the insalled protected mode interrupt handler.

c) The protected mode program should not rely on error codes reported by this function in AX register since different mouse drivers will return different values on error.


Copyright Supernar Systems, Ltd. 1996-2005
All Rights Reserved.