Question about D2D / D3D11 Interoperativity RRS feed

  • Question

  • Hello I have downloaded a sample of d2d/d3d10 interop from msdn and I have converted it to d3d11 however I am stucked at this point:

            // Create a Direct2D render target which can draw into the surface in the swap chain
            hr = m_pD2DFactory->CreateDxgiSurfaceRenderTarget(

    The device has been created in D3D_FEATURE_LEVEL_10_0 with flags = D3D11_CREATE_DEVICE_BGRA_SUPPORT and I fixed fxc build step to correctly build the shader in 5.0. Everything goes fine until I reach this point, I have debugged the original sample and my modified one and both are doing the same things, one in d3d10 and the other in d3d11. But This call fails returning E_NOINTERFACE. I have the february 2010 DirectX SDK.

    May I have an old platform SDK or I can't simply interop right now with d3d11 rendertargets?


    Isaac Lascasas.
    • Edited by pisiiki Tuesday, March 2, 2010 8:14 PM typos
    Tuesday, March 2, 2010 8:13 PM