Table of contents
TOC
Collapse the table of content
Expand the table of content

Installing a Non-PnP Driver

Last Updated: 7/30/2016

If your driver does not support a Plug and Play (PnP) device, your driver package must include an INF file that contains an INF DDInstall.CoInstallers section and INF DDInstall.WDF section that are described in Using the KMDF Co-installer.

In addition, you must provide an installer that loads your driver and the framework's co-installer. The co-installer provides WdfPreDeviceInstall, WdfPreDeviceInstallEx, WdfPostDeviceInstall, WdfPreDeviceRemove, and WdfPostDeviceRemove functions that the driver's installer must call.

For an example of how to write an installer for a non-PnP driver, see the installer that is included with the NONPNP sample.

© 2016 Microsoft