IoGetDriverObjectExtension 函式 (wdm.h)
IoGetDriverObjectExtension 例程會擷取先前配置的個別驅動程式內容區域。
語法
__drv_aliasesMem PVOID IoGetDriverObjectExtension(
[in] PDRIVER_OBJECT DriverObject,
[in] PVOID ClientIdentificationAddress
);
參數
[in] DriverObject
指定與內容區域相關聯的驅動程序物件。
[in] ClientIdentificationAddress
指定要擷取之內容區域時提供的唯一標識碼。
傳回值
IoGetDriverObjectExtension 傳回內容區域的指標,如果有或傳回 NULL。
言論
驅動程式呼叫 IoGetDriverObjectExtension,以擷取先前配置的擴充區域的指標。
要求
要求 | 價值 |
---|---|
最低支援的用戶端 | 從 Windows 2000 開始提供。 |
目標平臺 | 普遍 |
標頭 | wdm.h (包括 Wdm.h、Ntddk.h、Ntifs.h) |
連結庫 | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <= DISPATCH_LEVEL |