IPortWaveRTStream::UnmapAllocatedPages method

The UnmapAllocatedPages method releases a mapping.

Syntax

void UnmapAllocatedPages(
  PVOID BaseAddress,
  PMDL  MemoryDescriptorList
);

Parameters

BaseAddress

Pointer to the base virtual address to which the physical pages were mapped.

MemoryDescriptorList

Pointer to a memory descriptor list (MDL) that describes the physical pages.

Return value

None

Remarks

The miniport driver must call this method to release a mapping that was set up by a previous call to IPortWaveRTStream::MapAllocatedPages. The driver must release the mapping before calling IPortWaveRTStream::FreePagesFromMdl to free the MDL.

This method is similar in operation to the MmUnmapLockedPages function.

Requirements

   
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::FreePagesFromMdl

IPortWaveRTStream::MapAllocatedPages

MmUnmapLockedPages