* Minimal sample code (copied from SDL):
```
#define COBJMACROS
#include <d3d12.h>
int main() {
ID3D12DescriptorHeap_GetCPUDescriptorHandleForHeapStart(NULL, NULL);
}
```
* Error output:
error: macro "ID3D12DescriptorHeap_GetCPUDescriptorHandleForHeapStart"
passed 2 arguments, but takes just 1
After adding #define WIDL_C_INLINE_WRAPPERS, this is shown:
error: multiple storage classes in in declaration specifiers
This happens only when the method in interface returns a structure,
* Issues:
- https://github.com/m-ab-s/media-autobuild_suite/issues/2208
- https://github.com/microsoft/DirectX-Headers/issues/62
* Docs:
- https://news.russellsaw.io/article?id=art_4qfDEhAdkMA
- https://devblogs.microsoft.com/oldnewthing/20220113-00/?p=106152
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public