TDI_STATUS
TdiDispatchDeviceControl (
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp,
IN PIO_STACK IrpSp
);
TdiDispatchDeviceControl is a TDI driver function that processes IRPs with the major function code IRP_MJ_DEVICE_CONTROL.
Parameters
DeviceObject
Points to the device object that describes the TDI driver.
Irp
Points to the IRP.
IrpSp
Points to the current IRP stack frame.
Return Value
TdiDispatchDeviceControl can return the following status code only:
STATUS_PENDING
For more information about status codes, see Part II, Chapter 10.