title: How to use DirectX 9 with multi- GPU on windows7
body: <p>I‘ve got multiple nVidia GPU Cards (Q2000) on a Windows 7 system，without SLI, only one monitor.</p>
  
  <p>Now what I'm trying to do is make a Direct3D9 device runing on a specific GPU. </p>
  
  <p>I can use the [Adapter] parameter in <code>IDirect3D9::CreateDevice</code> to choose a GPU, but unless I connect a second monitor on that GPU card, it will not work (if I've only got one desktop on Windows).</p>
  
  <p>If I click the "Detect" button in Resolution Control Panel, it can make a "fake" desktop on the side of my primary desktop, and CreateDevice(1, ...) works well - but this is not what I want.</p>
  
  <p>For OpenGL, it's easy because the WGL_NV_gpu_affinity, It can make a OpenGL device runs on the second GPU with only one monitor connected, one desktop on windows.</p>
  
  <p>I wonder if there is any API can use for Directx 9 work as "WGL_NV_gpu_affinity".</p>
  
  <p>Any hint will be very appreciated. Thanks in advance!</p>