[PATCH 3/5] d3dx11: Implement D3DX11GetImageInfoFromResource().