Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.57 KB

File metadata and controls

49 lines (35 loc) · 1.57 KB
title description ms.date keywords topic_type ms.topic api_name api_type
PnpRemove Rule (WDM)
The PnpRemove rule specifies that the driver cannot complete IRP\_MN\_SURPRISE\_REMOVAL, IRP\_MN\_CANCEL\_REMOVE\_DEVICE, IRP\_MN\_CANCEL\_STOP\_DEVICE, or IRP\_MN\_REMOVE\_DEVICE requests with a failure.
05/21/2018
PnpRemove rule (wdm)
apiref
reference
PnpRemove
NA

PnpRemove rule (wdm)

The PnpRemove rule specifies that the driver cannot complete IRP_MN_SURPRISE_REMOVAL, IRP_MN_CANCEL_REMOVE_DEVICE, IRP_MN_CANCEL_STOP_DEVICE, or IRP_MN_REMOVE_DEVICE requests with a failure.

Note

In Windows 8.1, you can test the PnpRemove rule using Driver Verifier. The rule is not currently available for use with Static Driver Verifier.

Driver model: WDM

Bug check(s) found with this rule: Bug Check 0xC4: DRIVER_VERIFIER_DETECTED_VIOLATION (0x00043006)

How to test

At run time

Run Driver Verifier and select the DDI compliance checking option.