DevicePath will be WCHAR array. You'll need to convert it to something like QString before using qDebug() etc. Or you can pass it to CreateFile, then use HidD_GetAttributes to get the above structure filled in.