次の方法で共有


Allocating Memory in an NDIS 6.0 Protocol Driver

In NDIS 6.0, the NdisAllocateMemoryWithTagPriority function replaces the NdisAllocateMemory and NdisAllocateMemoryWithTag functions. In addition to specifying the protocol driver 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.