MASM 5.10 EXT.DOC: GetCursor - Returns Current Cursor Position

ID Number: Q31532

5.10 | 5.10

MS-DOS | OS/2

Summary:

The following information is from the MASM Version 5.10 EXT.DOC

file.

Please note that numbering for both COL and LINE variables begins

with 0.

More Information:

/* GetCursor - returns the current cursor position

*

* The GetCursor function indicates current cursor position by

* modifying the integers that px and py point to. The function

* sets *px to the current cursor column, and *py to the current

* cursor line.

*

* px Pointer to column-position variable

* py Pointer to line-position variable

*/

void pascal GetCursor (px, py);

COL far *px;

LINE far *py;