Rémi Bernon (@rbernon) commented about include/dxcore_interface.idl:
+cpp_quote("DEFINE_GUID(IID_IDXCoreAdapter, 0xf0db4c7f, 0xfe5a, 0x42a2, 0xbd, 0x62, 0xf2, 0xa6, 0xcf, 0x6f, 0xc8, 0x3e);") +cpp_quote("DEFINE_GUID(DXCORE_ADAPTER_ATTRIBUTE_D3D11_GRAPHICS, 0x8c47866b, 0x7583, 0x450d, 0xf0, 0xf0, 0x6b, 0xad, 0xa8, 0x95, 0xaf, 0x4b);") +cpp_quote("DEFINE_GUID(DXCORE_ADAPTER_ATTRIBUTE_D3D12_GRAPHICS, 0x0c9ece4d, 0x2f6e, 0x4f01, 0x8c, 0x96, 0xe8, 0x9e, 0x33, 0x1b, 0x47, 0xb1);") +cpp_quote("DEFINE_GUID(DXCORE_ADAPTER_ATTRIBUTE_D3D12_CORE_COMPUTE, 0x248e2800, 0xa793, 0x4724, 0xab, 0xaa, 0x23, 0xa6, 0xde, 0x1b, 0xe0, 0x90);")
+[
- local,
- object,
- uuid(f0db4c7f-fe5a-42a2-bd62-f2a6cf6fc83e),
+] +interface IDXCoreAdapter : IUnknown +{
- BOOL IsValid();
- BOOL IsAttributeSupported(GUID attribute);
- BOOL IsPropertySupported(DXCoreAdapterProperty property);
- HRESULT GetProperty(DXCoreAdapterProperty property, SIZE_T *buffer, void *data);
```suggestion:-0+0 HRESULT GetProperty(DXCoreAdapterProperty property, size_t *buffer_size, void *buffer); ```