title: DirectX 11 GetDisplayModeList() fails in Remote Desktop Connection
body: <p>Good afternoon,</p>
  
  <p>I have a barebone Direct3D App that works on a host PC, but fails to initialize DirectX while running via remote desktop.</p>
  
  <p>I traced the failure to this call, where it fails with </p>
  
  <pre><code>    result = adapterOutput-&gt;GetDisplayModeList(DXGI_FORMAT_R8G8B8A8_UNORM, DXGI_ENUM_MODES_INTERLACED, &amp;numModes, NULL);
      if(FAILED(result))
      {
          return false;
      }
  </code></pre>
  
  <p>It fails with:</p>
  
  <p><code>result = 0x887a0022 : A resource is not available at the time of the call, but may become available later.</code></p>
  
  <p>The full initialization code is from Rastertek tutorials, found here:
  <a href="http://www.rastertek.com/dx11tut03.html" rel="nofollow noreferrer">http://www.rastertek.com/dx11tut03.html</a></p>
  
  <p>Does anyone know a workaround for this problem?</p>