IPortWaveRTStream::GetPhysicalPagesCount 方法 (portcls.h)
GetPhysicalPagesCount
方法會傳回記憶體描述元清單中的實體頁面計數(MDL)。
語法
ULONG GetPhysicalPagesCount(
[in] PMDL MemoryDescriptorList
);
參數
[in] MemoryDescriptorList
MDL 的指標。
傳回值
GetPhysicalPagesCount
方法會傳回 MDL 中的實體頁面計數。
言論
迷你埠驅動程式會使用此呼叫來判斷 MDL 中包含的實體頁面數目。 計數通常用於程式設計 DMA 硬體的程式。
要求
要求 | 價值 |
---|---|
最低支援的用戶端 | 可在 Windows Vista 和更新版本的 Windows作系統中使用。 |
目標平臺 | 普遍 |
標頭 | portcls.h |
IRQL | 被動層級。 |
另請參閱
IPortWaveRTStream::AllocateContiguousPagesForMdl