*/
#include "usbehci.h"
+#include <hubbusif.h>
+#include <usbbusif.h>
/*
Get SymblicName from Parameters in Registry Key
return ObjectName;
}
+PUSB_DEVICE DeviceHandleToUsbDevice(PPDO_DEVICE_EXTENSION PdoDeviceExtension, PUSB_DEVICE_HANDLE DeviceHandle)
+{
+ LONG i;
+
+ for (i=0; i<127; i++)
+ {
+ if (PdoDeviceExtension->UsbDevices[i] == (PUSB_DEVICE)DeviceHandle)
+ return (PUSB_DEVICE)DeviceHandle;
+ }
+ return NULL;
+}