[PATCH 2/6] d3dx10: Use WIC functions to obtain info about DDS image.