MarkQueryRelations rule (wdm)
The MarkQueryRelations rule specifies that the driver should pend the IRP_MN_QUERY_DEVICE_RELATIONS IRP.
This rule only applies to FDO and FIDO device object of the bus driver when processing a RemovalRelations request.
How to test
|At compile time|
Run Static Driver Verifier and specify the MarkQueryRelations rule.Use the following steps to run an analysis of your code:
For more information, see Using Static Driver Verifier to Find Defects in Drivers.