Allocating Memory in an NDIS 6.0 Miniport Driver

The NdisAllocateMemoryWithTagPriority function replaces the NdisAllocateMemory and NdisAllocateMemoryWithTag functions. In addition to specifying the miniport adapter handle, pool size, and tag, NdisAllocateMemoryWithTagPriority requires an allocation priority that indicates the importance of the request. The priority is the same as that defined for the ExAllocatePoolWithTagPriority function.