no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Last revision | |||
— | en:ibm:prcp:vio:getcurtype [2016/02/04 10:38] – created valerius | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== VioGetCurType ==== | ||
+ | |||
+ | **Bindings**: | ||
+ | |||
+ | This call returns the cursor type. | ||
+ | |||
+ | // | ||
+ | |||
+ | // | ||
+ | Address of the cursor characteristics structure: | ||
+ | |||
+ | // | ||
+ | Horizontal scan line in the character cell that marks the top line of the cursor. If the character cell has n scan lines, 0 is the top scan line of the character cell and (n-1) is the bottom scan line. | ||
+ | |||
+ | //endline// (**USHORT**) | ||
+ | Horizontal scan line in the character cell that marks the bottom line of the cursor. Scan lines within a character cell are numbered as defined in startline. | ||
+ | |||
+ | // | ||
+ | Width of the cursor. In text modes, // | ||
+ | |||
+ | // | ||
+ | A value of -1 denotes a hidden cursor, all other values in text mode denote normal cursor and in graphics mode denote color attribute. | ||
+ | |||
+ | // | ||
+ | This must be zero unless the caller is a Presentation Manager application, | ||
+ | |||
+ | //rc// (**USHORT**) - return | ||
+ | Return code descriptions are: | ||
+ | |||
+ | |0 |NO_ERROR | | ||
+ | |355 |ERROR_VIO_MODE | | ||
+ | |436 |ERROR_VIO_INVALID_HANDLE | | ||
+ | |465 |ERROR_VIO_DETACHED | | ||
+ | |||
+ | **Remarks** | ||
+ | |||
+ | If // | ||
+ | |||
+ | |||
+ | **Family API Considerations** | ||
+ | |||
+ | In DOS mode, [[en: | ||