en:ibm:prcp:mou:drawptr

Differences

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

Link to this comparison view

en:ibm:prcp:mou:drawptr [2016/02/04 02:17] – external edit 127.0.0.1en:ibm:prcp:mou:drawptr [2016/09/15 03:35] (current) valerius
Line 1: Line 1:
 ==== MouDrawPtr ==== ==== MouDrawPtr ====
  
-**Bindings**: C, MASM +**Bindings**: [[drawptr#bindings|C]][[drawptr#MASM bindings|MASM]]
  
 This call allows a process to notify the mouse device driver that an area previously restricted to the pointer image is now available to the mouse device driver.  This call allows a process to notify the mouse device driver that an area previously restricted to the pointer image is now available to the mouse device driver. 
Line 24: Line 24:
  
 This call is required to begin session pointer image drawing. Immediately after [[open|MouOpen]] is issued, the collision area is defined as the size of the display. A [[drawptr|MouDrawPtr]] is issued to begin pointer drawing after the [[open|MouOpen]].  This call is required to begin session pointer image drawing. Immediately after [[open|MouOpen]] is issued, the collision area is defined as the size of the display. A [[drawptr|MouDrawPtr]] is issued to begin pointer drawing after the [[open|MouOpen]]. 
 +
 +=== C bindings ===
 +
 +<code c>
 +#define INCL_MOU
 +
 +USHORT  rc = MouDrawPtr(DeviceHandle);
 +
 +HMOU             DeviceHandle;  /* Mouse device handle */
 +
 +USHORT           rc;            /* return code */
 +</code>
 +
 +=== MASM bindings ===
 +
 +<code asm>
 +EXTRN  MouDrawPtr:FAR
 +INCL_MOU            EQU 1
 +
 +PUSH   WORD    DeviceHandle  ;Mouse device handle
 +CALL   MouDrawPtr
 +
 +Returns WORD
 +</code>