title: DirectX: Get InfoQueue before Device
body: <p>Is there a way to get the InfoQueue or set the break parameters before the Device is created?</p>
  <p>Right now i am creating the Device and then getting the InfoQueue, but any messages that are emitted before that point are going to be ignored and buried in the output window.</p>
  <pre><code>ID3D11Device* pDevice;
  //...Create Device...
  ID3D11InfoQueue* pInfoQueue;
  pDevice-&gt;QueryInterface(__uuidof(ID3D11InfoQueue), &amp;pInfoQueue);
  pInfoQueue-&gt;SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_ERROR, TRUE);
  </code></pre>
  <p>And I want something like:</p>
  <pre><code>ID3D11InfoQueue* pInfoQueue;
  //...Get InfoQueue...
  pInfoQueue-&gt;SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_ERROR, TRUE);
  ID3D11Device* pDevice;
  //...Create Device...
  </code></pre>