Jump to content

MouFlushQue: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m Ak120 moved page OS2 API:CPI:MouFlushQue to MouFlushQue
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


==Syntax==
==Syntax==
<PRE>
MouFlushQue(DeviceHandle)
#define INCL_MOU
#include <os2.h>


HMOU      DeviceHandle;  /*  Mouse device handle. */
APIRET    rc;            /*  Return code. */
rc = MouFlushQue(DeviceHandle);
</PRE>
==Parameters==
==Parameters==
;DeviceHandle (HMOU) - input : Mouse device handle.
;DeviceHandle (HMOU) - input: Mouse device handle.
:Reserved. Must be 0.
:Reserved. Must be 0.
 
;rc (APIRET) - returns:Return code.
==Return Code==
:MouFlushQue returns one of the following values:
rc (APIRET) - returns
::0 NO_ERROR
MouFlushQue returns one of the following values:
::466 ERROR_MOU_DETACHED
* 0       NO_ERROR  
::501 ERROR_MOUSE_NO_CONSOLE
* 466     ERROR_MOU_DETACHED  
* 501     ERROR_MOUSE_NO_CONSOLE


[[Category:Mou]]
[[Category:Mou]]

Latest revision as of 23:50, 11 December 2019

Directs the mouse device driver to empty the mouse-event queue.

Syntax

MouFlushQue(DeviceHandle)

Parameters

DeviceHandle (HMOU) - input
Mouse device handle.
Reserved. Must be 0.
rc (APIRET) - returns
Return code.
MouFlushQue returns one of the following values:
0 NO_ERROR
466 ERROR_MOU_DETACHED
501 ERROR_MOUSE_NO_CONSOLE