subcalls.hlp (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.
VioGetOrg (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_AVIO
 
USHORT VioGetOrg(psRow, psColumn, hvps)
PSHORT psRow;       /* pointer to variable for row number    */
PSHORT psColumn;    /* pointer to variable for column number */
HVPS hvps;          /* presentation-space handle             */
 
The VioGetOrg function retrieves the origin of an advanced
video-input-and-output (AVIO) presentation space.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
psRow      Points to the variable that receives the row number of the cell
           currently mapped to the upper-left corner of the window.
 
psColumn   Points to the variable that receives the column number of the
           cell currently mapped to the upper-left corner of the window.
 
hvps       Identifies the AVIO presentation space. This presentation space
           must have been created previously by using the VioCreatePS
           function
 
Return Value
 
The return value is zero if the function is successful. Otherwise, it is an
error value.
 
See Also
 
VioCreatePS, VioSetOrg