msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
PTRLOC (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_MOU
 
typedef struct _PTRLOC {    /* moupl */
    USHORT row;
    USHORT col;
} PTRLOC;
 
The PTRLOC structure contains the position of the mouse.
 
Field  Description
────────────────────────────────────────────────────────────────────────────
 
row    Specifies the x-coordinate of the mouse.
 
col    Specifies the y-coordinate of the mouse.
 
Comments
 
The values of the row and col fields depend on the current video mode of the
screen (as defined by the VioSetMode function). For text mode, values are
given in character cells. For graphics mode, values are given in pels.
 
See Also
 
MouGetPtrPos, MouSetPtrPos, VioSetMode