Creates an enumerator object that will read a .x file.
HRESULT CreateEnumObject( LPCVOID pvSource, D3DXF_FILELOADOPTIONS loadflags, ID3DXFileEnumObject ** ppEnumObj );
If the method succeeds, the return value is S_OK. If the method fails, the return value can be one of the following: D3DXFERR_BADVALUE, D3DXFERR_PARSEERROR.
After using this method, use one of the ID3DXFileEnumObject methods to retrieve a data object.
Header: Declared in D3dx9xof.h.