[PATCH v4 1/6] d3dx10: Don't ignore HRESULT parameter in D3DX10CreateTextureFromMemory.