[PATCH v3 2/2] d3dx10: Implement D3DX10GetImageInfoFromMemory().