Irql_Protocol_Driver_Function rule (ndis)
The Irql_Protocol_Driver_Function rule specifies that the NDIS functions for CoNDIS clients must be called at correct IRQL levels.
This rule verifies the following NDIS functions:
NdisClAddParty NdisClCloseAddressFamily NdisClCloseCall NdisClDeregisterSap NdisClDropParty NdisClGetProtocolVcContextFromTapiCallId NdisClIncomingCallComplete NdisClMakeCall NdisClModifyCallQoS NdisClNotifyCloseAddressFamilyComplete NdisClOpenAddressFamilyEx NdisCloseAdapterEx NdisClRegisterSap NdisCompleteBindAdapterEx NdisCompleteNetPnPEvent NdisCompleteUnbindAdapterEx NdisDeregisterProtocolDriver NdisMNetPnPEvent NdisOpenAdapterEx NdisRegisterProtocolDriver NdisUnbindAdapter
Driver model: NDIS
How to test
At compile time |
---|
Run Static Driver Verifier and specify the Irql_Protocol_Driver_Function 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
NdisClAddParty NdisClCloseAddressFamily NdisClCloseCall NdisClDeregisterSap NdisClDropParty NdisClGetProtocolVcContextFromTapiCallId NdisClIncomingCallComplete NdisClMakeCall NdisClModifyCallQoS NdisClNotifyCloseAddressFamilyComplete NdisClOpenAddressFamilyEx NdisCloseAdapterEx NdisClRegisterSap NdisCompleteBindAdapterEx NdisCompleteNetPnPEvent NdisCompleteUnbindAdapterEx NdisDeregisterProtocolDriver NdisMNetPnPEvent NdisOpenAdapterEx NdisRegisterProtocolDriver NdisUnbindAdapter