Introduction - If you have any usage issues, please Google them yourself
USBPort compile note- 01 (VC Knowledge Base)
1. Install DDK
2. To the inc path to fill in the DDK header file that contains the path
3. The DDK s lib path to fill in the library file that contains the path
4. HIDD_ATTRIBUTES comment out the original code structure// I do not know why the author of the definition of this structure to add
5. Add setupapi.lib
If you do not want to install the DDK, to remove the first two steps, but requires copying the relevant header files and libraries to the project directory