Retrieves information about a given image file.
HRESULT D3DXGetImageInfoFromFile( LPCSTR pSrcFile, D3DXIMAGE_INFO * pSrcInfo );
If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be the following: D3DERR_INVALIDCALL
This function supports both Unicode and ANSI strings.
Header: Declared in D3dx9tex.h.
D3DXGetImageInfoFromFileInMemory, D3DXGetImageInfoFromResource