Author: cgutman
Date: Tue Mar 6 21:24:36 2012
New Revision: 56064
URL:
http://svn.reactos.org/svn/reactos?rev=56064&view=rev
Log:
[USBCCGP]
- Add a DriverUnload handler as required by WDM spec
Modified:
trunk/reactos/drivers/usb/usbccgp/usbccgp.c
Modified: trunk/reactos/drivers/usb/usbccgp/usbccgp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbccgp/usbccg…
==============================================================================
--- trunk/reactos/drivers/usb/usbccgp/usbccgp.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbccgp/usbccgp.c [iso-8859-1] Tue Mar 6 21:24:36 2012
@@ -137,6 +137,13 @@
}
}
+VOID
+NTAPI
+USBCCGP_Unload(PDRIVER_OBJECT DriverObject)
+{
+ DPRINT("[USBCCGP] Unload\n");
+}
+
NTSTATUS
NTAPI
DriverEntry(
@@ -153,6 +160,7 @@
DriverObject->MajorFunction[IRP_MJ_INTERNAL_DEVICE_CONTROL] = USBCCGP_Dispatch;
DriverObject->MajorFunction[IRP_MJ_POWER] = USBCCGP_Dispatch;
DriverObject->MajorFunction[IRP_MJ_PNP] = USBCCGP_Dispatch;
+ DriverObject->DriverUnload = USBCCGP_Unload;
/* FIMXE query GenericCompositeUSBDeviceString */