IPortWaveRTStream::FreePagesFromMdl method (portcls.h)

The FreePagesFromMdl method frees a memory descriptor list (MDL).

Syntax

void FreePagesFromMdl(
  [in] PMDL MemoryDescriptorList
);

Parameters

[in] MemoryDescriptorList

Pointer to the MDL.

Return value

None

Remarks

The miniport driver must call this method to free an MDL that was previously allocated by calling either IPortWaveRTStream::AllocatePagesForMdl or IPortWaveRTStream::AllocateContiguousPagesForMdl.

FreePagesFromMdl frees both the physical memory pages described in the MDL and the MDL itself. On return, the MDL pointer value in the MemoryDescriptorList parameter is no longer valid.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later Windows operating systems.
Target Platform Universal
Header portcls.h
IRQL Passive level.

See also

IPortWaveRTStream

IPortWaveRTStream::AllocateContiguousPagesForMdl

IPortWaveRTStream::AllocatePagesForMdl