IPortWaveRTStream::GetPhysicalPagesCount method (portcls.h)

The GetPhysicalPagesCount method returns the count of the physical pages in a memory descriptor list (MDL).

Syntax

ULONG GetPhysicalPagesCount(
  [in] PMDL MemoryDescriptorList
);

Parameters

[in] MemoryDescriptorList

Pointer to the MDL.

Return value

GetPhysicalPagesCount method returns the count of physical pages in the MDL.

Remarks

The miniport driver uses this call to determine the number of physical pages that are contained within an MDL. The count is typically used in the process of programming the DMA hardware.

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

IPortWaveRTStream::GetPhysicalPageAddress