Reads an event from the mouse device driver FIFO event queue and places it in a structure provided by the application.

#define INCL_MOU
#include <os2.h>

PMOUENVENTINFO    EventMask;     /*  Pointer to the mouse-event queue. */
PULONG            Wait;          /*  Wait flag. */
HMOU              DeviceHandle;  /*  Reserved.  Must be 0. */
APIRET            rc;            /*  Return code. */

rc = MouReadEventQue(EventMask, Wait, DeviceHandle);


[Back] [Next]