en:ibm:prcp:mou:close

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:ibm:prcp:mou:close [2016/02/04 02:41] valeriusen:ibm:prcp:mou:close [2016/09/15 03:13] (current) valerius
Line 1: Line 1:
 ==== MouClose ==== ==== MouClose ====
  
-**Bindings**: C, MASM +**Bindings**: [[close#bindings|C]][[close#MASM bindings|MASM]]
  
 This call closes the mouse device for the current session.  This call closes the mouse device for the current session. 
Line 22: Line 22:
  
 [[en:ibm:prcp:mou:close|MouClose]] closes the mouse device for the current session and removes the mouse device driver handle from the list of valid open mouse device handles.  [[en:ibm:prcp:mou:close|MouClose]] closes the mouse device for the current session and removes the mouse device driver handle from the list of valid open mouse device handles. 
 +
 +=== C bindings ===
 +
 +<code c>
 +#define INCL_MOU
 +
 +USHORT  rc = MouClose(DeviceHandle);
 +
 +HMOU             DeviceHandle;  /* Mouse device handle */
 +
 +USHORT           rc;            /* return code */
 +</code>
 +
 +=== MASM bindings ===
 +
 +<code asm>
 +EXTRN  MouClose:FAR
 +INCL_MOU            EQU 1
 +
 +PUSH   WORD    DeviceHandle  ;Mouse device handle
 +CALL   MouClose
 +
 +Returns WORD
 +</code>