Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Driver Develop
Title: USBDetect Download
 Description: This code is to traverse the PC USB device. Includes a controller hub port with ID and other information USB actually and serial port is the same, the port is fixed (if you don t pick up the extension hub). Sometimes a computer connected to a plurality of the same USB device, if have a camera (before and after each one), if we distinguish open is which one? 1, the first USB device first traversal, get the USB information (such as equipment series). 2, through the information returned when opening the USB device (this is very important for //usb#vid_1d27&pid_0600#5&10ef021e&0&5#{c3b5f022-5a42-1980-1909-ea72095601b1}). 3, traversing registry USB device information (USB_REGPATH "#define SYSTEM\\CurrentControlSet\\Enum\\USB\\"). 4, through the equipment first series, second open the device returns information, registry.You can determine the USB (controller->hub-> port)
 Downloaders recently: [More information of uploader 秦玉杰]
 To Search:
File list (Check if you may need any files):
 

USBDetect\bin\Test.exe
.........\...\USBDetect.dll
.........\Test\ReadMe.txt
.........\....\res\Test.ico
.........\....\...\Test.rc2
.........\....\resource.h
.........\....\stdafx.cpp
.........\....\stdafx.h
.........\....\targetver.h
.........\....\Test.aps
.........\....\Test.cpp
.........\....\Test.h
.........\....\Test.rc
.........\....\Test.vcproj
.........\....\Test.vcproj.PC-201008261742.Administrator.user
.........\....\TestDlg.cpp
.........\....\TestDlg.h
.........\USBDetect\cfg.h
.........\.........\cfgmgr32.h
.........\.........\cfgmgr32.lib
.........\.........\COMCTL32.LIB
.........\.........\debug.c
.........\.........\devioctl.h
.........\.........\devnode.c
.........\.........\dispaud.c
.........\.........\display.c
.........\.........\dllmain.cpp
.........\.........\enum.c
.........\.........\hid.lib
.........\.........\ReadMe.txt
.........\.........\resource.h
.........\.........\setupapi.lib
.........\.........\stdafx.cpp
.........\.........\stdafx.h
.........\.........\targetver.h
.........\.........\usb100.h
.........\.........\usbdesc.h
.........\.........\USBDetect.cpp
.........\.........\USBDetect.def
.........\.........\USBDetect.h
.........\.........\USBDetect.vcproj
.........\.........\USBDetect.vcproj.PC-201008261742.Administrator.user
.........\.........\usbioctl.h
.........\.........\usbview.c
.........\.........\usbview.h
.........\.........\vndrlist.h
.........\.........\winuser.h
.........\USBDetect.sln
.........\USBDetect.suo
.........\界面.JPG
.........\说明.txt
.........\Test\res
.........\bin
.........\Test
.........\USBDetect
USBDetect
    

CodeBus www.codebus.net