The information in this article applies to:
SUMMARYSome device drivers need to call functions provided by the user dynamic- link library (DLL) of Microsoft Windows. The MessageBox() function is an example of one of these functions. However, a driver cannot implicitly link to the user DLL. If a driver attempts to implicitly link to user, it will fail to load and Windows will not run. The load fails because the drivers are loaded before user (user requires the drivers). An implicit link to user forces the kernel to load the user module when the driver is loaded; which Windows cannot do. Therefore, the driver must establish the link at a later time. This article explains how this is accomplished. MORE INFORMATION
An example of a driver calling a function in user is the communications
driver (COMM.DRV) which displays a message box to resolve contention on the
serial and parallel ports.
Additional query words: 3.00 3.10 DDKMISC
Keywords : kb16bitonly kbDDK |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |