Author: janderwald
Date: Sat Nov 8 09:26:21 2014
New Revision: 65314
URL:
http://svn.reactos.org/svn/reactos?rev=65314&view=rev
Log:
[USBHUB]
- register device interface GUID_DEVINTERFACE_USB_DEVICE for usb devices
Modified:
trunk/reactos/drivers/usb/usbhub/pdo.c
Modified: trunk/reactos/drivers/usb/usbhub/pdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbhub/pdo.c?r…
==============================================================================
--- trunk/reactos/drivers/usb/usbhub/pdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbhub/pdo.c [iso-8859-1] Sat Nov 8 09:26:21 2014
@@ -17,6 +17,9 @@
#include <debug.h>
#define IO_METHOD_FROM_CTL_CODE(ctlCode) (ctlCode&0x00000003)
+
+DEFINE_GUID(GUID_DEVINTERFACE_USB_DEVICE,
+ 0xA5DCBF10L, 0x6530, 0x11D2, 0x90, 0x1F, 0x00, 0xC0, 0x4F, 0xB9, 0x51, 0xED);
NTSTATUS
NTAPI
@@ -408,8 +411,9 @@
ASSERT(ChildDeviceExtension->Common.IsFDO == FALSE);
//
- // FIXME: Fow now assume success
- //
+ // register device interface
+ //
+ IoRegisterDeviceInterface(DeviceObject, &GUID_DEVINTERFACE_USB_DEVICE, NULL,
&ChildDeviceExtension->SymbolicLinkName);
UNIMPLEMENTED
return STATUS_SUCCESS;