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.

NdisAllocateMemory

NDIS 5.1 drivers must use NdisAllocateMemoryWithTaginstead.

NdisGetFirstBufferFromPacket

NdisGetFirstBufferFromPacketSafeshould be used instead of NdisGetFirstBufferFromPacket.

NdisQueryBuffer

NdisQueryBufferSafeshould be used instead of NdisQueryBuffer.

NdisBufferVirtualAddress

NdisBufferVirtualAddressSafeshould be used instead of NdisBufferVirtualAddress.

 

 

 

Send comments about this topic to Microsoft