UnmapAllocatedPages method releases a mapping.
void UnmapAllocatedPages( PVOID BaseAddress, PMDL MemoryDescriptorList );
Pointer to the base virtual address to which the physical pages were mapped.
Pointer to a memory descriptor list (MDL) that describes the physical pages.
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.
|Minimum supported client||Available in Windows Vista and later Windows operating systems.|