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.
WEP
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
WORD WEP(bSystemExit)
BOOL bSystemExit;
 
The WEP function carries out any termination actions the driver requires.
Windows calls the function to indicate that all parts of Windows is shutting
down or that the graphics driver is being unloaded from the system.
 
Parameter    Description
────────────────────────────────────────────────────────────────────────────
 
bSystemExit  Specifies whether the system is shutting down. If this
             parameter is TRUE, Windows is shutting down. Otherwise, Windows
             is unloading the drivers only.
 
Return Value
 
The return value is always 1.
 
Comments
 
This function must be exported by name.
 
                                      ♦