IDirect3DRMTexture2::InitFromFile
Initializes a Direct3DRMTexture2 object using the information in a given file.
HRESULT InitFromFile(
LPCSTR filename
);
Parameters
filename
A string that specifyies the file from which the texture initialization information is drawn.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
Remarks
You must have created the Direct3DRMTexture2 object to be initialized using the IDirect3DRM2::CreateTexture or IDirect3DRM2::CreateTextureFromSurface methods.
See Also
IDirect3DRMTexture2::InitFromImage, IDirect3DRMTexture2::InitFromResource2, IDirect3DRMTexture2::InitFromSurface