GetPhysicalPagesCount 方法返回内存描述符列表中物理页的计数(MDL)。
语法
ULONG GetPhysicalPagesCount(
[in] PMDL MemoryDescriptorList
);
参数
[in] MemoryDescriptorList
指向 MDL 的指针。
返回值
GetPhysicalPagesCount 方法返回 MDL 中物理页的计数。
言论
微型端口驱动程序使用此调用来确定 MDL 中包含的物理页数。 计数通常用于编程 DMA 硬件的过程。
要求
| 要求 | 价值 |
|---|---|
| 最低支持的客户端 | 在 Windows Vista 和更高版本的 Windows作系统中可用。 |
| 目标平台 | 普遍 |
| 标头 | portcls.h |
| IRQL | 被动级别。 |
另请参阅
IPortWaveRTStream::AllocateContiguousPagesForMdl