EventMask (PMOUENVENTINFO) - output

      Pointer to the mouse-event queue.

      Address of the mouse-event queue data.

    Wait (PULONG) - input

      Wait flag.

      A pointer to a ULONG containing the action to take when MouReadEventQue is issued and the mouse event queue is empty. If the mouse event queue is not empty, this parameter is not examined by the mouse support.

      May be one of the following values:

    • MOU_NOWAIT Do not wait for data on an empty queue (return a NULL record).

    • MOU_WAIT
      Wait for data on an empty queue.

    DeviceHandle (HMOU) - input

      Reserved. Must be 0.

    rc (APIRET) - returns

      Return code.

      MouReadEventQue returns one of the following values:

    • NO_ERROR 387
        ERROR_MOUSE_INV_PARMS
      393
        ERROR_MOUSE_NO_DATA
      466
        ERROR_MOU_DETACHED
      501
        ERROR_MOUSE_NO_CONSOLE


      [Back] [Next]