Rémi Bernon (@rbernon) commented about include/windows.devices.usb.idl:
+ runtimeclass UsbSetupPacket; + + declare { + interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Devices.Usb.UsbDevice *>; + interface Windows.Foundation.IAsyncOperation<Windows.Devices.Usb.UsbDevice *>; + } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Devices.Usb.UsbDevice), + uuid(5249b992-c456-44d5-ad5e-24f5a089f63b) + ] + interface IUsbDevice : IInspectable + requires Windows.Foundation.IClosable + { + [overload("SendControlOutTransferAsync")] HRESULT SendControlOutTransferAsync(
[overload("SendControlOutTransferAsync")]
HRESULT SendControlOutTransferAsync(
Same for the other long functions with attributes. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3271#note_38392