ReactOS  0.4.14-dev-608-gd495a4f
dxfile.h File Reference
#include <objbase.h>
#include <winnt.h>
Include dependency graph for dxfile.h:
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 INTERFACE   IDirectXFile
 
#define IDirectXFile_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectXFile_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectXFile_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectXFile_CreateEnumObject(p, a, b, c)   (p)->lpVtbl->CreateEnumObject(p,a,b,c)
 
#define IDirectXFile_CreateSaveObject(p, a, b, c)   (p)->lpVtbl->CreateSaveObject(p,a,b,c)
 
#define IDirectXFile_RegisterTemplates(p, a, b)   (p)->lpVtbl->RegisterTemplates(p,a,b)
 
#define INTERFACE   IDirectXFileEnumObject
 
#define IDirectXFileEnumObject_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectXFileEnumObject_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectXFileEnumObject_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectXFileEnumObject_GetNextDataObject(p, a)   (p)->lpVtbl->GetNextDataObject(p,a)
 
#define IDirectXFileEnumObject_GetDataObjectById(p, a, b)   (p)->lpVtbl->GetDataObjectById(p,a,b)
 
#define IDirectXFileEnumObject_GetDataObjectByName(p, a, b)   (p)->lpVtbl->GetDataObjectByName(p,a,b)
 
#define INTERFACE   IDirectXFileSaveObject
 
#define IDirectXFileSaveObject_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectXFileSaveObject_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectXFileSaveObject_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectXFileSaveObject_SaveTemplates(p, a, b)   (p)->lpVtbl->SaveTemplates(p,a,b)
 
#define IDirectXFileSaveObject_CreateDataObject(p, a, b, c, d, e, f)   (p)->lpVtbl->CreateDataObject(p,a,b,c,d,e,f)
 
#define IDirectXFileSaveObject_SaveData(p, a)   (p)->lpVtbl->SaveData(p,a)
 
#define IUNKNOWN_METHODS(kind)
 
#define IDIRECTXFILEOBJECT_METHODS(kind)
 
#define INTERFACE   IDirectXFileObject
 
#define IDirectXFileObject_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectXFileObject_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectXFileObject_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectXFileObject_GetName(p, a, b)   (p)->lpVtbl->GetName(p,a,b)
 
#define IDirectXFileObject_GetId(p, a)   (p)->lpVtbl->GetId(p,a)
 
#define INTERFACE   IDirectXFileData
 
#define IDirectXFileData_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectXFileData_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectXFileData_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectXFileData_GetName(p, a, b)   (p)->lpVtbl->GetName(p,a,b)
 
#define IDirectXFileData_GetId(p, a)   (p)->lpVtbl->GetId(p,a)
 
#define IDirectXFileData_GetData(p, a, b, c)   (p)->lpVtbl->GetData(p,a,b,c)
 
#define IDirectXFileData_GetType(p, a)   (p)->lpVtbl->GetType(p,a)
 
#define IDirectXFileData_GetNextObject(p, a)   (p)->lpVtbl->GetNextObject(p,a)
 
#define IDirectXFileData_AddDataObject(p, a)   (p)->lpVtbl->AddDataObject(p,a)
 
#define IDirectXFileData_AddDataReference(p, a, b)   (p)->lpVtbl->AddDataReference(p,a,b)
 
#define IDirectXFileData_AddBinaryObject(p, a, b, c, d, e)   (p)->lpVtbl->AddBinaryObject(p,a,b,c,d,e)
 
#define INTERFACE   IDirectXFileDataReference
 
#define IDirectXFileDataReference_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectXFileDataReference_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectXFileDataReference_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectXFileDataReference_GetName(p, a, b)   (p)->lpVtbl->GetName(p,a,b)
 
#define IDirectXFileDataReference_GetId(p, a)   (p)->lpVtbl->GetId(p,a)
 
#define IDirectXFileDataReference_Resolve(p, a)   (p)->lpVtbl->Resolve(p,a)
 
#define INTERFACE   IDirectXFileBinary
 
#define IDirectXFileBinary_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectXFileBinary_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectXFileBinary_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectXFileBinary_GetName(p, a, b)   (p)->lpVtbl->GetName(p,a,b)
 
#define IDirectXFileBinary_GetId(p, a)   (p)->lpVtbl->GetId(p,a)
 
#define IDirectXFileBinary_GetSize(p, a)   (p)->lpVtbl->GetSize(p,a)
 
#define IDirectXFileBinary_GetMimeType(p, a)   (p)->lpVtbl->GetMimeType(p,a)
 
#define IDirectXFileBinary_Read(p, a, b, c)   (p)->lpVtbl->Read(p,a,b,c)
 
#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
 
typedef struct IDirectXFile * LPDIRECTXFILE
 
typedef struct IDirectXFileEnumObject * LPDIRECTXFILEENUMOBJECT
 
typedef struct IDirectXFileSaveObject * LPDIRECTXFILESAVEOBJECT
 
typedef struct IDirectXFileObject * LPDIRECTXFILEOBJECT
 
typedef struct IDirectXFileData * LPDIRECTXFILEDATA
 
typedef struct IDirectXFileDataReference * LPDIRECTXFILEDATAREFERENCE
 
typedef struct IDirectXFileBinary * LPDIRECTXFILEBINARY
 

Functions

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, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (IID_IDirectXFileEnumObject, 0x3d82ab41, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (IID_IDirectXFileSaveObject, 0x3d82ab42, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (IID_IDirectXFileObject, 0x3d82ab43, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (IID_IDirectXFileData, 0x3d82ab44, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (IID_IDirectXFileDataReference, 0x3d82ab45, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (IID_IDirectXFileBinary, 0x3d82ab46, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 
 DEFINE_GUID (TID_DXFILEHeader, 0x3d82ab43, 0x62da, 0x11cf, 0xab, 0x39, 0x00, 0x20, 0xaf, 0x71, 0xe4, 0x33)
 

Macro Definition Documentation

◆ _FACDD

#define _FACDD   0x876

Definition at line 262 of file dxfile.h.

◆ DXFILE_OK

#define DXFILE_OK   0

Definition at line 268 of file dxfile.h.

◆ DXFILEERR_BADALLOC

#define DXFILEERR_BADALLOC   MAKE_DDHRESULT(854)

Definition at line 274 of file dxfile.h.

◆ DXFILEERR_BADARRAYSIZE

#define DXFILEERR_BADARRAYSIZE   MAKE_DDHRESULT(868)

Definition at line 288 of file dxfile.h.

◆ DXFILEERR_BADCACHEFILE

#define DXFILEERR_BADCACHEFILE   MAKE_DDHRESULT(875)

Definition at line 295 of file dxfile.h.

◆ DXFILEERR_BADDATAREFERENCE

#define DXFILEERR_BADDATAREFERENCE   MAKE_DDHRESULT(869)

Definition at line 289 of file dxfile.h.

◆ DXFILEERR_BADFILE

#define DXFILEERR_BADFILE   MAKE_DDHRESULT(865)

Definition at line 285 of file dxfile.h.

◆ DXFILEERR_BADFILECOMPRESSIONTYPE

#define DXFILEERR_BADFILECOMPRESSIONTYPE   MAKE_DDHRESULT(864)

Definition at line 284 of file dxfile.h.

◆ DXFILEERR_BADFILEFLOATSIZE

#define DXFILEERR_BADFILEFLOATSIZE   MAKE_DDHRESULT(863)

Definition at line 283 of file dxfile.h.

◆ DXFILEERR_BADFILETYPE

#define DXFILEERR_BADFILETYPE   MAKE_DDHRESULT(861)

Definition at line 281 of file dxfile.h.

◆ DXFILEERR_BADFILEVERSION

#define DXFILEERR_BADFILEVERSION   MAKE_DDHRESULT(862)

Definition at line 282 of file dxfile.h.

◆ DXFILEERR_BADINTRINSICS

#define DXFILEERR_BADINTRINSICS   MAKE_DDHRESULT(872)

Definition at line 292 of file dxfile.h.

◆ DXFILEERR_BADOBJECT

#define DXFILEERR_BADOBJECT   MAKE_DDHRESULT(850)

Definition at line 270 of file dxfile.h.

◆ DXFILEERR_BADRESOURCE

#define DXFILEERR_BADRESOURCE   MAKE_DDHRESULT(860)

Definition at line 280 of file dxfile.h.

◆ DXFILEERR_BADSTREAMHANDLE

#define DXFILEERR_BADSTREAMHANDLE   MAKE_DDHRESULT(853)

Definition at line 273 of file dxfile.h.

◆ DXFILEERR_BADTYPE

#define DXFILEERR_BADTYPE   MAKE_DDHRESULT(852)

Definition at line 272 of file dxfile.h.

◆ DXFILEERR_BADVALUE

#define DXFILEERR_BADVALUE   MAKE_DDHRESULT(851)

Definition at line 271 of file dxfile.h.

◆ DXFILEERR_FILENOTFOUND

#define DXFILEERR_FILENOTFOUND   MAKE_DDHRESULT(857)

Definition at line 277 of file dxfile.h.

◆ DXFILEERR_INTERNALERROR

#define DXFILEERR_INTERNALERROR   MAKE_DDHRESULT(870)

Definition at line 290 of file dxfile.h.

◆ DXFILEERR_NOINTERNET

#define DXFILEERR_NOINTERNET   MAKE_DDHRESULT(876)

Definition at line 296 of file dxfile.h.

◆ DXFILEERR_NOMOREDATA

#define DXFILEERR_NOMOREDATA   MAKE_DDHRESULT(874)

Definition at line 294 of file dxfile.h.

◆ DXFILEERR_NOMOREOBJECTS

#define DXFILEERR_NOMOREOBJECTS   MAKE_DDHRESULT(871)

Definition at line 291 of file dxfile.h.

◆ DXFILEERR_NOMORESTREAMHANDLES

#define DXFILEERR_NOMORESTREAMHANDLES   MAKE_DDHRESULT(873)

Definition at line 293 of file dxfile.h.

◆ DXFILEERR_NOTDONEYET

#define DXFILEERR_NOTDONEYET   MAKE_DDHRESULT(856)

Definition at line 276 of file dxfile.h.

◆ DXFILEERR_NOTEMPLATE

#define DXFILEERR_NOTEMPLATE   MAKE_DDHRESULT(867)

Definition at line 287 of file dxfile.h.

◆ DXFILEERR_NOTFOUND

#define DXFILEERR_NOTFOUND   MAKE_DDHRESULT(855)

Definition at line 275 of file dxfile.h.

◆ DXFILEERR_PARSEERROR

#define DXFILEERR_PARSEERROR   MAKE_DDHRESULT(866)

Definition at line 286 of file dxfile.h.

◆ DXFILEERR_RESOURCENOTFOUND

#define DXFILEERR_RESOURCENOTFOUND   MAKE_DDHRESULT(858)

Definition at line 278 of file dxfile.h.

◆ DXFILEERR_URLNOTFOUND

#define DXFILEERR_URLNOTFOUND   MAKE_DDHRESULT(859)

Definition at line 279 of file dxfile.h.

◆ DXFILEFORMAT_BINARY

#define DXFILEFORMAT_BINARY   0

Definition at line 31 of file dxfile.h.

◆ DXFILEFORMAT_COMPRESSED

#define DXFILEFORMAT_COMPRESSED   2

Definition at line 33 of file dxfile.h.

◆ DXFILEFORMAT_TEXT

#define DXFILEFORMAT_TEXT   1

Definition at line 32 of file dxfile.h.

◆ DXFILELOAD_FROMFILE

#define DXFILELOAD_FROMFILE   0x00L

Definition at line 37 of file dxfile.h.

◆ DXFILELOAD_FROMMEMORY

#define DXFILELOAD_FROMMEMORY   0x02L

Definition at line 39 of file dxfile.h.

◆ DXFILELOAD_FROMRESOURCE

#define DXFILELOAD_FROMRESOURCE   0x01L

Definition at line 38 of file dxfile.h.

◆ DXFILELOAD_FROMSTREAM

#define DXFILELOAD_FROMSTREAM   0x04L

Definition at line 40 of file dxfile.h.

◆ DXFILELOAD_FROMURL

#define DXFILELOAD_FROMURL   0x08L

Definition at line 41 of file dxfile.h.

◆ IDirectXFile_AddRef

#define IDirectXFile_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 81 of file dxfile.h.

◆ IDirectXFile_CreateEnumObject

#define IDirectXFile_CreateEnumObject (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->CreateEnumObject(p,a,b,c)

Definition at line 84 of file dxfile.h.

◆ IDirectXFile_CreateSaveObject

#define IDirectXFile_CreateSaveObject (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->CreateSaveObject(p,a,b,c)

Definition at line 85 of file dxfile.h.

◆ IDirectXFile_QueryInterface

#define IDirectXFile_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 80 of file dxfile.h.

◆ IDirectXFile_RegisterTemplates

#define IDirectXFile_RegisterTemplates (   p,
  a,
  b 
)    (p)->lpVtbl->RegisterTemplates(p,a,b)

Definition at line 86 of file dxfile.h.

◆ IDirectXFile_Release

#define IDirectXFile_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 82 of file dxfile.h.

◆ IDirectXFileBinary_AddRef

#define IDirectXFileBinary_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 235 of file dxfile.h.

◆ IDirectXFileBinary_GetId

#define IDirectXFileBinary_GetId (   p,
  a 
)    (p)->lpVtbl->GetId(p,a)

Definition at line 239 of file dxfile.h.

◆ IDirectXFileBinary_GetMimeType

#define IDirectXFileBinary_GetMimeType (   p,
  a 
)    (p)->lpVtbl->GetMimeType(p,a)

Definition at line 242 of file dxfile.h.

◆ IDirectXFileBinary_GetName

#define IDirectXFileBinary_GetName (   p,
  a,
  b 
)    (p)->lpVtbl->GetName(p,a,b)

Definition at line 238 of file dxfile.h.

◆ IDirectXFileBinary_GetSize

#define IDirectXFileBinary_GetSize (   p,
  a 
)    (p)->lpVtbl->GetSize(p,a)

Definition at line 241 of file dxfile.h.

◆ IDirectXFileBinary_QueryInterface

#define IDirectXFileBinary_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 234 of file dxfile.h.

◆ IDirectXFileBinary_Read

#define IDirectXFileBinary_Read (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->Read(p,a,b,c)

Definition at line 243 of file dxfile.h.

◆ IDirectXFileBinary_Release

#define IDirectXFileBinary_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 236 of file dxfile.h.

◆ IDirectXFileData_AddBinaryObject

#define IDirectXFileData_AddBinaryObject (   p,
  a,
  b,
  c,
  d,
  e 
)    (p)->lpVtbl->AddBinaryObject(p,a,b,c,d,e)

Definition at line 195 of file dxfile.h.

◆ IDirectXFileData_AddDataObject

#define IDirectXFileData_AddDataObject (   p,
  a 
)    (p)->lpVtbl->AddDataObject(p,a)

Definition at line 193 of file dxfile.h.

◆ IDirectXFileData_AddDataReference

#define IDirectXFileData_AddDataReference (   p,
  a,
  b 
)    (p)->lpVtbl->AddDataReference(p,a,b)

Definition at line 194 of file dxfile.h.

◆ IDirectXFileData_AddRef

#define IDirectXFileData_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 184 of file dxfile.h.

◆ IDirectXFileData_GetData

#define IDirectXFileData_GetData (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetData(p,a,b,c)

Definition at line 190 of file dxfile.h.

◆ IDirectXFileData_GetId

#define IDirectXFileData_GetId (   p,
  a 
)    (p)->lpVtbl->GetId(p,a)

Definition at line 188 of file dxfile.h.

◆ IDirectXFileData_GetName

#define IDirectXFileData_GetName (   p,
  a,
  b 
)    (p)->lpVtbl->GetName(p,a,b)

Definition at line 187 of file dxfile.h.

◆ IDirectXFileData_GetNextObject

#define IDirectXFileData_GetNextObject (   p,
  a 
)    (p)->lpVtbl->GetNextObject(p,a)

Definition at line 192 of file dxfile.h.

◆ IDirectXFileData_GetType

#define IDirectXFileData_GetType (   p,
  a 
)    (p)->lpVtbl->GetType(p,a)

Definition at line 191 of file dxfile.h.

◆ IDirectXFileData_QueryInterface

#define IDirectXFileData_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 183 of file dxfile.h.

◆ IDirectXFileData_Release

#define IDirectXFileData_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 185 of file dxfile.h.

◆ IDirectXFileDataReference_AddRef

#define IDirectXFileDataReference_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 211 of file dxfile.h.

◆ IDirectXFileDataReference_GetId

#define IDirectXFileDataReference_GetId (   p,
  a 
)    (p)->lpVtbl->GetId(p,a)

Definition at line 215 of file dxfile.h.

◆ IDirectXFileDataReference_GetName

#define IDirectXFileDataReference_GetName (   p,
  a,
  b 
)    (p)->lpVtbl->GetName(p,a,b)

Definition at line 214 of file dxfile.h.

◆ IDirectXFileDataReference_QueryInterface

#define IDirectXFileDataReference_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 210 of file dxfile.h.

◆ IDirectXFileDataReference_Release

#define IDirectXFileDataReference_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 212 of file dxfile.h.

◆ IDirectXFileDataReference_Resolve

#define IDirectXFileDataReference_Resolve (   p,
  a 
)    (p)->lpVtbl->Resolve(p,a)

Definition at line 217 of file dxfile.h.

◆ IDirectXFileEnumObject_AddRef

#define IDirectXFileEnumObject_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 106 of file dxfile.h.

◆ IDirectXFileEnumObject_GetDataObjectById

#define IDirectXFileEnumObject_GetDataObjectById (   p,
  a,
  b 
)    (p)->lpVtbl->GetDataObjectById(p,a,b)

Definition at line 110 of file dxfile.h.

◆ IDirectXFileEnumObject_GetDataObjectByName

#define IDirectXFileEnumObject_GetDataObjectByName (   p,
  a,
  b 
)    (p)->lpVtbl->GetDataObjectByName(p,a,b)

Definition at line 111 of file dxfile.h.

◆ IDirectXFileEnumObject_GetNextDataObject

#define IDirectXFileEnumObject_GetNextDataObject (   p,
  a 
)    (p)->lpVtbl->GetNextDataObject(p,a)

Definition at line 109 of file dxfile.h.

◆ IDirectXFileEnumObject_QueryInterface

#define IDirectXFileEnumObject_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 105 of file dxfile.h.

◆ IDirectXFileEnumObject_Release

#define IDirectXFileEnumObject_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 107 of file dxfile.h.

◆ IDirectXFileObject_AddRef

#define IDirectXFileObject_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 159 of file dxfile.h.

◆ IDirectXFileObject_GetId

#define IDirectXFileObject_GetId (   p,
  a 
)    (p)->lpVtbl->GetId(p,a)

Definition at line 163 of file dxfile.h.

◆ IDirectXFileObject_GetName

#define IDirectXFileObject_GetName (   p,
  a,
  b 
)    (p)->lpVtbl->GetName(p,a,b)

Definition at line 162 of file dxfile.h.

◆ IDIRECTXFILEOBJECT_METHODS

#define IDIRECTXFILEOBJECT_METHODS (   kind)
Value:
STDMETHOD(GetId) (THIS_ LPGUID) kind
#define THIS_
Definition: basetyps.h:65
char * LPSTR
Definition: xmlstorage.h:182
#define STDMETHOD(m)
Definition: basetyps.h:62
#define LPDWORD
Definition: nt_native.h:46
GUID * LPGUID
Definition: guiddef.h:81

Definition at line 144 of file dxfile.h.

◆ IDirectXFileObject_QueryInterface

#define IDirectXFileObject_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 158 of file dxfile.h.

◆ IDirectXFileObject_Release

#define IDirectXFileObject_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 160 of file dxfile.h.

◆ IDirectXFileSaveObject_AddRef

#define IDirectXFileSaveObject_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 131 of file dxfile.h.

◆ IDirectXFileSaveObject_CreateDataObject

#define IDirectXFileSaveObject_CreateDataObject (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->CreateDataObject(p,a,b,c,d,e,f)

Definition at line 135 of file dxfile.h.

◆ IDirectXFileSaveObject_QueryInterface

#define IDirectXFileSaveObject_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 130 of file dxfile.h.

◆ IDirectXFileSaveObject_Release

#define IDirectXFileSaveObject_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 132 of file dxfile.h.

◆ IDirectXFileSaveObject_SaveData

#define IDirectXFileSaveObject_SaveData (   p,
  a 
)    (p)->lpVtbl->SaveData(p,a)

Definition at line 136 of file dxfile.h.

◆ IDirectXFileSaveObject_SaveTemplates

#define IDirectXFileSaveObject_SaveTemplates (   p,
  a,
  b 
)    (p)->lpVtbl->SaveTemplates(p,a,b)

Definition at line 134 of file dxfile.h.

◆ INTERFACE [1/7]

#define INTERFACE   IDirectXFile

Definition at line 220 of file dxfile.h.

◆ INTERFACE [2/7]

#define INTERFACE   IDirectXFileEnumObject

Definition at line 220 of file dxfile.h.

◆ INTERFACE [3/7]

#define INTERFACE   IDirectXFileSaveObject

Definition at line 220 of file dxfile.h.

◆ INTERFACE [4/7]

#define INTERFACE   IDirectXFileObject

Definition at line 220 of file dxfile.h.

◆ INTERFACE [5/7]

#define INTERFACE   IDirectXFileData

Definition at line 220 of file dxfile.h.

◆ INTERFACE [6/7]

#define INTERFACE   IDirectXFileDataReference

Definition at line 220 of file dxfile.h.

◆ INTERFACE [7/7]

#define INTERFACE   IDirectXFileBinary

Definition at line 220 of file dxfile.h.

◆ IUNKNOWN_METHODS

#define IUNKNOWN_METHODS (   kind)
Value:
STDMETHOD_(ULONG,AddRef)(THIS) kind; \
STDMETHOD_(ULONG,Release)(THIS) kind
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
LONG HRESULT
Definition: typedefs.h:77
REFIID LPVOID * ppvObject
Definition: precomp.h:44
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

Definition at line 139 of file dxfile.h.

◆ MAKE_DDHRESULT

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

Definition at line 265 of file dxfile.h.

Typedef Documentation

◆ DXFILEFORMAT

Definition at line 29 of file dxfile.h.

◆ DXFILELOADMEMORY

◆ DXFILELOADOPTIONS

Definition at line 35 of file dxfile.h.

◆ DXFILELOADRESOURCE

◆ LPDIRECTXFILE

typedef struct IDirectXFile* LPDIRECTXFILE

Definition at line 54 of file dxfile.h.

◆ LPDIRECTXFILEBINARY

typedef struct IDirectXFileBinary* LPDIRECTXFILEBINARY

Definition at line 60 of file dxfile.h.

◆ LPDIRECTXFILEDATA

typedef struct IDirectXFileData* LPDIRECTXFILEDATA

Definition at line 58 of file dxfile.h.

◆ LPDIRECTXFILEDATAREFERENCE

typedef struct IDirectXFileDataReference* LPDIRECTXFILEDATAREFERENCE

Definition at line 59 of file dxfile.h.

◆ LPDIRECTXFILEENUMOBJECT

typedef struct IDirectXFileEnumObject* LPDIRECTXFILEENUMOBJECT

Definition at line 55 of file dxfile.h.

◆ LPDIRECTXFILEOBJECT

typedef struct IDirectXFileObject* LPDIRECTXFILEOBJECT

Definition at line 57 of file dxfile.h.

◆ LPDIRECTXFILESAVEOBJECT

typedef struct IDirectXFileSaveObject* LPDIRECTXFILESAVEOBJECT

Definition at line 56 of file dxfile.h.

◆ LPDXFILELOADMEMORY

◆ LPDXFILELOADRESOURCE

Function Documentation

◆ DECLARE_INTERFACE_() [1/7]

DECLARE_INTERFACE_ ( IDirectXFile  ,
IUnknown   
)

Definition at line 65 of file dxfile.h.

66 {
67  /*** IUnknown methods ***/
71  /*** IDirectXFile methods ***/
74  STDMETHOD(RegisterTemplates) (THIS_ LPVOID, DWORD) PURE;
75 };
#define REFIID
Definition: guiddef.h:118
DWORD DXFILEFORMAT
Definition: dxfile.h:29
struct IDirectXFileSaveObject * LPDIRECTXFILESAVEOBJECT
Definition: dxfile.h:56
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define DWORD
Definition: nt_native.h:44
#define STDMETHOD(m)
Definition: basetyps.h:62
const char * LPCSTR
Definition: xmlstorage.h:183
LONG HRESULT
Definition: typedefs.h:77
struct IDirectXFileEnumObject * LPDIRECTXFILEENUMOBJECT
Definition: dxfile.h:55
#define LPVOID
Definition: nt_native.h:45
DWORD DXFILELOADOPTIONS
Definition: dxfile.h:35
REFIID LPVOID * ppvObject
Definition: precomp.h:44
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [2/7]

DECLARE_INTERFACE_ ( IDirectXFileEnumObject  ,
IUnknown   
)

Definition at line 90 of file dxfile.h.

91 {
92  /*** IUnknown methods ***/
96  /*** IDirectXFileEnumObject methods ***/
97  STDMETHOD(GetNextDataObject) (THIS_ LPDIRECTXFILEDATA *) PURE;
98  STDMETHOD(GetDataObjectById) (THIS_ REFGUID, LPDIRECTXFILEDATA *) PURE;
99  STDMETHOD(GetDataObjectByName) (THIS_ LPCSTR, LPDIRECTXFILEDATA *) PURE;
100 };
#define REFGUID
Definition: guiddef.h:116
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
struct IDirectXFileData * LPDIRECTXFILEDATA
Definition: dxfile.h:58
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
const char * LPCSTR
Definition: xmlstorage.h:183
LONG HRESULT
Definition: typedefs.h:77
REFIID LPVOID * ppvObject
Definition: precomp.h:44
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [3/7]

DECLARE_INTERFACE_ ( IDirectXFileSaveObject  ,
IUnknown   
)

Definition at line 115 of file dxfile.h.

116 {
117  /*** IUnknown methods ***/
121  /*** IDirectXFileSaveObject methods ***/
122  STDMETHOD(SaveTemplates) (THIS_ DWORD, const GUID **) PURE;
123  STDMETHOD(CreateDataObject) (THIS_ REFGUID, LPCSTR, const GUID *, DWORD, LPVOID, LPDIRECTXFILEDATA *) PURE;
125 };
#define REFGUID
Definition: guiddef.h:116
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
struct IDirectXFileData * LPDIRECTXFILEDATA
Definition: dxfile.h:58
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define DWORD
Definition: nt_native.h:44
#define STDMETHOD(m)
Definition: basetyps.h:62
const char * LPCSTR
Definition: xmlstorage.h:183
LONG HRESULT
Definition: typedefs.h:77
#define LPVOID
Definition: nt_native.h:45
REFIID LPVOID * ppvObject
Definition: precomp.h:44
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
VOID SaveData(HWND hwndDlg)
Definition: volume.c:397

◆ DECLARE_INTERFACE_() [4/7]

DECLARE_INTERFACE_ ( IDirectXFileObject  ,
IUnknown   
)

Definition at line 149 of file dxfile.h.

150 {
153 };
#define IUNKNOWN_METHODS(kind)
Definition: dxfile.h:139
#define IDIRECTXFILEOBJECT_METHODS(kind)
Definition: dxfile.h:144
#define PURE
Definition: basetyps.h:64

◆ DECLARE_INTERFACE_() [5/7]

DECLARE_INTERFACE_ ( IDirectXFileData  ,
IDirectXFileObject   
)

Definition at line 167 of file dxfile.h.

168 {
171  /*** IDirectXFileData methods ***/
172  STDMETHOD(GetData) (THIS_ LPCSTR, DWORD *, void **) PURE;
173  STDMETHOD(GetType) (THIS_ const GUID **) PURE;
174  STDMETHOD(GetNextObject) (THIS_ LPDIRECTXFILEOBJECT *) PURE;
175  STDMETHOD(AddDataObject) (THIS_ LPDIRECTXFILEDATA) PURE;
176  STDMETHOD(AddDataReference) (THIS_ LPCSTR, const GUID *) PURE;
177  STDMETHOD(AddBinaryObject) (THIS_ LPCSTR, const GUID *, LPCSTR, LPVOID, DWORD) PURE;
178 };
#define THIS_
Definition: basetyps.h:65
struct IDirectXFileData * LPDIRECTXFILEDATA
Definition: dxfile.h:58
#define DWORD
Definition: nt_native.h:44
#define STDMETHOD(m)
Definition: basetyps.h:62
#define IUNKNOWN_METHODS(kind)
Definition: dxfile.h:139
const char * LPCSTR
Definition: xmlstorage.h:183
struct IDirectXFileObject * LPDIRECTXFILEOBJECT
Definition: dxfile.h:57
unsigned long DWORD
Definition: ntddk_ex.h:95
#define LPVOID
Definition: nt_native.h:45
INT GetType(BOOL bLocal, LPOSVERSIONINFOEX osvi, LPSERVER_INFO_102 pBuf102)
Definition: gettype.c:129
#define IDIRECTXFILEOBJECT_METHODS(kind)
Definition: dxfile.h:144
static BYTE * GetData(BYTE *pData, ULONG *pLength)
Definition: assembly.c:114
#define PURE
Definition: basetyps.h:64

◆ DECLARE_INTERFACE_() [6/7]

DECLARE_INTERFACE_ ( IDirectXFileDataReference  ,
IDirectXFileObject   
)

Definition at line 199 of file dxfile.h.

200 {
203  /*** IDirectXFileDataReference methods ***/
204  STDMETHOD(Resolve) (THIS_ LPDIRECTXFILEDATA *) PURE;
205 };
#define THIS_
Definition: basetyps.h:65
struct IDirectXFileData * LPDIRECTXFILEDATA
Definition: dxfile.h:58
#define STDMETHOD(m)
Definition: basetyps.h:62
#define IUNKNOWN_METHODS(kind)
Definition: dxfile.h:139
#define IDIRECTXFILEOBJECT_METHODS(kind)
Definition: dxfile.h:144
#define PURE
Definition: basetyps.h:64

◆ DECLARE_INTERFACE_() [7/7]

DECLARE_INTERFACE_ ( IDirectXFileBinary  ,
IDirectXFileObject   
)

Definition at line 221 of file dxfile.h.

222 {
225  /*** IDirectXFileBinary methods ***/
227  STDMETHOD(GetMimeType) (THIS_ LPCSTR *) PURE;
229 };
_In_ BOOLEAN Read
Definition: strmini.h:479
#define THIS_
Definition: basetyps.h:65
#define DWORD
Definition: nt_native.h:44
#define STDMETHOD(m)
Definition: basetyps.h:62
#define IUNKNOWN_METHODS(kind)
Definition: dxfile.h:139
const char * LPCSTR
Definition: xmlstorage.h:183
DWORD WINAPI GetSize(LPVOID)
unsigned long DWORD
Definition: ntddk_ex.h:95
#define LPVOID
Definition: nt_native.h:45
#define LPDWORD
Definition: nt_native.h:46
#define IDIRECTXFILEOBJECT_METHODS(kind)
Definition: dxfile.h:144
#define PURE
Definition: basetyps.h:64

◆ 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  ,
0x00  ,
0x20  ,
0xaf  ,
0x71  ,
0xe4  ,
0x33   
)

◆ DEFINE_GUID() [3/9]

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

◆ DEFINE_GUID() [4/9]

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

◆ DEFINE_GUID() [5/9]

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

◆ DEFINE_GUID() [6/9]

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

◆ DEFINE_GUID() [7/9]

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

◆ DEFINE_GUID() [8/9]

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

◆ DEFINE_GUID() [9/9]

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

◆ DirectXFileCreate()

STDAPI DirectXFileCreate ( LPDIRECTXFILE lplpDirectXFile)

Definition at line 153 of file main.c.

154 {
155  HRESULT hr;
156 
157  TRACE("(%p)\n", lplpDirectXFile);
158 
159  if (!lplpDirectXFile)
160  return DXFILEERR_BADVALUE;
161 
162  hr = IDirectXFileImpl_Create(NULL, (LPVOID)lplpDirectXFile);
163 
164  if (FAILED(hr))
165  return DXFILEERR_BADALLOC;
166 
167  return S_OK;
168 }
HRESULT hr
Definition: shlfolder.c:183
#define DXFILEERR_BADVALUE
Definition: dxfile.h:271
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:77
#define S_OK
Definition: intsafe.h:59
#define DXFILEERR_BADALLOC
Definition: dxfile.h:274
HRESULT IDirectXFileImpl_Create(IUnknown *pUnkOuter, LPVOID *ppObj)
Definition: d3dxof.c:50

Referenced by d3drm3_Load(), d3drm_mesh_builder3_Load(), and D3DXFileCreate().