Functions That are Prohibited for NDIS 5.1 and Later Drivers
WHQL restricts NDIS 5.1 and later drivers from calling the following functions. If an NDIS 5.1 or later driver calls these functions, WHQL fails the driver and returns an error message.
Restricted function | Error message |
---|---|
MmMapLockedPagesor any function that calls MmMapLockedPages. |
NDIS drivers version 5.1 or higher must use safe NDIS APIs. |
NDIS 5.1 drivers must use NdisAllocateMemoryWithTaginstead. |
|
NdisGetFirstBufferFromPacketSafeshould be used instead of NdisGetFirstBufferFromPacket. |
|
NdisQueryBufferSafeshould be used instead of NdisQueryBuffer. |
|
NdisBufferVirtualAddressSafeshould be used instead of NdisBufferVirtualAddress. |