19#ifndef __WINE_D3DX9XOF_H
20#define __WINE_D3DX9XOF_H
29#define D3DXF_FILEFORMAT_BINARY 0
30#define D3DXF_FILEFORMAT_TEXT 1
31#define D3DXF_FILEFORMAT_COMPRESSED 2
34#define D3DXF_FILESAVE_TOFILE 0x00
35#define D3DXF_FILESAVE_TOWFILE 0x01
38#define D3DXF_FILELOAD_FROMFILE 0x00
39#define D3DXF_FILELOAD_FROMWFILE 0x01
40#define D3DXF_FILELOAD_FROMRESOURCE 0x02
41#define D3DXF_FILELOAD_FROMMEMORY 0x03
58DEFINE_GUID(IID_ID3DXFile, 0xcef08cf9, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01);
59DEFINE_GUID(IID_ID3DXFileSaveObject, 0xcef08cfa, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01);
60DEFINE_GUID(IID_ID3DXFileSaveData, 0xcef08cfb, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01);
61DEFINE_GUID(IID_ID3DXFileEnumObject, 0xcef08cfc, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01);
62DEFINE_GUID(IID_ID3DXFileData, 0xcef08cfd, 0x7b4f, 0x4429, 0x96, 0x24, 0x2a, 0x69, 0x0a, 0x93, 0x32, 0x01);
73#define INTERFACE ID3DXFile
82 struct ID3DXFileEnumObject **enum_obj)
PURE;
90#define INTERFACE ID3DXFileSaveObject
105#define INTERFACE ID3DXFileSaveData
124#define INTERFACE ID3DXFileEnumObject
140#define INTERFACE ID3DXFileData
161#define _FACD3DXF 0x876
163#define D3DXFERR_BADOBJECT MAKE_HRESULT(1,_FACD3DXF,900)
164#define D3DXFERR_BADVALUE MAKE_HRESULT(1,_FACD3DXF,901)
165#define D3DXFERR_BADTYPE MAKE_HRESULT(1,_FACD3DXF,902)
166#define D3DXFERR_NOTFOUND MAKE_HRESULT(1,_FACD3DXF,903)
167#define D3DXFERR_NOTDONEYET MAKE_HRESULT(1,_FACD3DXF,904)
168#define D3DXFERR_FILENOTFOUND MAKE_HRESULT(1,_FACD3DXF,905)
169#define D3DXFERR_RESOURCENOTFOUND MAKE_HRESULT(1,_FACD3DXF,906)
170#define D3DXFERR_BADRESOURCE MAKE_HRESULT(1,_FACD3DXF,907)
171#define D3DXFERR_BADFILETYPE MAKE_HRESULT(1,_FACD3DXF,908)
172#define D3DXFERR_BADFILEVERSION MAKE_HRESULT(1,_FACD3DXF,909)
173#define D3DXFERR_BADFILEFLOATSIZE MAKE_HRESULT(1,_FACD3DXF,910)
174#define D3DXFERR_BADFILE MAKE_HRESULT(1,_FACD3DXF,911)
175#define D3DXFERR_PARSEERROR MAKE_HRESULT(1,_FACD3DXF,912)
176#define D3DXFERR_BADARRAYSIZE MAKE_HRESULT(1,_FACD3DXF,913)
177#define D3DXFERR_BADDATAREFERENCE MAKE_HRESULT(1,_FACD3DXF,914)
178#define D3DXFERR_NOMOREOBJECTS MAKE_HRESULT(1,_FACD3DXF,915)
179#define D3DXFERR_NOMOREDATA MAKE_HRESULT(1,_FACD3DXF,916)
180#define D3DXFERR_BADCACHEFILE MAKE_HRESULT(1,_FACD3DXF,917)
interface ID3DXFileSaveData * LPD3DXFILESAVEDATA
interface ID3DXFileSaveObject * LPD3DXFILESAVEOBJECT
struct _D3DXF_FILELOADRESOURCE D3DXF_FILELOADRESOURCE
interface ID3DXFileSaveData ** LPLPD3DXFILESAVEDATA
interface ID3DXFile * LPD3DXFILE
STDAPI D3DXFileCreate(struct ID3DXFile **file)
DWORD D3DXF_FILESAVEOPTIONS
interface ID3DXFileData ** LPLPD3DXFILEDATA
DWORD D3DXF_FILELOADOPTIONS
interface ID3DXFileSaveObject ** LPLPD3DXFILESAVEOBJECT
interface ID3DXFileEnumObject * LPD3DXFILEENUMOBJECT
interface ID3DXFileEnumObject ** LPLPD3DXFILEENUMOBJECT
struct _D3DXF_FILELOADMEMORY D3DXF_FILELOADMEMORY
interface ID3DXFileData * LPD3DXFILEDATA
interface ID3DXFile ** LPLPD3DXFILE
static HRESULT GetName(LPSHELLFOLDER lpsf, LPITEMIDLIST pidl, DWORD dwFlags, LPWSTR lpstrFileName)
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static HRESULT QueryInterface(REFIID, void **)
static ULONG WINAPI AddRef(IStream *iface)
#define DECLARE_INTERFACE_IID_(iface, ibase, iid)
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
static int Save(const char **args)
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWAITLOCK * Lock