IoBuildDeviceIoControlSetEvent rule (wdm)
The IoBuildDeviceIoControlSetEvent rule specifies that a driver that calls IoBuildDeviceIoControlRequest must not call KeSetEvent if the driver supplies a pointer to a caller-allocated and initialized event object. The KeSetEvent does not need to be called by the driver for this IRP.
Driver model: WDM
How to test
At compile time |
---|
Run Static Driver Verifier and specify the IoBuildDeviceIoControlSetEvent 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. |
Applies to
IoBuildDeviceIoControlRequest KeClearEvent KeInitializeEvent KeSetEvent