?/TD> |
Microsoft DirectX 9.0 |
Retrieves information about a given image file in memory.
Syntax
HRESULT D3DXGetImageInfoFromFileInMemory(
LPCVOID pSrcData, UINT SrcDataSize, D3DXIMAGE_INFO *pSrcInfo );
Parameters
- pSrcData
- [in] VOID pointer to the source file in memory.
- SrcDataSize
- [in] Size of file in memory, in bytes. .
- pSrcInfo
- [in] Pointer to a D3DXIMAGE_INFO structure to be filled with the description of the data in the source file.
Return Value
If the function succeeds, the return value is D3D_OK.
If the function fails, the return value can be the following.
D3DERR_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value.
Function Information
Header d3dx9tex.h Import library d3dx9.lib Minimum operating systems Windows 98
See Also
D3DXGetImageInfoFromFile, D3DXGetImageInfoFromResource