سؤال

How can you check if an MIDI device is also an USB device?

Seems that checking for this string "\\?\\usb" in the device identifier is not enough all the time.

هل كانت مفيدة؟

المحلول

Use CM_Get_Parent (recursively) to find out whether the MIDI device is connected beneath a USB root port.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top