Click here to Skip to main content
15,900,108 members

Comments by Member 12701845 (Top 6 by date)

Member 12701845 23-May-17 20:43pm View    
I have tried doing different methods with GUID_DEVINTERFACE_USB_DEVICE but none of them seem to work. It looks like only DeviceIOControl has public methods for GUID_DEVINTERFACE_USB_HUB, GUID_DEVINTERFACE_USB_HOST_CONTROLLER. I learned what codes worked with them by looking at the header file they're declared in and them from the microsoft website to get more detail on that.

https://msdn.microsoft.com/en-us/library/windows/hardware/ff537236%28v=vs.85%29.aspx

I'll just have to work on it from there at this point. thank you for the help
Member 12701845 22-May-17 0:01am View    
I tried your solution and it is still not working for me. I now get error 1 for both of the functions still. Did you get the functions to work properly without when you ran it?
Member 12701845 25-Aug-16 9:46am View    
That was it.
Thank you
Member 12701845 25-Aug-16 9:39am View    
I looked at your EDIT and that helped with my problem. I just cut out printing the variable and now it prints out that "Creating File Did work". Now it crashes at the "close(webcam)" line with error 0xC0000096
Member 12701845 25-Aug-16 9:09am View    
I tried running as administrator for both read and write and read only and it still gives me the same crash with the same error.