Rémi Bernon (@rbernon) commented about include/windows.graphics.capture.idl:
uuid(2224a540-5974-49aa-b232-0882536f4cb5)
- ]
- interface IGraphicsCaptureSessionStatics : IInspectable
- {
HRESULT IsSupported([out, retval] boolean *result);
- }
- [
contract(Windows.Foundation.UniversalApiContract, 6.0),
marshaling_behavior(agile),
static(Windows.Graphics.Capture.IGraphicsCaptureSessionStatics, Windows.Foundation.UniversalApiContract, 6.0),
threading(both)
- ]
- runtimeclass GraphicsCaptureSession
- {
[default] interface Windows.Graphics.Capture.IGraphicsCaptureSession;
```suggestion:-0+0 [default] interface Windows.Graphics.Capture.IGraphicsCaptureSession; [contract(Windows.Foundation.UniversalApiContract, 10.0)] interface Windows.Graphics.Capture.IGraphicsCaptureSession2; [contract(Windows.Foundation.UniversalApiContract, 12.0)] interface Windows.Graphics.Capture.IGraphicsCaptureSession3; interface Windows.Foundation.IClosable; ```
With maybe the forward declarations though you might skip them as they are not even needed.