ReactOS  0.4.14-dev-49-gfb4591c
d3dx9xof.h File Reference
#include "d3dx9.h"
Include dependency graph for d3dx9xof.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _D3DXF_FILELOADRESOURCE
 
struct  _D3DXF_FILELOADMEMORY
 

Macros

#define D3DXF_FILEFORMAT_BINARY   0
 
#define D3DXF_FILEFORMAT_TEXT   1
 
#define D3DXF_FILEFORMAT_COMPRESSED   2
 
#define D3DXF_FILESAVE_TOFILE   0x00
 
#define D3DXF_FILESAVE_TOWFILE   0x01
 
#define D3DXF_FILELOAD_FROMFILE   0x00
 
#define D3DXF_FILELOAD_FROMWFILE   0x01
 
#define D3DXF_FILELOAD_FROMRESOURCE   0x02
 
#define D3DXF_FILELOAD_FROMMEMORY   0x03
 
#define INTERFACE   ID3DXFile
 
#define INTERFACE   ID3DXFileSaveObject
 
#define INTERFACE   ID3DXFileSaveData
 
#define INTERFACE   ID3DXFileEnumObject
 
#define INTERFACE   ID3DXFileData
 
#define _FACD3DXF   0x876
 
#define D3DXFERR_BADOBJECT   MAKE_HRESULT(1,_FACD3DXF,900)
 
#define D3DXFERR_BADVALUE   MAKE_HRESULT(1,_FACD3DXF,901)
 
#define D3DXFERR_BADTYPE   MAKE_HRESULT(1,_FACD3DXF,902)
 
#define D3DXFERR_NOTFOUND   MAKE_HRESULT(1,_FACD3DXF,903)
 
#define D3DXFERR_NOTDONEYET   MAKE_HRESULT(1,_FACD3DXF,904)
 
#define D3DXFERR_FILENOTFOUND   MAKE_HRESULT(1,_FACD3DXF,905)
 
#define D3DXFERR_RESOURCENOTFOUND   MAKE_HRESULT(1,_FACD3DXF,906)
 
#define D3DXFERR_BADRESOURCE   MAKE_HRESULT(1,_FACD3DXF,907)
 
#define D3DXFERR_BADFILETYPE   MAKE_HRESULT(1,_FACD3DXF,908)
 
#define D3DXFERR_BADFILEVERSION   MAKE_HRESULT(1,_FACD3DXF,909)
 
#define D3DXFERR_BADFILEFLOATSIZE   MAKE_HRESULT(1,_FACD3DXF,910)
 
#define D3DXFERR_BADFILE   MAKE_HRESULT(1,_FACD3DXF,911)
 
#define D3DXFERR_PARSEERROR   MAKE_HRESULT(1,_FACD3DXF,912)
 
#define D3DXFERR_BADARRAYSIZE   MAKE_HRESULT(1,_FACD3DXF,913)
 
#define D3DXFERR_BADDATAREFERENCE   MAKE_HRESULT(1,_FACD3DXF,914)
 
#define D3DXFERR_NOMOREOBJECTS   MAKE_HRESULT(1,_FACD3DXF,915)
 
#define D3DXFERR_NOMOREDATA   MAKE_HRESULT(1,_FACD3DXF,916)
 
#define D3DXFERR_BADCACHEFILE   MAKE_HRESULT(1,_FACD3DXF,917)
 

Typedefs

typedef DWORD D3DXF_FILEFORMAT
 
typedef DWORD D3DXF_FILESAVEOPTIONS
 
typedef DWORD D3DXF_FILELOADOPTIONS
 
typedef struct _D3DXF_FILELOADRESOURCE D3DXF_FILELOADRESOURCE
 
typedef struct _D3DXF_FILELOADMEMORY D3DXF_FILELOADMEMORY
 
typedef interface ID3DXFile * LPD3DXFILE
 
typedef interface ID3DXFile ** LPLPD3DXFILE
 
typedef interface ID3DXFileSaveObject * LPD3DXFILESAVEOBJECT
 
typedef interface ID3DXFileSaveObject ** LPLPD3DXFILESAVEOBJECT
 
typedef interface ID3DXFileSaveData * LPD3DXFILESAVEDATA
 
typedef interface ID3DXFileSaveData ** LPLPD3DXFILESAVEDATA
 
typedef interface ID3DXFileEnumObject * LPD3DXFILEENUMOBJECT
 
typedef interface ID3DXFileEnumObject ** LPLPD3DXFILEENUMOBJECT
 
typedef interface ID3DXFileData * LPD3DXFILEDATA
 
typedef interface ID3DXFileData ** LPLPD3DXFILEDATA
 

Functions

 DEFINE_GUID (IID_ID3DXFile, 0xcef08cf9, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01)
 
 DEFINE_GUID (IID_ID3DXFileSaveObject, 0xcef08cfa, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01)
 
 DEFINE_GUID (IID_ID3DXFileSaveData, 0xcef08cfb, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01)
 
 DEFINE_GUID (IID_ID3DXFileEnumObject, 0xcef08cfc, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01)
 
 DEFINE_GUID (IID_ID3DXFileData, 0xcef08cfd, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01)
 
STDAPI D3DXFileCreate (struct ID3DXFile **file)
 
 DECLARE_INTERFACE_IID_ (ID3DXFile, IUnknown,"cef08cf9-7b4f-4429-9624-2a690a933201")
 
 DECLARE_INTERFACE_IID_ (ID3DXFileSaveObject, IUnknown,"cef08cfa-7b4f-4429-9624-2a690a933201")
 
 DECLARE_INTERFACE_IID_ (ID3DXFileSaveData, IUnknown,"cef08cfb-7b4f-4429-9624-2a690a933201")
 
 DECLARE_INTERFACE_IID_ (ID3DXFileEnumObject, IUnknown,"cef08cfc-7b4f-4429-9624-2a690a933201")
 
 DECLARE_INTERFACE_IID_ (ID3DXFileData, IUnknown,"cef08cfd-7b4f-4429-9624-2a690a933201")
 

Macro Definition Documentation

◆ _FACD3DXF

#define _FACD3DXF   0x876

Definition at line 161 of file d3dx9xof.h.

◆ D3DXF_FILEFORMAT_BINARY

#define D3DXF_FILEFORMAT_BINARY   0

Definition at line 29 of file d3dx9xof.h.

◆ D3DXF_FILEFORMAT_COMPRESSED

#define D3DXF_FILEFORMAT_COMPRESSED   2

Definition at line 31 of file d3dx9xof.h.

◆ D3DXF_FILEFORMAT_TEXT

#define D3DXF_FILEFORMAT_TEXT   1

Definition at line 30 of file d3dx9xof.h.

◆ D3DXF_FILELOAD_FROMFILE

#define D3DXF_FILELOAD_FROMFILE   0x00

Definition at line 38 of file d3dx9xof.h.

◆ D3DXF_FILELOAD_FROMMEMORY

#define D3DXF_FILELOAD_FROMMEMORY   0x03

Definition at line 41 of file d3dx9xof.h.

◆ D3DXF_FILELOAD_FROMRESOURCE

#define D3DXF_FILELOAD_FROMRESOURCE   0x02

Definition at line 40 of file d3dx9xof.h.

◆ D3DXF_FILELOAD_FROMWFILE

#define D3DXF_FILELOAD_FROMWFILE   0x01

Definition at line 39 of file d3dx9xof.h.

◆ D3DXF_FILESAVE_TOFILE

#define D3DXF_FILESAVE_TOFILE   0x00

Definition at line 34 of file d3dx9xof.h.

◆ D3DXF_FILESAVE_TOWFILE

#define D3DXF_FILESAVE_TOWFILE   0x01

Definition at line 35 of file d3dx9xof.h.

◆ D3DXFERR_BADARRAYSIZE

#define D3DXFERR_BADARRAYSIZE   MAKE_HRESULT(1,_FACD3DXF,913)

Definition at line 176 of file d3dx9xof.h.

◆ D3DXFERR_BADCACHEFILE

#define D3DXFERR_BADCACHEFILE   MAKE_HRESULT(1,_FACD3DXF,917)

Definition at line 180 of file d3dx9xof.h.

◆ D3DXFERR_BADDATAREFERENCE

#define D3DXFERR_BADDATAREFERENCE   MAKE_HRESULT(1,_FACD3DXF,914)

Definition at line 177 of file d3dx9xof.h.

◆ D3DXFERR_BADFILE

#define D3DXFERR_BADFILE   MAKE_HRESULT(1,_FACD3DXF,911)

Definition at line 174 of file d3dx9xof.h.

◆ D3DXFERR_BADFILEFLOATSIZE

#define D3DXFERR_BADFILEFLOATSIZE   MAKE_HRESULT(1,_FACD3DXF,910)

Definition at line 173 of file d3dx9xof.h.

◆ D3DXFERR_BADFILETYPE

#define D3DXFERR_BADFILETYPE   MAKE_HRESULT(1,_FACD3DXF,908)

Definition at line 171 of file d3dx9xof.h.

◆ D3DXFERR_BADFILEVERSION

#define D3DXFERR_BADFILEVERSION   MAKE_HRESULT(1,_FACD3DXF,909)

Definition at line 172 of file d3dx9xof.h.

◆ D3DXFERR_BADOBJECT

#define D3DXFERR_BADOBJECT   MAKE_HRESULT(1,_FACD3DXF,900)

Definition at line 163 of file d3dx9xof.h.

◆ D3DXFERR_BADRESOURCE

#define D3DXFERR_BADRESOURCE   MAKE_HRESULT(1,_FACD3DXF,907)

Definition at line 170 of file d3dx9xof.h.

◆ D3DXFERR_BADTYPE

#define D3DXFERR_BADTYPE   MAKE_HRESULT(1,_FACD3DXF,902)

Definition at line 165 of file d3dx9xof.h.

◆ D3DXFERR_BADVALUE

#define D3DXFERR_BADVALUE   MAKE_HRESULT(1,_FACD3DXF,901)

Definition at line 164 of file d3dx9xof.h.

◆ D3DXFERR_FILENOTFOUND

#define D3DXFERR_FILENOTFOUND   MAKE_HRESULT(1,_FACD3DXF,905)

Definition at line 168 of file d3dx9xof.h.

◆ D3DXFERR_NOMOREDATA

#define D3DXFERR_NOMOREDATA   MAKE_HRESULT(1,_FACD3DXF,916)

Definition at line 179 of file d3dx9xof.h.

◆ D3DXFERR_NOMOREOBJECTS

#define D3DXFERR_NOMOREOBJECTS   MAKE_HRESULT(1,_FACD3DXF,915)

Definition at line 178 of file d3dx9xof.h.

◆ D3DXFERR_NOTDONEYET

#define D3DXFERR_NOTDONEYET   MAKE_HRESULT(1,_FACD3DXF,904)

Definition at line 167 of file d3dx9xof.h.

◆ D3DXFERR_NOTFOUND

#define D3DXFERR_NOTFOUND   MAKE_HRESULT(1,_FACD3DXF,903)

Definition at line 166 of file d3dx9xof.h.

◆ D3DXFERR_PARSEERROR

#define D3DXFERR_PARSEERROR   MAKE_HRESULT(1,_FACD3DXF,912)

Definition at line 175 of file d3dx9xof.h.

◆ D3DXFERR_RESOURCENOTFOUND

#define D3DXFERR_RESOURCENOTFOUND   MAKE_HRESULT(1,_FACD3DXF,906)

Definition at line 169 of file d3dx9xof.h.

◆ INTERFACE [1/5]

#define INTERFACE   ID3DXFile

Definition at line 140 of file d3dx9xof.h.

◆ INTERFACE [2/5]

#define INTERFACE   ID3DXFileSaveObject

Definition at line 140 of file d3dx9xof.h.

◆ INTERFACE [3/5]

#define INTERFACE   ID3DXFileSaveData

Definition at line 140 of file d3dx9xof.h.

◆ INTERFACE [4/5]

#define INTERFACE   ID3DXFileEnumObject

Definition at line 140 of file d3dx9xof.h.

◆ INTERFACE [5/5]

#define INTERFACE   ID3DXFileData

Definition at line 140 of file d3dx9xof.h.

Typedef Documentation

◆ D3DXF_FILEFORMAT

Definition at line 28 of file d3dx9xof.h.

◆ D3DXF_FILELOADMEMORY

◆ D3DXF_FILELOADOPTIONS

Definition at line 37 of file d3dx9xof.h.

◆ D3DXF_FILELOADRESOURCE

◆ D3DXF_FILESAVEOPTIONS

Definition at line 33 of file d3dx9xof.h.

◆ LPD3DXFILE

typedef interface ID3DXFile* LPD3DXFILE

Definition at line 65 of file d3dx9xof.h.

◆ LPD3DXFILEDATA

typedef interface ID3DXFileData* LPD3DXFILEDATA

Definition at line 69 of file d3dx9xof.h.

◆ LPD3DXFILEENUMOBJECT

typedef interface ID3DXFileEnumObject* LPD3DXFILEENUMOBJECT

Definition at line 68 of file d3dx9xof.h.

◆ LPD3DXFILESAVEDATA

typedef interface ID3DXFileSaveData* LPD3DXFILESAVEDATA

Definition at line 67 of file d3dx9xof.h.

◆ LPD3DXFILESAVEOBJECT

typedef interface ID3DXFileSaveObject* LPD3DXFILESAVEOBJECT

Definition at line 66 of file d3dx9xof.h.

◆ LPLPD3DXFILE

typedef interface ID3DXFile ** LPLPD3DXFILE

Definition at line 65 of file d3dx9xof.h.

◆ LPLPD3DXFILEDATA

typedef interface ID3DXFileData ** LPLPD3DXFILEDATA

Definition at line 69 of file d3dx9xof.h.

◆ LPLPD3DXFILEENUMOBJECT

typedef interface ID3DXFileEnumObject ** LPLPD3DXFILEENUMOBJECT

Definition at line 68 of file d3dx9xof.h.

◆ LPLPD3DXFILESAVEDATA

typedef interface ID3DXFileSaveData ** LPLPD3DXFILESAVEDATA

Definition at line 67 of file d3dx9xof.h.

◆ LPLPD3DXFILESAVEOBJECT

typedef interface ID3DXFileSaveObject ** LPLPD3DXFILESAVEOBJECT

Definition at line 66 of file d3dx9xof.h.

Function Documentation

◆ D3DXFileCreate()

STDAPI D3DXFileCreate ( struct ID3DXFile **  file)

Definition at line 715 of file xfile.c.

716 {
717  struct d3dx9_file *object;
718  HRESULT ret;
719 
720  TRACE("d3dxfile %p.\n", d3dxfile);
721 
722  if (!d3dxfile)
723  return E_POINTER;
724 
725  *d3dxfile = NULL;
726 
727  object = HeapAlloc(GetProcessHeap(), 0, sizeof(*object));
728  if (!object)
729  return E_OUTOFMEMORY;
730 
731  ret = DirectXFileCreate(&object->dxfile);
732  if (ret != S_OK)
733  {
734  HeapFree(GetProcessHeap(), 0, object);
735  if (ret == E_OUTOFMEMORY)
736  return ret;
737  return E_FAIL;
738  }
739 
740  object->ID3DXFile_iface.lpVtbl = &d3dx9_file_vtbl;
741  object->ref = 1;
742 
743  *d3dxfile = &object->ID3DXFile_iface;
744 
745  return S_OK;
746 }
#define E_FAIL
Definition: ddrawi.h:102
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
smooth NULL
Definition: ftsmooth.c:416
static const ID3DXFileVtbl d3dx9_file_vtbl
Definition: xfile.c:704
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
LONG HRESULT
Definition: typedefs.h:77
int ret
#define S_OK
Definition: intsafe.h:59
HRESULT WINAPI DirectXFileCreate(LPDIRECTXFILE *lplpDirectXFile)
Definition: main.c:153
#define E_POINTER
Definition: winerror.h:2365
#define HeapFree(x, y, z)
Definition: compat.h:394
void * object
Definition: jmemsys.h:48

Referenced by D3DXLoadMeshFromXInMemory(), and D3DXLoadMeshHierarchyFromXInMemory().

◆ DECLARE_INTERFACE_IID_() [1/5]

DECLARE_INTERFACE_IID_ ( ID3DXFile  ,
IUnknown  ,
"cef08cf9-7b4f-4429-9624-2a690a933201"   
)

Definition at line 74 of file d3dx9xof.h.

75 {
76  /*** IUnknown methods ***/
80  /*** ID3DXFile methods ***/
81  STDMETHOD(CreateEnumObject)(THIS_ const void *src, D3DXF_FILELOADOPTIONS type,
82  struct ID3DXFileEnumObject **enum_obj) PURE;
83  STDMETHOD(CreateSaveObject)(THIS_ const void *data, D3DXF_FILESAVEOPTIONS flags,
84  D3DXF_FILEFORMAT format, struct ID3DXFileSaveObject **save_obj) PURE;
85  STDMETHOD(RegisterTemplates)(THIS_ const void *data, SIZE_T data_size) PURE;
86  STDMETHOD(RegisterEnumTemplates)(THIS_ struct ID3DXFileEnumObject *enum_obj) PURE;
87 };
#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
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
#define STDMETHOD(m)
Definition: basetyps.h:62
static FILE * out
Definition: regtests2xml.c:44
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLbitfield flags
Definition: glext.h:7161
GLenum src
Definition: glext.h:6340
ULONG_PTR SIZE_T
Definition: typedefs.h:78
DWORD D3DXF_FILELOADOPTIONS
Definition: d3dx9xof.h:37
DWORD D3DXF_FILESAVEOPTIONS
Definition: d3dx9xof.h:33
DWORD D3DXF_FILEFORMAT
Definition: d3dx9xof.h:28
#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_IID_() [2/5]

DECLARE_INTERFACE_IID_ ( ID3DXFileSaveObject  ,
IUnknown  ,
"cef08cfa-7b4f-4429-9624-2a690a933201"   
)

Definition at line 91 of file d3dx9xof.h.

92 {
93  /*** IUnknown methods ***/
97  /*** ID3DXFileSaveObject methods ***/
98  STDMETHOD(GetFile)(THIS_ ID3DXFile **file) PURE;
99  STDMETHOD(AddDataObject)(THIS_ REFGUID template_guid, const char *name, const GUID *guid,
100  SIZE_T data_size, const void *data, struct ID3DXFileSaveData **obj) PURE;
102 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
Definition: scsiwmi.h:51
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
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
GLsizei GLsizei GLuint * obj
Definition: glext.h:6042
const GUID * guid
static int Save(const char **args)
Definition: vfdcmd.c:1851
const char file[]
Definition: icontest.c:11
static FILE * out
Definition: regtests2xml.c:44
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
ULONG_PTR SIZE_T
Definition: typedefs.h:78
#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
GLuint const GLchar * name
Definition: glext.h:6031

◆ DECLARE_INTERFACE_IID_() [3/5]

DECLARE_INTERFACE_IID_ ( ID3DXFileSaveData  ,
IUnknown  ,
"cef08cfb-7b4f-4429-9624-2a690a933201"   
)

Definition at line 106 of file d3dx9xof.h.

107 {
108  /*** IUnknown methods ***/
112  /*** ID3DXFileSaveObject methods ***/
113  STDMETHOD(GetSave)(THIS_ ID3DXFileSaveObject **save_obj) PURE;
115  STDMETHOD(GetId)(THIS_ LPGUID) PURE;
117  STDMETHOD(AddDataObject)(THIS_ REFGUID template_guid, const char *name, const GUID *guid,
118  SIZE_T data_size, const void *data, ID3DXFileSaveData **obj) PURE;
119  STDMETHOD(AddDataReference)(THIS_ const char *name, const GUID *id) PURE;
120 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
Definition: scsiwmi.h:51
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
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
GLsizei GLsizei GLuint * obj
Definition: glext.h:6042
const GUID * guid
GLsizeiptr size
Definition: glext.h:5919
static FILE * out
Definition: regtests2xml.c:44
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
INT GetType(BOOL bLocal, LPOSVERSIONINFOEX osvi, LPSERVER_INFO_102 pBuf102)
Definition: gettype.c:129
ULONG_PTR SIZE_T
Definition: typedefs.h:78
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
GLenum GLuint id
Definition: glext.h:5579
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
GUID * LPGUID
Definition: guiddef.h:81
GLuint const GLchar * name
Definition: glext.h:6031

◆ DECLARE_INTERFACE_IID_() [4/5]

DECLARE_INTERFACE_IID_ ( ID3DXFileEnumObject  ,
IUnknown  ,
"cef08cfc-7b4f-4429-9624-2a690a933201"   
)

Definition at line 125 of file d3dx9xof.h.

126 {
127  /*** IUnknown methods ***/
131  /*** ID3DXFileEnumObject methods ***/
132  STDMETHOD(GetFile)(THIS_ ID3DXFile **file) PURE;
133  STDMETHOD(GetChildren)(THIS_ SIZE_T*) PURE;
134  STDMETHOD(GetChild)(THIS_ SIZE_T id, struct ID3DXFileData **child) PURE;
135  STDMETHOD(GetDataObjectById)(THIS_ REFGUID guid, struct ID3DXFileData **obj) PURE;
136  STDMETHOD(GetDataObjectByName)(THIS_ const char *name, struct ID3DXFileData **obj) PURE;
137 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
Definition: scsiwmi.h:51
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
static HWND child
Definition: cursoricon.c:298
#define STDMETHOD(m)
Definition: basetyps.h:62
GLsizei GLsizei GLuint * obj
Definition: glext.h:6042
const GUID * guid
const char file[]
Definition: icontest.c:11
static FILE * out
Definition: regtests2xml.c:44
ULONG_PTR SIZE_T
Definition: typedefs.h:78
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
GLenum GLuint id
Definition: glext.h:5579
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
GLuint const GLchar * name
Definition: glext.h:6031

◆ DECLARE_INTERFACE_IID_() [5/5]

DECLARE_INTERFACE_IID_ ( ID3DXFileData  ,
IUnknown  ,
"cef08cfd-7b4f-4429-9624-2a690a933201"   
)

Definition at line 141 of file d3dx9xof.h.

142 {
143  /*** IUnknown methods ***/
147  /*** ID3DXFileData methods ***/
148  STDMETHOD(GetEnum)(THIS_ ID3DXFileEnumObject **enum_obj) PURE;
150  STDMETHOD(GetId)(THIS_ LPGUID) PURE;
151  STDMETHOD(Lock)(THIS_ SIZE_T *data_size, const void **data) PURE;
154  STDMETHOD_(BOOL,IsReference)(THIS) PURE;
155  STDMETHOD(GetChildren)(THIS_ SIZE_T*) PURE;
156  STDMETHOD(GetChild)(THIS_ SIZE_T id, ID3DXFileData **child) PURE;
157 };
#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
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
static HWND child
Definition: cursoricon.c:298
#define STDMETHOD(m)
Definition: basetyps.h:62
unsigned int BOOL
Definition: ntddk_ex.h:94
GLsizeiptr size
Definition: glext.h:5919
static FILE * out
Definition: regtests2xml.c:44
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
INT GetType(BOOL bLocal, LPOSVERSIONINFOEX osvi, LPSERVER_INFO_102 pBuf102)
Definition: gettype.c:129
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment IN PNDIS_RW_LOCK Lock
Definition: CrNtStubs.h:75
ULONG_PTR SIZE_T
Definition: typedefs.h:78
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
GLenum GLuint id
Definition: glext.h:5579
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
GUID * LPGUID
Definition: guiddef.h:81
GLuint const GLchar * name
Definition: glext.h:6031

◆ DEFINE_GUID() [1/5]

DEFINE_GUID ( IID_ID3DXFile  ,
0xcef08cf9  ,
0x7b4f  ,
0x4429  ,
0x96  ,
0x24  ,
0x2a  ,
0x69  ,
0x0a  ,
0x93  ,
0x32  ,
0x01   
)

◆ DEFINE_GUID() [2/5]

DEFINE_GUID ( IID_ID3DXFileSaveObject  ,
0xcef08cfa  ,
0x7b4f  ,
0x4429  ,
0x96  ,
0x24  ,
0x2a  ,
0x69  ,
0x0a  ,
0x93  ,
0x32  ,
0x01   
)

◆ DEFINE_GUID() [3/5]

DEFINE_GUID ( IID_ID3DXFileSaveData  ,
0xcef08cfb  ,
0x7b4f  ,
0x4429  ,
0x96  ,
0x24  ,
0x2a  ,
0x69  ,
0x0a  ,
0x93  ,
0x32  ,
0x01   
)

◆ DEFINE_GUID() [4/5]

DEFINE_GUID ( IID_ID3DXFileEnumObject  ,
0xcef08cfc  ,
0x7b4f  ,
0x4429  ,
0x96  ,
0x24  ,
0x2a  ,
0x69  ,
0x0a  ,
0x93  ,
0x32  ,
0x01   
)

◆ DEFINE_GUID() [5/5]

DEFINE_GUID ( IID_ID3DXFileData  ,
0xcef08cfd  ,
0x7b4f  ,
0x4429  ,
0x96  ,
0x24  ,
0x2a  ,
0x69  ,
0x0a  ,
0x93  ,
0x32  ,
0x01   
)