title: DirectInput8Create fails : E_INVALIDARG
body: <p>I'm using DirectInput with Direct3D 11, and compiling for x64 and I get an E_INVALIDARG from this line:</p>
  
  <pre><code>HRESULT hr = DirectInput8Create(hInstance, DIRECTINPUT_VERSION, IID_IDirectInput8, reinterpret_cast&lt;void **&gt;(&amp;this-&gt;_d8Input), 0);
  </code></pre>
  
  <p>When I set a break point to look at what is going on I get no sign of any invalid arguments. My hInstance is valid, so is the _d8Input pointer and the DIRECTINPUT_VERSION is set to 0x0800.</p>
  
  <p>I've used direct input with D3D9 before, in the exact same way and didn't have any problems.
  What am I missing ?</p>
  
  <p>Thanks.</p>