Returns status flags for the installed mouse device driver.
#define INCL_MOU #include <os2.h> PULONG DeviceStatus; /* Current status flags. */ HMOU DeviceHandle; /* Mouse device handle. */ APIRET rc; /* Return code. */ rc = MouGetDevStatus(DeviceStatus, DeviceHandle);