27 #ifndef SB_WINDOWS_USB_DEVICE_UTILS_H_
28 #define SB_WINDOWS_USB_DEVICE_UTILS_H_
86 hubFile(INVALID_HANDLE_VALUE) {}
111 nsAString& aDriverKey);
144 #endif // SB_WINDOWS_USB_DEVICE_UTILS_H_
nsresult sbWinUSBHubGetPortDriverKey(HANDLE aHubFile, ULONG aPortIndex, nsAString &aDriverKey)
SB_AUTO_NULL_CLASS(sbAutoWinUSBDeviceRef, sbWinUSBDeviceRef *, sbWinUSBDeviceCloseRef(mValue))
nsresult sbWinUSBMSCGetLUN(DEVINST aDevInst, PRUint32 *aLUN)
nsresult sbWinUSBDeviceOpenRef(DEVINST aDevInst, sbWinUSBDeviceRef *aDeviceInfo)
nsresult sbWinUSBHubFindDevicePort(HANDLE aHubFile, DEVINST aDevInst, ULONG *aPortIndex)
nsresult sbWinUSBDeviceCloseRef(sbWinUSBDeviceRef *aDeviceInfo)
Songbird USB Device Utilities Definitions.
nsresult sbWinUSBDeviceGetHubAndPort(DEVINST aDevInst, HANDLE *aHubFile, ULONG *aPortIndex)