IPortWaveRTStream::GetPhysicalPageAddress method (portcls.h)
The GetPhysicalPageAddress
method returns the physical address for a page within a memory descriptor list (MDL).
Syntax
PHYSICAL_ADDRESS GetPhysicalPageAddress(
[in] PMDL MemoryDescriptorList,
[in] ULONG Index
);
Parameters
[in] MemoryDescriptorList
Pointer to the MDL.
[in] Index
Index to the target page within the MDL.
Return value
The GetPhysicalPageAddress
method returns the physical address for a page within an MDL.
Remarks
The miniport driver calls this method to determine the physical memory address for pages within an MDL that was previously allocated by calling either IPortWaveRTStream::AllocatePagesForMdl or IPortWaveRTStream::AllocateContiguousPagesForMdl.
The miniport typically calls this for each page in the MDL in order to program the physical address into the DMA. The Index parameter is used to select the desired page, and can range from zero to the count returned by GetPhysicalPagesCount.
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::AllocateContiguousPagesForMdl