Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

cleanup.c File Reference

Process an IRP_MJ_CLEANUP. More...

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

Go to the source code of this file.

Functions

NTSTATUS cbm_cleanup (IN PDEVICE_OBJECT Fdo, IN PIRP Irp)
 Services IRPs containing the IRP_MJ_CLEANUP I/O function code.


Detailed Description

Process an IRP_MJ_CLEANUP.

**************************************************************

Author:
Spiro Trikaliotis
Version:
Id
cleanup.c,v 1.9 2006/02/24 12:01:19 trikalio Exp


Definition in file cleanup.c.


Function Documentation

NTSTATUS cbm_cleanup IN PDEVICE_OBJECT  Fdo,
IN PIRP  Irp
 

Services IRPs containing the IRP_MJ_CLEANUP I/O function code.

Services IRPs containing the IRP_MJ_CREATE I/O function code.

Parameters:
Fdo Pointer to a DEVICE_OBJECT structure. This is the device object for the target device, previously created by the driver's AddDevice routine.
Irp Pointer to an IRP structure that describes the requested I/O operation.
Returns:
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it return one of the error status values.
The driver's DriverEntry routine has stored this routine's address in DriverObject->MajorFunction[IRP_MJ_CLEANUP].

Definition at line 45 of file cleanup.c.

References FUNC_ENTER, QueueCleanup(), and QueueCompleteIrp().

Referenced by DriverCommonInit().


Generated on Sun Apr 30 18:46:06 2006 for opencbm by  doxygen 1.4.2