IPortWaveRTStream::GetPhysicalPageAddress 方法 (portcls.h)
GetPhysicalPageAddress
方法會傳回記憶體描述元清單內頁面的實體位址(MDL)。
語法
PHYSICAL_ADDRESS GetPhysicalPageAddress(
[in] PMDL MemoryDescriptorList,
[in] ULONG Index
);
參數
[in] MemoryDescriptorList
MDL 的指標。
[in] Index
索引至 MDL 內的目標頁面。
傳回值
GetPhysicalPageAddress
方法會傳回 MDL 內頁面的實體位址。
言論
迷你埠驅動程式會呼叫此方法,以判斷先前透過呼叫 IPortWaveRTStream::AllocatePagesForMdl 或 IPortWaveRTStream::AllocateContiguousPagesForMdl所配置之 MDL 內頁面的實體記憶體位址。
迷你埠通常會針對 MDL 中的每個頁面呼叫這個,以便將實體地址程式設計成 DMA。 Index 參數可用來選取所需的頁面,而且範圍可以從零到 getPhysicalPagesCount 傳回的計數。
要求
要求 | 價值 |
---|---|
最低支援的用戶端 | 可在 Windows Vista 和更新版本的 Windows作系統中使用。 |
目標平臺 | 普遍 |
標頭 | portcls.h |
IRQL | 被動層級 |
另請參閱
IPortWaveRTStream::AllocateContiguousPagesForMdl