2.2.4.62 USB_DEVICE_MICROSOFT_OS_DESCRIPTOR_SUPPORT_ENABLE Macro
C
#define USB_DEVICE_MICROSOFT_OS_DESCRIPTOR_SUPPORT_ENABLE
Summary
USB Device Layer Microsoft OS Descriptor Support Enable
This macro needs to be defined to enable Microsoft OS descriptor support. If this macro is defined all Vendor Interface requests are forwarded to client unconditionally and Device layer does not validate the recipient interface field in a Control transfer.
Device and Class Control Requests are not affected by this configuration. The Device Layer will validate the recipient interface in Device and Class Control Requests, irrespective of this configuration constant, and will stall these requests if the interface is provisioned in the Function Driver Registration Table.
If this macro is not defined, then USB Device Layer will validate the interface number in a Vendor Interface request and stall the request if Interface number is not available in the Function registration table.