Expand Minimize

KSDISPATCH_TABLE structure

The KSDISPATCH_TABLE structure contains pointers to minidriver implemented IRP dispatch routines.

Syntax


typedef struct {
  PDRIVER_DISPATCH        DeviceIoControl;
  PDRIVER_DISPATCH        Read;
  PDRIVER_DISPATCH        Write;
  PDRIVER_DISPATCH        Flush;
  PDRIVER_DISPATCH        Close;
  PDRIVER_DISPATCH        QuerySecurity;
  PDRIVER_DISPATCH        SetSecurity;
  PFAST_IO_DEVICE_CONTROL FastDeviceIoControl;
  PFAST_IO_READ           FastRead;
  PFAST_IO_WRITE          FastWrite;
} KSDISPATCH_TABLE, *PKSDISPATCH_TABLE;

Members

DeviceIoControl

Specifies the minidriver's routine to dispatch IRP_MJ_DEVICE_CONTROL IRPs to.

Read

Specifies the minidriver's routine to dispatch IRP_MJ_READ IRPs to.

Write

Specifies the minidriver's routine to dispatch IRP_MJ_WRITE IRPs to.

Flush

Specifies the minidriver's routine to dispatch IRP_MJ_FLUSH_BUFFERS IRPs to.

Close

Specifies the minidriver's routine to dispatch IRP_MJ_CLOSE IRPs to.

QuerySecurity

Specifies the minidriver's routine to dispatch IRP_MJ_QUERY_SECURITY IRPs to.

SetSecurity

Specifies the minidriver's routine to dispatch IRP_MJ_SET_SECURITY IRPs to.

FastDeviceIoControl

Specifies the minidriver's routine to dispatch fast device I/O control requests to.

FastRead

Specifies the minidriver's routine to dispatch fast read requests to.

FastWrite

Specifies the minidriver's routine to dispatch fast write requests to.

Remarks

A pointer to a dispatch table is contained in the opaque object header that is the first element of data pointed to by the file object's FsContext field.

For more information about minidriver implemented IRP dispatch routines, see KsSetMajorFunctionHandler, and DRIVER_OBJECT.

Requirements

Header

Ks.h (include Ks.h)

See also

KsSetMajorFunctionHandler
DRIVER_OBJECT

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft