Return Values

Header: dxfile.h

The methods used to work with DirectX .x files can return the following values in addition to the standard COM return values. Deprecated.

SymbolicCodeDescription
DXFILE_OKCommand completed successfully.
DXFILEERR_BADALLOCMemory allocation failed.
DXFILEERR_BADARRAYSIZEArray size is invalid.
DXFILEERR_BADCACHEFILEThe cache file containing the .x file date is invalid. A cache file contains data retrieved from the network, cached on the hard disk, and retrieved in subsequent requests.
DXFILEERR_BADDataReferenceData reference is invalid.
DXFILEERR_BADFILEFile is invalid.
DXFILEERR_BADFILECOMPRESSIONTYPEFile compression type is invalid.
DXFILEERR_BADFILEFLOATSIZEFloating-point size is invalid.
DXFILEERR_BADFILETYPEFile is not a DirectX .x file.
DXFILEERR_BADFILEVERSIONFile version is not valid.
DXFILEERR_BADINTRINSICSIntrinsics are invalid.
DXFILEERR_BADOBJECTObject is invalid.
DXFILEERR_BADRESOURCEResource is invalid.
DXFILEERR_BADSTREAMHANDLEStream handle is invalid.
DXFILEERR_BADTYPEObject type is invalid.
DXFILEERR_BADVALUEParameter is invalid.
DXFILEERR_FILENOTFOUNDFile could not be found.
DXFILEERR_INTERNALERRORInternal error occurred.
DXFILEERR_NOINTERNETInternet connection not found.
DXFILEERR_NOMOREDATANo further data is available.
DXFILEERR_NOMOREOBJECTSAll objects have been enumerated.
DXFILEERR_NOMORESTREAMHANDLESNo stream handles are available.
DXFILEERR_NOTDONEYETOperation has not completed.
DXFILEERR_NOTFOUNDObject could not be found.
DXFILEERR_PARSEERRORFile could not be parsed.
DXFILEERR_RESOURCENOTFOUNDResource could not be found.
DXFILEERR_NOTEMPLATENo template available.
DXFILEERR_URLNOTFOUNDURL could not be found.
28 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.