mirror of
https://github.com/reactos/reactos.git
synced 2025-06-04 08:50:27 +00:00
[USBCCGP]
- Add a DriverUnload handler as required by WDM spec svn path=/trunk/; revision=56064
This commit is contained in:
parent
f706d2ed15
commit
bb4fbc5ac7
1 changed files with 8 additions and 0 deletions
|
@ -137,6 +137,13 @@ USBCCGP_Dispatch(
|
|||
}
|
||||
}
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
USBCCGP_Unload(PDRIVER_OBJECT DriverObject)
|
||||
{
|
||||
DPRINT("[USBCCGP] Unload\n");
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DriverEntry(
|
||||
|
@ -153,6 +160,7 @@ DriverEntry(
|
|||
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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue