OpenCBM
Functions
startio.c File Reference

StartIo function for processing the IRP queue. More...

#include <wdm.h>
#include "cbm_driver.h"

Go to the source code of this file.

Functions

NTSTATUS cbm_startio (IN PDEVICE_OBJECT Fdo, IN PIRP Irp)
 Execute an IRP. More...
 

Detailed Description

StartIo function for processing the IRP queue.



Author
Spiro Trikaliotis

Definition in file startio.c.

Function Documentation

NTSTATUS cbm_startio ( IN PDEVICE_OBJECT  Fdo,
IN PIRP  Irp 
)

Execute an IRP.

This function executes an IRP. Normally, it is called from as StartIo() routine from the QUEUE, but it can be called directly (for example, if FastStart is selected).

Parameters
FdoPointer to the DEVICE_OBJECT of the FDO.
IrpPointer to the IRP to be executed.
Returns
If everything works as expected, this function returns STATUS_SUCCESS. If not, it returns an appropriate error value.

Definition at line 39 of file startio.c.

References cbm_execute_close(), cbm_execute_createopen(), cbm_execute_devicecontrol(), cbm_execute_readwrite(), DBG_ASSERT, DBG_ERROR, DBG_PREFIX, FUNC_ENTER, and PERF_EVENT_STARTIO.

Referenced by AddDeviceCommonInit().