D3DXCreateTextureFromFileA

Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
version(Windows)
extern (Windows)
HRESULT
D3DXCreateTextureFromFileA
(
LPDIRECT3DDEVICE9 pDevice
,
LPCTSTR pSrcFile
,
LPDIRECT3DTEXTURE9* ppTexture
)

Meta