Training
Module
Troubleshoot device driver failures - Training
This module focuses on the role of device drivers and troubleshooting problems that pertain to them.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
If your KMDF driver supports a non-Plug and Play (PnP) device on Windows 10, use the same approach as that shown in the Non-PnP Driver Sample, but remove references to INF files and co-installers. For example, you do not need the following:
#define NONPNP_INF_FILENAME L"\\nonpnp.inf"
#define WDF_SECTION_NAME L"nonpnp.NT.Wdf"
LoadWdfCoInstaller
UnloadWdfCoInstaller
PFN_WDFPREDEVICEINSTALLEX pfnWdfPreDeviceInstallEx;
PFN_WDFPOSTDEVICEINSTALL pfnWdfPostDeviceInstall;
PFN_WDFPREDEVICEREMOVE pfnWdfPreDeviceRemove;
PFN_WDFPOSTDEVICEREMOVE pfnWdfPostDeviceRemove;
For a non-PnP KMDF driver, simply call the SCM API to create the service. For more info, see Installing a Service.
Training
Module
Troubleshoot device driver failures - Training
This module focuses on the role of device drivers and troubleshooting problems that pertain to them.
Documentation
Win32 Services Interacting with Devices - Windows drivers
Provides information about how Win32 services interact with devices.
INF HardwareId Directive - Windows drivers
The Found New Hardware Wizard and Hardware Update Wizard support INF HardwareId directives in the [DeviceInstall] section of an Autorun.inf file.
INF Reboot Directive - Windows drivers
A Reboot directive indicates that the caller should be notified to reboot the system after installation is complete.