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.
VioGetDeviceCellSize (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_AVIO
 
USHORT VioGetDeviceCellSize(pcRows, pcColumns, hvps)
PSHORT pcRows;       /* pointer to variable for cell height */
PSHORT pcColumns;    /* pointer to variable for cell width  */
HVPS hvps;           /* presentation-space handle           */
 
The VioGetDeviceCellSize function retrieves the size of the current device
cell.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
pcRows     Points to the variable that specifies the height (in pels) of the
           device cell.
 
pcColumns  Points to the variable that specifies the width (in pels) of the
           device cell.
 
hvps       Identifies the advanced video-input-and-output (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, VioSetDeviceCellSize