title: IDXGIInfoQueue is not defined when using MinGW from MSYS2
body: <p>This works on both MSVC and Clang. But on MinGW I keep getting the following error:</p>
  <pre><code>error: 'IDXGIInfoQueue' was not declared in this scope; did you mean 'ID3D11InfoQueue'?
  17 |   ComRef&lt;IDXGIInfoQueue&gt; m_DxgiInfoQueue = nullptr;
  </code></pre>
  <p>I have checked that I have included the <code>&lt;dxgidebug.h&gt;</code> header file. What might be happening here?</p>
  <p>I just need suggestions as to how to approach debugging this problem. I probably haven't provided enough information, so I will provide any more information that is needed.</p>
  <p>Any help is appreciated.</p>