Microsoft DirectX 8.1 (C++) |
Retrieves information about a given image file in memory.
HRESULT D3DXGetImageInfoFromFileInMemory( LPCVOID pSrcData, UINT SrcDataSize 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 |
Header: Declared in D3dx8tex.h.
Import Library: Use D3dx8.lib.