// ks.h
KSDDKAPI NTSTATUS KsDispatchIrp(
[in] PDEVICE_OBJECT DeviceObject,
[in] PIRP Irp
);
View the official Windows Driver Kit DDI reference
No description available.
KsDispatchIrp calls a dispatch routine corresponding to the function code of the specified IRP. KsDispatchIrp then returns the status code from this call.
DeviceObject
[in]Specifies a pointer to the DEVICE_OBJECT to which the specific file object belongs.
Irp
[in]Contains the IRP for which to call a dispatch routine.
Returns the status code returned from the dispatch routine.
A KSDISPATCH_TABLE can be contained in the stack location's file object's FsContext member. KsDispatchIrp calls the dispatch routine listed in this dispatch table for that major code.