IPortWaveRTStream::UnmapAllocatedPages method (portcls.h)

The UnmapAllocatedPages method releases a mapping.

Syntax

void UnmapAllocatedPages(
  [in] PVOID BaseAddress,
  [in] PMDL  MemoryDescriptorList
);

Parameters

[in] BaseAddress

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

[in] 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

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

IPortWaveRTStream::MapAllocatedPages

MmUnmapLockedPages