D3DXFERR Return Values
Header: d3dx9xof.h
The methods used to work with DirectX .x files can return the following values in addition to the standard COM return values.
| Symbolic | Code | Description |
|---|---|---|
| D3DXFERR_BADARRAYSIZE | An array exceeds the allowable size. | |
| D3DXFERR_BADCACHEFILE | A cache file could not be read. | |
| D3DXFERR_BADDataReference | Template member data could not be retrieved. | |
| D3DXFERR_BADFILE | A file read or write operation failed. | |
| D3DXFERR_BADFILEFLOATSIZE | File is not the expected size. | |
| D3DXFERR_BADFILETYPE | File has an invalid format. | |
| D3DXFERR_BADFILEVERSION | File has an invalid format version. | |
| D3DXFERR_BADOBJECT | Data could not be read from or written to an object. | |
| D3DXFERR_BADRESOURCE | An operation on a resource failed. | |
| D3DXFERR_BADTYPE | File did not match known template types. | |
| D3DXFERR_BADVALUE | A variable is outside its expected range; typically returned when an object pointer is invalid. | |
| D3DXFERR_FILENOTFOUND | A valid handle could not be found for the specified file. | |
| D3DXFERR_NOMOREDATA | Pointer offset extended beyond the end of the buffer. | |
| D3DXFERR_NOMOREOBJECTS | No more child objects are available. | |
| D3DXFERR_NOTDONEYET | Data type did not match allowed types. | |
| D3DXFERR_NOTFOUND | Object could not be found from the specified parameters. | |
| D3DXFERR_PARSEERROR | Data stream could not be parsed. | |
| D3DXFERR_RESOURCENOTFOUND | A valid handle could not be found for the specified resource. | |
| 18 entries | ||
Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.