After seeing the structure of D3D11:
- IDXGIDevice, IDXGIResource, IDXGISurface should be implemented in a library function so to be imported to d3d11
- Move any of those creations back to d3d11, keep the dxgi creation method that references the library function for d3d10 vista rtm api
After seeing the structure of D3D11: