## Virtual Device Driver Reference for OS/2

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

### Video Pointer Management

The virtual mouse device driver tracks the pointer location, and whether or not the pointer is visible. The actual drawing and hiding of the pointer, however, is handled by the virtual video device driver.

Interfaces are provided by the virtual video device driver to the virtual mouse device driver to perform the following operations:

Define pointer This describes the desired pointer shape and always is issued prior to making a pointer visible for the first time. An error might be returned if the virtual video device driver does not provide pointer support for the current video mode, thus permitting the virtual mouse device driver to skip further drawing and moving requests. The virtual video device driver refuses calls it cannot support.

Draw pointer A position, in pel coordinates, is provided. For text modes, the virtual video device driver maps chunks of pels to individual character locations. The size of a chunk is 8 pels x 8 pels, unless the mode is 40- column, in which case the chunk size is 16 pels x 8 pels. A video page parameter is provided to support the INT 33h SetCRTPage service. Draw requests without intervening Remove requests are treated as Move requests.

Remove pointer Deletes pointer from the screen.