From 47ee8afc683438681408d0bc7869b6678aec3daa Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Tue, 21 May 2002 19:29:00 +0000 Subject: [PATCH] Fixed Unload routine prototype. svn path=/trunk/; revision=2971 --- reactos/include/ddk/iotypes.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/reactos/include/ddk/iotypes.h b/reactos/include/ddk/iotypes.h index dae1805a047..5bfde8d7da7 100644 --- a/reactos/include/ddk/iotypes.h +++ b/reactos/include/ddk/iotypes.h @@ -1,4 +1,4 @@ -/* $Id: iotypes.h,v 1.37 2002/05/05 14:57:38 chorns Exp $ +/* $Id: iotypes.h,v 1.38 2002/05/21 19:29:00 ekohl Exp $ * */ @@ -724,18 +724,21 @@ typedef NTSTATUS STDCALL IN struct _IRP *Irp); /* - * Dispatch routine type declaration + * StartIo routine type declaration */ typedef VOID STDCALL (*PDRIVER_STARTIO)(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp); /* - * Dispatch routine type declaration + * Unload routine type declaration */ -typedef NTSTATUS STDCALL -(*PDRIVER_UNLOAD)(struct _DRIVER_OBJECT*); +typedef VOID STDCALL +(*PDRIVER_UNLOAD)(IN struct _DRIVER_OBJECT *DriverObject); +/* + * AddDevice routine type declaration + */ typedef NTSTATUS STDCALL (*PDRIVER_ADD_DEVICE)(IN struct _DRIVER_OBJECT *DriverObject, IN struct _DEVICE_OBJECT *PhysicalDeviceObject);