Skip to content

Commit

Permalink
usbmicrosoft: add Extended Property descriptor structure.
Browse files Browse the repository at this point in the history
This does not allow actually adding properties, but since the properties
are undocumented it's not clear which ones are desired and why.

Co-authored-by: Maya <[email protected]>
Co-authored-by: Charlotte <[email protected]>
  • Loading branch information
3 people committed Sep 20, 2023
1 parent adee591 commit 73fa811
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions firmware/library/include/usbmicrosoft.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,14 @@ struct usb_desc_ms_ext_compat_id {
typedef __code const struct usb_desc_ms_ext_compat_id
usb_desc_ms_ext_compat_id_c;

struct usb_desc_ms_ext_property {
uint32_t dwLength;
uint16_t bcdVersion;
uint16_t wIndex;
uint16_t wCount;
};

typedef __code const struct usb_desc_ms_ext_property
usb_desc_ms_ext_property_c;

#endif

0 comments on commit 73fa811

Please sign in to comment.