KsDispatchFastIoDeviceControlFailure 函式 (ks.h)
KsDispatchFastIoDeviceControlFailure 函式會用於KSDISPATCH_TABLE。未處理的FastDeviceIoControl專案。 函式應該一律 FALSE傳回 。
語法
KSDDKAPI BOOLEAN KsDispatchFastIoDeviceControlFailure(
[in] PFILE_OBJECT FileObject,
[in] BOOLEAN Wait,
[in, optional] PVOID InputBuffer,
[in] ULONG InputBufferLength,
[out, optional] PVOID OutputBuffer,
[in] ULONG OutputBufferLength,
[in] ULONG IoControlCode,
[out] PIO_STATUS_BLOCK IoStatus,
[in] PDEVICE_OBJECT DeviceObject
);
參數
[in] FileObject
未使用。
[in] Wait
未使用。
[in, optional] InputBuffer
未使用。
[in] InputBufferLength
未使用。
[out, optional] OutputBuffer
未使用。
[in] OutputBufferLength
未使用。
[in] IoControlCode
未使用。
[out] IoStatus
未使用。
[in] DeviceObject
未使用。
傳回值
KsDispatchFastIoDeviceControlFailure 函式會傳回 false 。
言論
需要 KsDispatchFastIoDeviceControlFailure 函式,因為裝置特定開啟實例的分派表可能無法處理另一個開啟實例需要處理的特定主要函式。 因此,驅動程序物件中的函式指標必須一律指向函式,例如呼叫分派數據表專案的 KsDispatchFastIoDeviceControlFailure 函式。
要求
要求 | 價值 |
---|---|
目標平臺 | 普遍 |
標頭 | ks.h (包括 Ks.h) |
連結庫 | Ks.lib |