title: DirectX9 Multiple Video Card
body: <p>there is an <a href="https://stackoverflow.com/questions/9509330/c-directx-11-multiple-video-cards">answer</a> about DirectX11, but DirectX9 is different.</p>
  
  <p>The first parameter of IDirect3D9::CreateDevice and IDirect3D9Ex::CreateDevice is <code>UINT Adapter</code>, it should be a number between 0 and one less than the result of IDirect3D::GetAdapterCount</p>
  
  <p>but the GetAdapterCount returns <code>1</code>, even my laptop have two video cards(one is Intel HD Graphics 3000, another is AMD HD7400M)</p>
  
  <p>I can get the second video card by IDXGIFactory::EnumAdapters in DirectX11, so how can i get to it in DirectX 9?</p>