IDirect3DRMTexture::InitFromFile
HRESULT InitFromFile(const char *filename);
Initializes a texture by using the information in a given file.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
filename
Address of a string specifying the file from which initialization information is drawn.