Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:ibm:prcp:vio:getcurpos [2016/02/04 10:31] – valerius | en:ibm:prcp:vio:getcurpos [2016/09/15 05:03] (current) – valerius | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== VioGetCurPos ==== | ==== VioGetCurPos ==== | ||
- | **Bindings**: | + | **Bindings**: |
This call returns the coordinates of the cursor. | This call returns the coordinates of the cursor. | ||
Line 23: | Line 23: | ||
|436 |ERROR_VIO_INVALID_HANDLE | | |436 |ERROR_VIO_INVALID_HANDLE | | ||
|465 |ERROR_VIO_DETACHED | | |465 |ERROR_VIO_DETACHED | | ||
+ | |||
+ | === C bindings === | ||
+ | |||
+ | <code c> | ||
+ | #define INCL_VIO | ||
+ | |||
+ | USHORT | ||
+ | |||
+ | PUSHORT | ||
+ | PUSHORT | ||
+ | HVIO | ||
+ | |||
+ | USHORT | ||
+ | </ | ||
+ | |||
+ | === MASM bindings === | ||
+ | |||
+ | <code asm> | ||
+ | EXTRN VioGetCurPos: | ||
+ | INCL_VIO | ||
+ | |||
+ | PUSH@ WORD Row ;Row return data | ||
+ | PUSH@ WORD Column | ||
+ | PUSH | ||
+ | CALL | ||
+ | |||
+ | Returns WORD | ||
+ | </ | ||