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)
Library Ks.lib