I have a custom language monitor.I am using pfnGetPrinterDataFromPort api of USBMON. Can i use this api to fetch the device path, vendor id and product id for the usb connected device?
If yes then can someone help me find out the control ID which can be used to fetch the vendor ID and product ID.
I can retrieve the 1284 string using the control ID CTL_CODE(FILE_DEVICE_UNKNOWN, 0x0000 + 13, METHOD_BUFFERED, FILE_ANY_ACCESS). but i need the vendor ID which is not present in 1284 string.
Thanks in advance.