## Physical Device Driver Reference

[prev][next][parent][TOC]

### MOU_SETPROTDRAWADDRESS (5Ah) - Remarks

This IOCtl is for OS/2 mode only. The function passes to the physical mouse device driver the selector:offset address of the entry point of the session's pointer draw routine for OS/2-mode display support. The pointer image draw routine is an installed pseudo character device driver. The mouse router/handler must:

Open the physical Pointer Draw device driver
Query the physical Pointer Draw device driver for the address of its entry point
Pass the resulting address of the pointer draw entry point to the physical mouse device driver using the IOCtl described above

The physical mouse device driver issues a Far-16 call to the physical Pointer Draw device driver when a mouse interrupt occurs that requires action concerning the pointer image.

In addition, the physical mouse device driver can call the pointer draw routine as a result of some action on the part of the application, such as:

MouDrawPtr
MouRemovePtr
MouSetPtrPos
MouSetPtrShape
MouGetPtrShape
MouSetDevStatus