Install an already loaded mouse driver.
unsigned char __fastcall__ mouse_install (const struct mouse_callbacks* c, void* driver);
The function installs an already loaded mouse driver and returns an error code. The
mouse_callbacksstructure passed as first parameter contains pointers to routines needed to move or hide/show the mouse pointer. Defaults for these routines are supplied by the library, so if you can live with these defaults (which are platform specific), just pass a pointer to
mouse_def_callbacks. The function may be used to install a driver linked statically to the program.
- Not all drivers are able to detect if the supported hardware is really present.
- After installing a driver, the mouse cursor is hidden.
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- See also
mouse_load_driver, mouse_uninstall, mouse_unload