HOWTO: Specify Static DevLoaders and Device Drivers in an .inf

Last reviewed: February 6, 1998
Article ID: Q180578
The information in this article applies to:
  • Windows 95 Device Driver Kit (DDK), version 4.0

SUMMARY

A Windows 95 .inf file may need to specify static DevLoaders and Device Drivers. You must precede the name of any static DevLoader with an asterisk when you specify it. You cannot use an extension. For example, to specify Configuration Manager as a DevLoader, the AddReg section would include the following line:

   HKR,,DevLoader,,*CONFIGMG

The .inf file format that is used to load a device's PnP virtual device driver (VxD) is dependent on the DevLoader previously specified. When you use Configuration Manager as the DevLoader, the AddReg entry for a device's dynamically loadable VxD would be:

   HKR,,DeviceDriver,,MYDEVICE.VXD

However, when you use Configuration Manager as the DevLoader and specify a static PnP VxD for a device, you must again precede the name with an asterisk and omit the extension. If MYDEVICE.VXD is a static VxD, the .inf entry would then be:

   HKR,,DeviceDriver,,*MYDEVICE

DevLoaders other than Configuration Manager may have different .inf driver name format requirements.

REFERENCES

Windows 95 Device Driver Kit: PnP; PnP samples

Version           : WIN95
Platform          : Win95
Issue type        : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 6, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.