Differences
This shows you the differences between two versions of the page.
| en:ibm:prcp:mou:open [2016/02/04 02:30] – external edit 127.0.0.1 | en:ibm:prcp:mou:open [2016/09/15 04:13] (current) – valerius | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== MouOpen ==== | ==== MouOpen ==== | ||
| - | **Bindings**: | + | **Bindings**: |
| This call opens the mouse device for the current session. | This call opens the mouse device for the current session. | ||
| Line 40: | Line 40: | ||
| * Pointer shape set to the default for the pointer device driver currently registered in the session. (See [[setptrshape|MouSetPtrShape]].) | * Pointer shape set to the default for the pointer device driver currently registered in the session. (See [[setptrshape|MouSetPtrShape]].) | ||
| * Collision area equal to full screen. (See [[drawptr|MouDrawPtr]] and [[removeptr|MouRemovePtr]].) | * Collision area equal to full screen. (See [[drawptr|MouDrawPtr]] and [[removeptr|MouRemovePtr]].) | ||
| + | |||
| + | === C bindings === | ||
| + | |||
| + | <code c> | ||
| + | #define INCL_MOU | ||
| + | |||
| + | USHORT | ||
| + | |||
| + | PSZ DriverName; | ||
| + | PHMOU DeviceHandle; | ||
| + | |||
| + | USHORT | ||
| + | </ | ||
| + | |||
| + | === MASM bindings === | ||
| + | |||
| + | <code asm> | ||
| + | EXTRN MouOpen:FAR | ||
| + | INCL_MOU | ||
| + | |||
| + | PUSH@ ASCIIZ | ||
| + | PUSH@ WORD DeviceHandle | ||
| + | CALL | ||
| + | |||
| + | Returns WORD | ||
| + | </ | ||




