| ?/TD> |
| Microsoft DirectX 9.0 |
The methods used to work with Microsoft?DirectX?.x files can return the following values in addition to the standard Component Object Model (COM) return values.
Syntax
typedef enum {
DXFILE_OK,
DXFILEERR_BADALLOC,
DXFILEERR_BADARRAYSIZE,
DXFILEERR_BADCACHEFILE,
DXFILEERR_BADDATAREFERENCE,
DXFILEERR_BADFILE,
DXFILEERR_BADFILECOMPRESSIONTYPE,
DXFILEERR_BADFILEFLOATSIZE,
DXFILEERR_BADFILETYPE,
DXFILEERR_BADFILEVERSION,
DXFILEERR_BADINTRINSICS,
DXFILEERR_BADOBJECT,
DXFILEERR_BADRESOURCE,
DXFILEERR_BADTYPE,
DXFILEERR_BADVALUE,
DXFILEERR_FILENOTFOUND,
DXFILEERR_INTERNALERROR,
DXFILEERR_NOINTERNET,
DXFILEERR_NOMOREDATA,
DXFILEERR_NOMOREOBJECTS,
DXFILEERR_NOMORESTREAMHANDLES,
DXFILEERR_NOTDONEYET,
DXFILEERR_NOTFOUND,
DXFILEERR_PARSEERROR,
DXFILEERR_RESOURCENOTFOUND,
DXFILEERR_NOTEMPLATE,
DXFILEERR_URLNOTFOUND
} Return Values;
Constants
- DXFILE_OK
Command completed successfully.
- DXFILEERR_BADALLOC
Memory allocation failed.
- DXFILEERR_BADARRAYSIZE
Array size is invalid.
- DXFILEERR_BADCACHEFILE
The 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_BADDATAREFERENCE
Data reference is invalid.
- DXFILEERR_BADFILE
File is invalid.
- DXFILEERR_BADFILECOMPRESSIONTYPE
File compression type is invalid.
- DXFILEERR_BADFILEFLOATSIZE
Floating-point size is invalid.
- DXFILEERR_BADFILETYPE
File is not a DirectX .x file.
- DXFILEERR_BADFILEVERSION
File version is not valid.
- DXFILEERR_BADINTRINSICS
Intrinsics are invalid.
- DXFILEERR_BADOBJECT
Object is invalid.
- DXFILEERR_BADRESOURCE
Resource is invalid.
- DXFILEERR_BADTYPE
Object type is invalid.
- DXFILEERR_BADVALUE
Parameter is invalid.
- DXFILEERR_FILENOTFOUND
File could not be found.
- DXFILEERR_INTERNALERROR
Internal error occurred.
- DXFILEERR_NOINTERNET
Internet connection not found.
- DXFILEERR_NOMOREDATA
No further data is available.
- DXFILEERR_NOMOREOBJECTS
All objects have been enumerated.
- DXFILEERR_NOMORESTREAMHANDLES
No stream handles are available.
- DXFILEERR_NOTDONEYET
Operation has not completed.
- DXFILEERR_NOTFOUND
Object could not be found.
- DXFILEERR_PARSEERROR
File could not be parsed.
- DXFILEERR_RESOURCENOTFOUND
Resource could not be found.
- DXFILEERR_NOTEMPLATE
No template available.
- DXFILEERR_URLNOTFOUND
URL could not be found.
Enumerated Type Information
Minimum operating systems Windows 98, Windows NT 2000, Windows XP