Windows 3.1 Device Drivers (ddag31qh.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.
InitScreen
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
The InitScreen function initializes the screen to text mode, and to the
requested number of lines per screen.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
AX         Specifies the number of lines for the screen. If the number of
           lines requested cannot be supported by the display device, the
           function rounds down to a number that the device can support.
 
DS         Specifies the segment address of the grabber (CS and DS registers
           are equal).
 
Return Value
 
This function has no return value.
 
Comments
 
Windows calls this function just before a non-Windows application starts as
well as before switching back to Windows. When switching back to Windows,
InitScreen sets the display to a text mode that Windows supports. This
ensures that Windows can correctly display the Windows screen.
 
Windows switches back to Windows when the non-Windows application terminates
or when the user switches away. If the user switches away, Windows calls
InitScreen after saving the application screen and calling the DisableSave
function.
 
See Also
 
DisableSave