Connection to contactless card reader
-
Hello there, i'm trying to connect to a contactless card reader via USB. I'm using the SetupDiGetClassDevs -> SetupDiEnumDeviceInterfaces -> SetupDiGetDeviceInterfaceDetail -> CreateFile-> DeviceIoControl But unfortuantly my method fails. I cant get the device handle from CreateFile , because the USB divice name that i get from the SetupDiGetDeviceInterfaceDetail cannot be directly used for the CreateFile. My USB device name is \\\\?\\usb#vid_072f&pid_8003#5&1903a12b&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed} But i guess the string has to be formatted is some kind of way so it can be used in the CreateFile method/ Please help !
-
Hello there, i'm trying to connect to a contactless card reader via USB. I'm using the SetupDiGetClassDevs -> SetupDiEnumDeviceInterfaces -> SetupDiGetDeviceInterfaceDetail -> CreateFile-> DeviceIoControl But unfortuantly my method fails. I cant get the device handle from CreateFile , because the USB divice name that i get from the SetupDiGetDeviceInterfaceDetail cannot be directly used for the CreateFile. My USB device name is \\\\?\\usb#vid_072f&pid_8003#5&1903a12b&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed} But i guess the string has to be formatted is some kind of way so it can be used in the CreateFile method/ Please help !