Differences
This shows you the differences between two versions of the page.
en:ibm:prcp:vio:getcurtype [2016/02/04 10:38] – created valerius | en:ibm:prcp:vio:getcurtype [2016/09/15 05:06] (current) – valerius | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== VioGetCurType ==== | ==== VioGetCurType ==== | ||
- | **Bindings**: | + | **Bindings**: |
This call returns the cursor type. | This call returns the cursor type. | ||
Line 41: | Line 41: | ||
In DOS mode, [[en: | In DOS mode, [[en: | ||
+ | |||
+ | === C bindings === | ||
+ | |||
+ | <code c> | ||
+ | typedef struct _VIOCURSORINFO { /* vioci */ | ||
+ | USHORT | ||
+ | USHORT | ||
+ | USHORT | ||
+ | USHORT | ||
+ | | ||
+ | } VIOCURSORINFO; | ||
+ | |||
+ | #define INCL_VIO | ||
+ | |||
+ | USHORT | ||
+ | |||
+ | PVIOCURSORINFO | ||
+ | HVIO | ||
+ | |||
+ | USHORT | ||
+ | </ | ||
+ | |||
+ | === MASM bindings === | ||
+ | |||
+ | <code c> | ||
+ | VIOCURSORINFO struc | ||
+ | vioci_yStart dw ? ;cursor start line | ||
+ | vioci_cEnd | ||
+ | vioci_cx | ||
+ | vioci_attr | ||
+ | VIOCURSORINFO ends | ||
+ | |||
+ | EXTRN VioGetCurType: | ||
+ | INCL_VIO | ||
+ | |||
+ | PUSH@ OTHER | ||
+ | PUSH | ||
+ | CALL | ||
+ | |||
+ | Returns WORD | ||
+ | </ | ||