NoLock rule (ndis)
[This documentation is preliminary and is subject to change.]
The NoLock rule specifies that certain NDIS APIs should not called when a spinlock is held.
| Driver model | NDIS |
How to test
| At compile time |
|---|
Run Static Driver Verifier and specify the NoLock 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
NdisAdvanceNetBufferListDataStart
NdisAllocateFromNPagedLookasideList
NdisAllocateMemoryWithTagPriority
NdisClGetProtocolVcContextFromTapiCallId
NdisClNotifyCloseAddressFamilyComplete
NdisCmCloseAddressFamilyComplete
NdisCmDispatchIncomingCallQoSChange
NdisCmDispatchIncomingCloseCall
NdisCmDispatchIncomingDropParty
NdisCmNotifyCloseAddressFamily
NdisCmOpenAddressFamilyComplete
NdisCopyReceiveNetBufferListInfo
NdisFIndicateReceiveNetBufferLists
NdisFSendNetBufferListsComplete
NdisIfGetInterfaceIndexFromNetLuid
NdisIfGetNetLuidFromInterfaceIndex
NdisIMCancelInitializeDeviceInstance
NdisIMDeInitializeDeviceInstance
NdisIMInitializeDeviceInstanceEx
NdisInitializeNPagedLookasideList
NdisMAllocateSharedMemoryAsyncEx
NdisMCmCloseAddressFamilyComplete
NdisMCmDispatchIncomingCallQoSChange
NdisMCmDispatchIncomingCloseCall
NdisMCmDispatchIncomingDropParty
NdisMCmNotifyCloseAddressFamily
NdisMCmOpenAddressFamilyComplete
NdisMCmRegisterAddressFamilyEx
NdisMCoIndicateReceiveNetBufferLists
NdisMCoSendNetBufferListsComplete
NdisMDeregisterScatterGatherDma
NdisMIndicateReceiveNetBufferLists
NdisMSendNetBufferListsComplete
NdisOpenConfigurationKeyByIndex
NdisOpenConfigurationKeyByName
NdisQueryNetBufferPhysicalCount
NdisReEnumerateProtocolBindings
NdisRetreatNetBufferListDataStart
Send comments about this topic to Microsoft
Build date: 5/1/2012