Fixes issue #357.
As it is hard to ensure that all members are always initialized otherwise, and reproducible behavior is always better.
As querying a D3D10 interface from a D3D11 device often suceeds, but returns an useless device if ID3D11DeviceContext1::SwapDeviceContextState had been called in the past.
To ensure we use kernel32.dll, instead of advapi32.dll. As depending on advapi32.dll greatly increase our chances we get detached earlier.
…ing. To avoid depending on advapi32.dll from inject.dll.