Bewerken

Delen via


NDIS/WIFI verification

The NDIS/WIFI verification option determines whether an NDIS or WIFI driver correctly interacts with the Windows operating system kernel.

Note  This option is available starting with Windows 8.1.

The NDIS/WIFI verification option applies rules to verify that your driver correctly processes OIDs in various contexts and follows Microsoft recommended best practices.

When this option is active and Driver Verifier detects that the driver violates one of the NDIS or WIFI rules, Driver Verifier issues bug check 0xC4 (with Parameter 1 equal to the identifier of the specific compliance rule).

The list of verification rules includes the following:

NdisOidComplete

NdisOidDoubleComplete

NdisOidDoubleRequest

NdisTimedDataHang

NdisTimedDataSend

NdisTimedOidComplete

WlanAssert

WlanAssociation

WlanConnectionRoaming

WlanDisassociation

WlanTimedAssociation

WlanTimedConnectionRoaming

WlanTimedConnectRequest

WlanTimedScan

WlanTimedLinkQuality

Activating this option

You can activate the NDIS/WIFI verification feature for one or more drivers by using Driver Verifier Manager or the Verifier.exe command line. For details, see Selecting Driver Verifier Options. You must restart the computer to activate or deactivate the NDIS/WIFI verification option.

  • At the command line

    At the command line, NDIS/WIFI verification is represented by verifier /flags 0x200000 (bit 21). To activate NDIS/WIFI verification, use a flag value of 0x200000 or add 0x200000 to the flag value. For example:

    verifier /flags 0x200000 /driver MyDriver.sys
    

    The feature will be active after the next boot.

  • Using Driver Verifier Manager

    1. Start Driver Verifier Manager. Type Verifier in a Command Prompt window.
    2. Select Create custom settings (for code developers) and then click Next.
    3. Select Select individual settings from a full list.
    4. Select (check) NDIS/WIFI verification.
    5. Restart the computer.