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.
Initializing the Driver
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
The driver's initialization routine (the entry point for the DLL) should
check to make sure that the appropriate network is actually installed and
running. If it is not, the routine should return zero to prevent the driver
from being loaded. Windows then behaves exactly as if no network driver were
installed.
 
The driver should also check the netwarn setting in the [Windows] section of
the WIN.INI file. If the value is 1, the driver should display a message box
to inform the user that the network is not installed before returning to
Windows. The netwarn setting allows users who run Windows frequently without
loading the network to disable the message box.
 
 
                                      ♦