NdisFreeMdl function (ndis/mdlapi.h)

The NdisFreeMdl function frees an MDL that was allocated by calling the NdisAllocateMdl function.

Syntax

NDIS_EXPORTED_ROUTINE VOID NdisFreeMdl(
  [in] MDL *Mdl
);

Parameters

[in] Mdl

A pointer to the MDL that NDIS should free.

Return value

None

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Minimum UMDF version 2.33
Header ndis/mdlapi.h (include ndis.h)
IRQL <= DISPATCH_LEVEL
DDI compliance rules Irql_NetBuffer_Function(ndis), NdisAllocateMdl(ndis)

See also

NdisAllocateMdl