RetroArch
Classes | Macros | Typedefs | Functions
dxfile.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DXFILELOADRESOURCE
 
struct  _DXFILELOADMEMORY
 

Macros

#define DXFILEFORMAT_BINARY   0
 
#define DXFILEFORMAT_TEXT   1
 
#define DXFILEFORMAT_COMPRESSED   2
 
#define DXFILELOAD_FROMFILE   0x00L
 
#define DXFILELOAD_FROMRESOURCE   0x01L
 
#define DXFILELOAD_FROMMEMORY   0x02L
 
#define DXFILELOAD_FROMSTREAM   0x04L
 
#define DXFILELOAD_FROMURL   0x08L
 
#define WIN_TYPES(itype, ptype)   typedef interface itype *LP##ptype, **LPLP##ptype
 
#define IUNKNOWN_METHODS(kind)
 
#define IDIRECTXFILEOBJECT_METHODS(kind)
 
#define INTERFACE   IDirectXFile
 
#define INTERFACE   IDirectXFileEnumObject
 
#define INTERFACE   IDirectXFileSaveObject
 
#define INTERFACE   IDirectXFileObject
 
#define INTERFACE   IDirectXFileData
 
#define INTERFACE   IDirectXFileDataReference
 
#define INTERFACE   IDirectXFileBinary
 
#define _FACDD   0x876
 
#define MAKE_DDHRESULT(code)   MAKE_HRESULT( 1, _FACDD, code )
 
#define DXFILE_OK   0
 
#define DXFILEERR_BADOBJECT   MAKE_DDHRESULT(850)
 
#define DXFILEERR_BADVALUE   MAKE_DDHRESULT(851)
 
#define DXFILEERR_BADTYPE   MAKE_DDHRESULT(852)
 
#define DXFILEERR_BADSTREAMHANDLE   MAKE_DDHRESULT(853)
 
#define DXFILEERR_BADALLOC   MAKE_DDHRESULT(854)
 
#define DXFILEERR_NOTFOUND   MAKE_DDHRESULT(855)
 
#define DXFILEERR_NOTDONEYET   MAKE_DDHRESULT(856)
 
#define DXFILEERR_FILENOTFOUND   MAKE_DDHRESULT(857)
 
#define DXFILEERR_RESOURCENOTFOUND   MAKE_DDHRESULT(858)
 
#define DXFILEERR_URLNOTFOUND   MAKE_DDHRESULT(859)
 
#define DXFILEERR_BADRESOURCE   MAKE_DDHRESULT(860)
 
#define DXFILEERR_BADFILETYPE   MAKE_DDHRESULT(861)
 
#define DXFILEERR_BADFILEVERSION   MAKE_DDHRESULT(862)
 
#define DXFILEERR_BADFILEFLOATSIZE   MAKE_DDHRESULT(863)
 
#define DXFILEERR_BADFILECOMPRESSIONTYPE   MAKE_DDHRESULT(864)
 
#define DXFILEERR_BADFILE   MAKE_DDHRESULT(865)
 
#define DXFILEERR_PARSEERROR   MAKE_DDHRESULT(866)
 
#define DXFILEERR_NOTEMPLATE   MAKE_DDHRESULT(867)
 
#define DXFILEERR_BADARRAYSIZE   MAKE_DDHRESULT(868)
 
#define DXFILEERR_BADDATAREFERENCE   MAKE_DDHRESULT(869)
 
#define DXFILEERR_INTERNALERROR   MAKE_DDHRESULT(870)
 
#define DXFILEERR_NOMOREOBJECTS   MAKE_DDHRESULT(871)
 
#define DXFILEERR_BADINTRINSICS   MAKE_DDHRESULT(872)
 
#define DXFILEERR_NOMORESTREAMHANDLES   MAKE_DDHRESULT(873)
 
#define DXFILEERR_NOMOREDATA   MAKE_DDHRESULT(874)
 
#define DXFILEERR_BADCACHEFILE   MAKE_DDHRESULT(875)
 
#define DXFILEERR_NOINTERNET   MAKE_DDHRESULT(876)
 

Typedefs

typedef DWORD DXFILEFORMAT
 
typedef DWORD DXFILELOADOPTIONS
 
typedef struct _DXFILELOADRESOURCE DXFILELOADRESOURCE
 
typedef struct _DXFILELOADRESOURCELPDXFILELOADRESOURCE
 
typedef struct _DXFILELOADMEMORY DXFILELOADMEMORY
 
typedef struct _DXFILELOADMEMORYLPDXFILELOADMEMORY
 

Functions

 WIN_TYPES (IDirectXFile, DIRECTXFILE)
 
 WIN_TYPES (IDirectXFileEnumObject, DIRECTXFILEENUMOBJECT)
 
 WIN_TYPES (IDirectXFileSaveObject, DIRECTXFILESAVEOBJECT)
 
 WIN_TYPES (IDirectXFileObject, DIRECTXFILEOBJECT)
 
 WIN_TYPES (IDirectXFileData, DIRECTXFILEDATA)
 
 WIN_TYPES (IDirectXFileDataReference, DIRECTXFILEDATAREFERENCE)
 
 WIN_TYPES (IDirectXFileBinary, DIRECTXFILEBINARY)
 
STDAPI DirectXFileCreate (LPDIRECTXFILE *lplpDirectXFile)
 
 DECLARE_INTERFACE_ (IDirectXFile, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectXFileEnumObject, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectXFileSaveObject, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectXFileObject, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectXFileData, IDirectXFileObject)
 
 DECLARE_INTERFACE_ (IDirectXFileDataReference, IDirectXFileObject)
 
 DECLARE_INTERFACE_ (IDirectXFileBinary, IDirectXFileObject)
 
 DEFINE_GUID (CLSID_CDirectXFile, 0x4516ec43, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3)
 
 DEFINE_GUID (IID_IDirectXFile, 0x3d82ab40, 0x62da, 0x11cf, 0xab, 0x39, 0x0, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (IID_IDirectXFileEnumObject, 0x3d82ab41, 0x62da, 0x11cf, 0xab, 0x39, 0x0, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (IID_IDirectXFileSaveObject, 0x3d82ab42, 0x62da, 0x11cf, 0xab, 0x39, 0x0, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (IID_IDirectXFileObject, 0x3d82ab43, 0x62da, 0x11cf, 0xab, 0x39, 0x0, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (IID_IDirectXFileData, 0x3d82ab44, 0x62da, 0x11cf, 0xab, 0x39, 0x0, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (IID_IDirectXFileDataReference, 0x3d82ab45, 0x62da, 0x11cf, 0xab, 0x39, 0x0, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (IID_IDirectXFileBinary, 0x3d82ab46, 0x62da, 0x11cf, 0xab, 0x39, 0x0, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (TID_DXFILEHeader, 0x3d82ab43, 0x62da, 0x11cf, 0xab, 0x39, 0x0, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 

Macro Definition Documentation

◆ _FACDD

#define _FACDD   0x876

◆ DXFILE_OK

#define DXFILE_OK   0

◆ DXFILEERR_BADALLOC

#define DXFILEERR_BADALLOC   MAKE_DDHRESULT(854)

◆ DXFILEERR_BADARRAYSIZE

#define DXFILEERR_BADARRAYSIZE   MAKE_DDHRESULT(868)

◆ DXFILEERR_BADCACHEFILE

#define DXFILEERR_BADCACHEFILE   MAKE_DDHRESULT(875)

◆ DXFILEERR_BADDATAREFERENCE

#define DXFILEERR_BADDATAREFERENCE   MAKE_DDHRESULT(869)

◆ DXFILEERR_BADFILE

#define DXFILEERR_BADFILE   MAKE_DDHRESULT(865)

◆ DXFILEERR_BADFILECOMPRESSIONTYPE

#define DXFILEERR_BADFILECOMPRESSIONTYPE   MAKE_DDHRESULT(864)

◆ DXFILEERR_BADFILEFLOATSIZE

#define DXFILEERR_BADFILEFLOATSIZE   MAKE_DDHRESULT(863)

◆ DXFILEERR_BADFILETYPE

#define DXFILEERR_BADFILETYPE   MAKE_DDHRESULT(861)

◆ DXFILEERR_BADFILEVERSION

#define DXFILEERR_BADFILEVERSION   MAKE_DDHRESULT(862)

◆ DXFILEERR_BADINTRINSICS

#define DXFILEERR_BADINTRINSICS   MAKE_DDHRESULT(872)

◆ DXFILEERR_BADOBJECT

#define DXFILEERR_BADOBJECT   MAKE_DDHRESULT(850)

◆ DXFILEERR_BADRESOURCE

#define DXFILEERR_BADRESOURCE   MAKE_DDHRESULT(860)

◆ DXFILEERR_BADSTREAMHANDLE

#define DXFILEERR_BADSTREAMHANDLE   MAKE_DDHRESULT(853)

◆ DXFILEERR_BADTYPE

#define DXFILEERR_BADTYPE   MAKE_DDHRESULT(852)

◆ DXFILEERR_BADVALUE

#define DXFILEERR_BADVALUE   MAKE_DDHRESULT(851)

◆ DXFILEERR_FILENOTFOUND

#define DXFILEERR_FILENOTFOUND   MAKE_DDHRESULT(857)

◆ DXFILEERR_INTERNALERROR

#define DXFILEERR_INTERNALERROR   MAKE_DDHRESULT(870)

◆ DXFILEERR_NOINTERNET

#define DXFILEERR_NOINTERNET   MAKE_DDHRESULT(876)

◆ DXFILEERR_NOMOREDATA

#define DXFILEERR_NOMOREDATA   MAKE_DDHRESULT(874)

◆ DXFILEERR_NOMOREOBJECTS

#define DXFILEERR_NOMOREOBJECTS   MAKE_DDHRESULT(871)

◆ DXFILEERR_NOMORESTREAMHANDLES

#define DXFILEERR_NOMORESTREAMHANDLES   MAKE_DDHRESULT(873)

◆ DXFILEERR_NOTDONEYET

#define DXFILEERR_NOTDONEYET   MAKE_DDHRESULT(856)

◆ DXFILEERR_NOTEMPLATE

#define DXFILEERR_NOTEMPLATE   MAKE_DDHRESULT(867)

◆ DXFILEERR_NOTFOUND

#define DXFILEERR_NOTFOUND   MAKE_DDHRESULT(855)

◆ DXFILEERR_PARSEERROR

#define DXFILEERR_PARSEERROR   MAKE_DDHRESULT(866)

◆ DXFILEERR_RESOURCENOTFOUND

#define DXFILEERR_RESOURCENOTFOUND   MAKE_DDHRESULT(858)

◆ DXFILEERR_URLNOTFOUND

#define DXFILEERR_URLNOTFOUND   MAKE_DDHRESULT(859)

◆ DXFILEFORMAT_BINARY

#define DXFILEFORMAT_BINARY   0

◆ DXFILEFORMAT_COMPRESSED

#define DXFILEFORMAT_COMPRESSED   2

◆ DXFILEFORMAT_TEXT

#define DXFILEFORMAT_TEXT   1

◆ DXFILELOAD_FROMFILE

#define DXFILELOAD_FROMFILE   0x00L

◆ DXFILELOAD_FROMMEMORY

#define DXFILELOAD_FROMMEMORY   0x02L

◆ DXFILELOAD_FROMRESOURCE

#define DXFILELOAD_FROMRESOURCE   0x01L

◆ DXFILELOAD_FROMSTREAM

#define DXFILELOAD_FROMSTREAM   0x04L

◆ DXFILELOAD_FROMURL

#define DXFILELOAD_FROMURL   0x08L

◆ IDIRECTXFILEOBJECT_METHODS

#define IDIRECTXFILEOBJECT_METHODS (   kind)
Value:
STDMETHOD(GetName) (THIS_ LPSTR, LPDWORD) kind; \
STDMETHOD(GetId) (THIS_ LPGUID) kind

◆ INTERFACE [1/7]

#define INTERFACE   IDirectXFile

◆ INTERFACE [2/7]

#define INTERFACE   IDirectXFileEnumObject

◆ INTERFACE [3/7]

#define INTERFACE   IDirectXFileSaveObject

◆ INTERFACE [4/7]

#define INTERFACE   IDirectXFileObject

◆ INTERFACE [5/7]

#define INTERFACE   IDirectXFileData

◆ INTERFACE [6/7]

#define INTERFACE   IDirectXFileDataReference

◆ INTERFACE [7/7]

#define INTERFACE   IDirectXFileBinary

◆ IUNKNOWN_METHODS

#define IUNKNOWN_METHODS (   kind)
Value:
STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID *ppvObj) kind; \
STDMETHOD_(ULONG, AddRef) (THIS) kind; \
STDMETHOD_(ULONG, Release) (THIS) kind
static INLINE ULONG Release(void *object)
Definition: dxgi_common.h:253

◆ MAKE_DDHRESULT

#define MAKE_DDHRESULT (   code)    MAKE_HRESULT( 1, _FACDD, code )

◆ WIN_TYPES

#define WIN_TYPES (   itype,
  ptype 
)    typedef interface itype *LP##ptype, **LPLP##ptype

Typedef Documentation

◆ DXFILEFORMAT

typedef DWORD DXFILEFORMAT

◆ DXFILELOADMEMORY

◆ DXFILELOADOPTIONS

typedef DWORD DXFILELOADOPTIONS

◆ DXFILELOADRESOURCE

◆ LPDXFILELOADMEMORY

◆ LPDXFILELOADRESOURCE

Function Documentation

◆ DECLARE_INTERFACE_() [1/7]

DECLARE_INTERFACE_ ( IDirectXFile  ,
IUnknown   
)

◆ DECLARE_INTERFACE_() [2/7]

DECLARE_INTERFACE_ ( IDirectXFileEnumObject  ,
IUnknown   
)

◆ DECLARE_INTERFACE_() [3/7]

DECLARE_INTERFACE_ ( IDirectXFileSaveObject  ,
IUnknown   
)

◆ DECLARE_INTERFACE_() [4/7]

DECLARE_INTERFACE_ ( IDirectXFileObject  ,
IUnknown   
)

◆ DECLARE_INTERFACE_() [5/7]

DECLARE_INTERFACE_ ( IDirectXFileData  ,
IDirectXFileObject   
)

◆ DECLARE_INTERFACE_() [6/7]

DECLARE_INTERFACE_ ( IDirectXFileDataReference  ,
IDirectXFileObject   
)

◆ DECLARE_INTERFACE_() [7/7]

DECLARE_INTERFACE_ ( IDirectXFileBinary  ,
IDirectXFileObject   
)

◆ DEFINE_GUID() [1/9]

DEFINE_GUID ( CLSID_CDirectXFile  ,
0x4516ec43  ,
0x8f20  ,
0x11d0  ,
0x9b  ,
0x6d  ,
0x00  ,
0x00  ,
0xc0  ,
0x78  ,
0x1b  ,
0xc3   
)

◆ DEFINE_GUID() [2/9]

DEFINE_GUID ( IID_IDirectXFile  ,
0x3d82ab40  ,
0x62da  ,
0x11cf  ,
0xab  ,
0x39  ,
0x0  ,
0x20  ,
0xaf  ,
0x71  ,
0xe4  ,
0x33   
)

◆ DEFINE_GUID() [3/9]

DEFINE_GUID ( IID_IDirectXFileEnumObject  ,
0x3d82ab41  ,
0x62da  ,
0x11cf  ,
0xab  ,
0x39  ,
0x0  ,
0x20  ,
0xaf  ,
0x71  ,
0xe4  ,
0x33   
)

◆ DEFINE_GUID() [4/9]

DEFINE_GUID ( IID_IDirectXFileSaveObject  ,
0x3d82ab42  ,
0x62da  ,
0x11cf  ,
0xab  ,
0x39  ,
0x0  ,
0x20  ,
0xaf  ,
0x71  ,
0xe4  ,
0x33   
)

◆ DEFINE_GUID() [5/9]

DEFINE_GUID ( IID_IDirectXFileObject  ,
0x3d82ab43  ,
0x62da  ,
0x11cf  ,
0xab  ,
0x39  ,
0x0  ,
0x20  ,
0xaf  ,
0x71  ,
0xe4  ,
0x33   
)

◆ DEFINE_GUID() [6/9]

DEFINE_GUID ( IID_IDirectXFileData  ,
0x3d82ab44  ,
0x62da  ,
0x11cf  ,
0xab  ,
0x39  ,
0x0  ,
0x20  ,
0xaf  ,
0x71  ,
0xe4  ,
0x33   
)

◆ DEFINE_GUID() [7/9]

DEFINE_GUID ( IID_IDirectXFileDataReference  ,
0x3d82ab45  ,
0x62da  ,
0x11cf  ,
0xab  ,
0x39  ,
0x0  ,
0x20  ,
0xaf  ,
0x71  ,
0xe4  ,
0x33   
)

◆ DEFINE_GUID() [8/9]

DEFINE_GUID ( IID_IDirectXFileBinary  ,
0x3d82ab46  ,
0x62da  ,
0x11cf  ,
0xab  ,
0x39  ,
0x0  ,
0x20  ,
0xaf  ,
0x71  ,
0xe4  ,
0x33   
)

◆ DEFINE_GUID() [9/9]

DEFINE_GUID ( TID_DXFILEHeader  ,
0x3d82ab43  ,
0x62da  ,
0x11cf  ,
0xab  ,
0x39  ,
0x0  ,
0x20  ,
0xaf  ,
0x71  ,
0xe4  ,
0x33   
)

◆ DirectXFileCreate()

STDAPI DirectXFileCreate ( LPDIRECTXFILE *  lplpDirectXFile)

◆ WIN_TYPES() [1/7]

WIN_TYPES ( IDirectXFile  ,
DIRECTXFILE   
)

◆ WIN_TYPES() [2/7]

WIN_TYPES ( IDirectXFileEnumObject  ,
DIRECTXFILEENUMOBJECT   
)

◆ WIN_TYPES() [3/7]

WIN_TYPES ( IDirectXFileSaveObject  ,
DIRECTXFILESAVEOBJECT   
)

◆ WIN_TYPES() [4/7]

WIN_TYPES ( IDirectXFileObject  ,
DIRECTXFILEOBJECT   
)

◆ WIN_TYPES() [5/7]

WIN_TYPES ( IDirectXFileData  ,
DIRECTXFILEDATA   
)

◆ WIN_TYPES() [6/7]

WIN_TYPES ( IDirectXFileDataReference  ,
DIRECTXFILEDATAREFERENCE   
)

◆ WIN_TYPES() [7/7]

WIN_TYPES ( IDirectXFileBinary  ,
DIRECTXFILEBINARY   
)