NdisFreeMemoryWithTag - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

VOID NdisFreeMemoryWithTag(
  [in] IN PVOID VirtualAddress,
  [in] IN ULONG Tag
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndisfreememorywithtag)

NdisFreeMemoryWithTag function

Description

The NdisFreeMemoryWithTag function is deprecated for all NDIS versions. Use NdisAllocateMemoryWithTagPriority instead.

Parameters

VirtualAddress [in]

A pointer to the base virtual address of the allocated memory. This address was returned by the NdisAllocateMemoryWithTag function.

Tag [in]

A string, delimited by single quotation marks, with up to four characters, usually specified in reversed order. The NDIS-supplied default tag for this call is 'maDN', but the caller can override this default by supplying an explicit value.

Remarks

Because noncached memory and contiguous memory are seldom released until the allocating miniport driver is unloading, a caller of NdisFreeMemoryWithTag usually is running at IRQL = PASSIVE_LEVEL for these types of de-allocations. In any case:

See also

NdisAllocateMemoryWithTag