StorPortAdapterControl rule (storport)

[This documentation is preliminary and is subject to change.]

This rule verifies that the StorPort miniport's HwStorAdapterControl routine always returns ScsiAdapterControlSuccess for the following ControlTypes: ScsiQuerySupportedControlTypes, ScsiStopAdapter, and ScsiRestartAdapter. ScsiAdapterControlUnsuccessful is reserved for future use.

Driver model Storport

How to test

At compile time

Run Static Driver Verifier and specify the StorPortAdapterControl rule.

Use the following steps to run an analysis of your code:
  1. Prepare your code (use role type declarations).
  2. Run Static Driver Verifier.
  3. View and analyze the results.

For more information, see Using Static Driver Verifier to Find Defects in Drivers.

Applies to

HwStorAdapterControl

 

 

Send comments about this topic to Microsoft

Build date: 5/11/2012