Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:ibm:prcp:vio:getcurpos [2016/02/04 10:25] – created 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 20: | Line 20: | ||
|0 |NO_ERROR | | |0 |NO_ERROR | | ||
- | |355 ||ERROR_VIO_MODE | | + | |355 |ERROR_VIO_MODE | |
- | |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 | ||
+ | </ | ||