Author: greatlrd
Date: Sun Apr 15 14:17:27 2007
New Revision: 26354
URL:
http://svn.reactos.org/svn/reactos?rev=26354&view=rev
Log:
Find some older works, dxsdk header compatible with dxsdk 2004 dec release. I will clean
up sdk so dx thuse dx header belong to dxsdk will be here. later.
In this folder will contain all header that is compatible with dxsdk 2004 dec. later I
will upgrade this folder file to more resent dxsdk headers.
Added:
trunk/reactos/include/dxsdk/dmdls.h
trunk/reactos/include/dxsdk/dxdiag.h
trunk/reactos/include/dxsdk/dxfile.h (with props)
Added: trunk/reactos/include/dxsdk/dmdls.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/dmdls.h?rev=…
==============================================================================
--- trunk/reactos/include/dxsdk/dmdls.h (added)
+++ trunk/reactos/include/dxsdk/dmdls.h Sun Apr 15 14:17:27 2007
@@ -1,0 +1,175 @@
+ifndef _DMDLS_
+#define _DMDLS_
+
+#include "dls1.h"
+
+#define DMUS_DOWNLOADINFO_INSTRUMENT 1
+#define DMUS_DOWNLOADINFO_WAVE 2
+#define DMUS_DOWNLOADINFO_INSTRUMENT2 3
+#define DMUS_DOWNLOADINFO_WAVEARTICULATION 4
+#define DMUS_DOWNLOADINFO_STREAMINGWAVE 5
+#define DMUS_DOWNLOADINFO_ONESHOTWAVE 6
+#define DMUS_DEFAULT_SIZE_OFFSETTABLE 1
+#define DMUS_INSTRUMENT_GM_INSTRUMENT (1 << 0)
+#define DMUS_MIN_DATA_SIZE 4
+
+typedef long PCENT;
+typedef long GCENT;
+typedef long TCENT;
+typedef long PERCENT;
+typedef LONGLONG REFERENCE_TIME;
+typedef REFERENCE_TIME *LPREFERENCE_TIME;
+
+#ifndef MAKE_FOURCC
+ #define MAKEFOURCC(ch0, ch1, ch2, ch3) ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1)
<< 8) | ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
+ typedef DWORD FOURCC;
+#endif
+
+
+typedef struct _DMUS_LFOPARAMS
+{
+ PCENT pcFrequency;
+ TCENT tcDelay;
+ GCENT gcVolumeScale;
+ PCENT pcPitchScale;
+ GCENT gcMWToVolume;
+ PCENT pcMWToPitch;
+} DMUS_LFOPARAMS;
+
+typedef struct _DMUS_VEGPARAMS
+{
+ TCENT tcAttack;
+ TCENT tcDecay;
+ PERCENT ptSustain;
+ TCENT tcRelease;
+ TCENT tcVel2Attack;
+ TCENT tcKey2Decay;
+} DMUS_VEGPARAMS;
+
+typedef struct _DMUS_PEGPARAMS
+{
+ TCENT tcAttack;
+ TCENT tcDecay;
+ PERCENT ptSustain;
+ TCENT tcRelease;
+ TCENT tcVel2Attack;
+ TCENT tcKey2Decay;
+ PCENT pcRange;
+} DMUS_PEGPARAMS;
+
+typedef struct _DMUS_MSCPARAMS
+{
+ PERCENT ptDefaultPan;
+} DMUS_MSCPARAMS;
+
+typedef struct _DMUS_DOWNLOADINFO
+{
+ DWORD dwDLType;
+ DWORD dwDLId;
+ DWORD dwNumOffsetTableEntries;
+ DWORD cbSize;
+} DMUS_DOWNLOADINFO;
+
+typedef struct _DMUS_OFFSETTABLE
+{
+ ULONG ulOffsetTable[DMUS_DEFAULT_SIZE_OFFSETTABLE];
+} DMUS_OFFSETTABLE;
+
+typedef struct _DMUS_INSTRUMENT
+{
+ ULONG ulPatch;
+ ULONG ulFirstRegionIdx;
+ ULONG ulGlobalArtIdx;
+ ULONG ulFirstExtCkIdx;
+ ULONG ulCopyrightIdx;
+ ULONG ulFlags;
+} DMUS_INSTRUMENT;
+
+typedef struct _DMUS_REGION
+{
+ RGNRANGE RangeKey;
+ RGNRANGE RangeVelocity;
+ USHORT fusOptions;
+ USHORT usKeyGroup;
+ ULONG ulRegionArtIdx;
+ ULONG ulNextRegionIdx;
+ ULONG ulFirstExtCkIdx;
+ WAVELINK WaveLink;
+ WSMPL WSMP;
+ WLOOP WLOOP[1];
+} DMUS_REGION;
+
+typedef struct _DMUS_NOTERANGE
+{
+ DWORD dwLowNote;
+ DWORD dwHighNote;
+} DMUS_NOTERANGE, *LPDMUS_NOTERANGE;
+
+typedef struct _DMUS_COPYRIGHT
+{
+ ULONG cbSize;
+ BYTE byCopyright[DMUS_MIN_DATA_SIZE];
+} DMUS_COPYRIGHT;
+
+
+typedef struct _DMUS_EXTENSIONCHUNK
+{
+ ULONG cbSize;
+ ULONG ulNextExtCkIdx;
+ FOURCC ExtCkID;
+ BYTE byExtCk[DMUS_MIN_DATA_SIZE];
+} DMUS_EXTENSIONCHUNK;
+
+
+typedef struct _DMUS_WAVE
+{
+ ULONG ulFirstExtCkIdx;
+ ULONG ulCopyrightIdx;
+ ULONG ulWaveDataIdx;
+ WAVEFORMATEX WaveformatEx;
+} DMUS_WAVE;
+
+typedef struct _DMUS_WAVEDATA
+{
+ ULONG cbSize;
+ BYTE byData[DMUS_MIN_DATA_SIZE];
+} DMUS_WAVEDATA;
+
+typedef struct _DMUS_ARTICULATION
+{
+ ULONG ulArt1Idx;
+ ULONG ulFirstExtCkIdx;
+} DMUS_ARTICULATION;
+
+typedef struct _DMUS_ARTICULATION2
+{
+ ULONG ulArtIdx;
+ ULONG ulFirstExtCkIdx;
+ ULONG ulNextArtIdx;
+} DMUS_ARTICULATION2;
+
+typedef struct _DMUS_WAVEDL
+{
+ ULONG cbWaveData;
+} DMUS_WAVEDL, *LPDMUS_WAVEDL;
+
+typedef struct _DMUS_ARTICPARAMS
+{
+ DMUS_LFOPARAMS LFO;
+ DMUS_VEGPARAMS VolEG;
+ DMUS_PEGPARAMS PitchEG;
+ DMUS_MSCPARAMS Misc;
+} DMUS_ARTICPARAMS;
+
+typedef struct _DMUS_WAVEARTDL
+{
+ ULONG ulDownloadIdIdx;
+ ULONG ulBus;
+ ULONG ulBuffers;
+ ULONG ulMasterDLId;
+ USHORT usOptions;
+} DMUS_WAVEARTDL, *LPDMUS_WAVEARTDL;
+
+
+#endif
+
Added: trunk/reactos/include/dxsdk/dxdiag.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/dxdiag.h?rev…
==============================================================================
--- trunk/reactos/include/dxsdk/dxdiag.h (added)
+++ trunk/reactos/include/dxsdk/dxdiag.h Sun Apr 15 14:17:27 2007
@@ -1,0 +1,91 @@
+#ifndef _DXDIAG_H_
+#define _DXDIAG_H_
+
+#include <ole2.h>
+
+#define DXDIAG_DX9_SDK_VERSION 111
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+DEFINE_GUID(CLSID_DxDiagProvider, 0xA65B8071, 0x3BFE, 0x4213, 0x9A, 0x5B, 0x49, 0x1D,
0xA4, 0x46, 0x1C, 0xA7);
+DEFINE_GUID(IID_IDxDiagProvider, 0x9C6B4CB0, 0x23F8, 0x49CC, 0xA3, 0xED, 0x45, 0xA5,
0x50, 0x00, 0xA6, 0xD2);
+DEFINE_GUID(IID_IDxDiagContainer, 0x7D0F462F, 0x4064, 0x4862, 0xBC, 0x7F, 0x93, 0x3E,
0x50, 0x58, 0xC1, 0x0F);
+
+typedef struct IDxDiagProvider *LPDXDIAGPROVIDER, *PDXDIAGPROVIDER;
+#undef INTERFACE
+#define INTERFACE IDxDiagProvider
+DECLARE_INTERFACE_(IDxDiagProvider,IUnknown)
+{
+ STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID *ppvObj) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+ STDMETHOD(Initialize) (THIS_ DXDIAG_INIT_PARAMS* pParams) PURE;
+ STDMETHOD(GetRootContainer) (THIS_ IDxDiagContainer **ppInstance) PURE;
+};
+
+typedef struct IDxDiagContainer *LPDXDIAGCONTAINER, *PDXDIAGCONTAINER;
+#undef INTERFACE
+#define INTERFACE IDxDiagContainer
+DECLARE_INTERFACE_(IDxDiagContainer,IUnknown)
+{
+
+ STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID *ppvObj) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+ STDMETHOD(GetNumberOfChildContainers) (THIS_ DWORD *pdwCount) PURE;
+ STDMETHOD(EnumChildContainerNames) (THIS_ DWORD dwIndex, LPWSTR pwszContainer, DWORD
cchContainer) PURE;
+ STDMETHOD(GetChildContainer) (THIS_ LPCWSTR pwszContainer, IDxDiagContainer
**ppInstance) PURE;
+ STDMETHOD(GetNumberOfProps) (THIS_ DWORD *pdwCount) PURE;
+ STDMETHOD(EnumPropNames) (THIS_ DWORD dwIndex, LPWSTR pwszPropName, DWORD
cchPropName) PURE;
+ STDMETHOD(GetProp) (THIS_ LPCWSTR pwszPropName, VARIANT *pvarProp) PURE;
+};
+
+typedef struct _DXDIAG_INIT_PARAMS
+{
+ DWORD dwSize;
+ DWORD dwDxDiagHeaderVersion;
+ BOOL bAllowWHQLChecks;
+ VOID* pReserved;
+} DXDIAG_INIT_PARAMS;
+
+#define DXDIAG_E_INSUFFICIENT_BUFFER ((HRESULT)0x8007007AL)
+#if !defined(__cplusplus) || defined(CINTERFACE)
+ #define IDxDiagProvider_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
+ #define IDxDiagProvider_AddRef(p) (p)->lpVtbl->AddRef(p)
+ #define IDxDiagProvider_Release(p) (p)->lpVtbl->Release(p)
+ #define IDxDiagProvider_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
+ #define IDxDiagProvider_GetRootContainer(p,a) (p)->lpVtbl->GetRootContainer(p,a)
+ #define IDxDiagContainer_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(p,a,b)
+ #define IDxDiagContainer_AddRef(p) (p)->lpVtbl->AddRef(p)
+ #define IDxDiagContainer_Release(p) (p)->lpVtbl->Release(p)
+ #define IDxDiagContainer_GetNumberOfChildContainers(p,a)
(p)->lpVtbl->GetNumberOfChildContainers(p,a)
+ #define IDxDiagContainer_EnumChildContainerNames(p,a,b,c)
(p)->lpVtbl->EnumChildContainerNames(p,a,b,c)
+ #define IDxDiagContainer_GetChildContainer(p,a,b)
(p)->lpVtbl->GetChildContainer(p,a,b)
+ #define IDxDiagContainer_GetNumberOfProps(p,a)
(p)->lpVtbl->GetNumberOfProps(p,a)
+ #define IDxDiagContainer_EnumProps(p,a,b) (p)->lpVtbl->EnumProps(p,a,b,c)
+ #define IDxDiagContainer_GetProp(p,a,b) (p)->lpVtbl->GetProp(p,a,b)
+#else
+ #define IDxDiagProvider_QueryInterface(p,a,b) (p)->QueryInterface(p,a,b)
+ #define IDxDiagProvider_AddRef(p) (p)->AddRef(p)
+ #define IDxDiagProvider_Release(p) (p)->Release(p)
+ #define IDxDiagProvider_Initialize(p,a,b) (p)->Initialize(p,a,b)
+ #define IDxDiagProvider_GetRootContainer(p,a) (p)->GetRootContainer(p,a)
+ #define IDxDiagContainer_QueryInterface(p,a,b) (p)->QueryInterface(p,a,b)
+ #define IDxDiagContainer_AddRef(p) (p)->AddRef(p)
+ #define IDxDiagContainer_Release(p) (p)->Release(p)
+ #define IDxDiagContainer_GetNumberOfChildContainers(p,a)
(p)->GetNumberOfChildContainers(p,a)
+ #define IDxDiagContainer_EnumChildContainerNames(p,a,b,c)
(p)->EnumChildContainerNames(p,a,b,c)
+ #define IDxDiagContainer_GetChildContainer(p,a,b) (p)->GetChildContainer(p,a,b)
+ #define IDxDiagContainer_GetNumberOfProps(p,a) (p)->GetNumberOfProps(p,a)
+ #define IDxDiagContainer_EnumProps(p,a,b) (p)->EnumProps(p,a,b,c)
+ #define IDxDiagContainer_GetProp(p,a,b) (p)->GetProp(p,a,b)
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
Added: trunk/reactos/include/dxsdk/dxfile.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/dxfile.h?rev…
==============================================================================
--- trunk/reactos/include/dxsdk/dxfile.h (added)
+++ trunk/reactos/include/dxsdk/dxfile.h Sun Apr 15 14:17:27 2007
@@ -1,0 +1,180 @@
+#ifndef __DXFILE_H__
+#define __DXFILE_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef DWORD DXFILEFORMAT;
+typedef DWORD DXFILELOADOPTIONS;
+
+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);
+DEFINE_GUID(CLSID_CDirectXFile, 0x4516EC43, 0x8F20, 0x11D0, 0x9B, 0x6D,
0x00, 0x00, 0xC0, 0x78, 0x1B, 0xC3);
+
+#ifndef WIN_TYPES
+ #define WIN_TYPES(itype, ptype) typedef interface itype *LP##ptype, **LPLP##ptype
+#endif
+
+#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 _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)
+
+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);
+
+typedef struct _DXFILELOADRESOURCE
+{
+ HMODULE hModule;
+ LPCTSTR lpName;
+ LPCTSTR lpType;
+}DXFILELOADRESOURCE, *LPDXFILELOADRESOURCE;
+
+typedef struct _DXFILELOADMEMORY
+{
+ LPVOID lpMemory;
+ DWORD dSize;
+}DXFILELOADMEMORY, *LPDXFILELOADMEMORY;
+
+STDAPI DirectXFileCreate(LPDIRECTXFILE *lplpDirectXFile);
+#define IDIRECTXFILEOBJECT_METHODS(kind) \
+ STDMETHOD(GetName) (THIS_ LPSTR, LPDWORD) kind; \
+ STDMETHOD(GetId) (THIS_ LPGUID) kind
+#define IUNKNOWN_METHODS(kind) \
+ STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID *ppvObj) kind; \
+ STDMETHOD_(ULONG, AddRef) (THIS) kind; \
+ STDMETHOD_(ULONG, Release) (THIS) kind
+
+#undef INTERFACE
+#define INTERFACE IDirectXFile
+
+DECLARE_INTERFACE_(IDirectXFile, IUnknown)
+{
+ IUNKNOWN_METHODS(PURE);
+ STDMETHOD(CreateEnumObject) (THIS_ LPVOID, DXFILELOADOPTIONS, LPDIRECTXFILEENUMOBJECT
*) PURE;
+ STDMETHOD(CreateSaveObject) (THIS_ LPCSTR, DXFILEFORMAT, LPDIRECTXFILESAVEOBJECT *)
PURE;
+ STDMETHOD(RegisterTemplates) (THIS_ LPVOID, DWORD) PURE;
+};
+
+#undef INTERFACE
+#define INTERFACE IDirectXFileEnumObject
+
+DECLARE_INTERFACE_(IDirectXFileEnumObject, IUnknown)
+{
+ IUNKNOWN_METHODS(PURE);
+ STDMETHOD(GetNextDataObject) (THIS_ LPDIRECTXFILEDATA *) PURE;
+ STDMETHOD(GetDataObjectById) (THIS_ REFGUID, LPDIRECTXFILEDATA *) PURE;
+ STDMETHOD(GetDataObjectByName) (THIS_ LPCSTR, LPDIRECTXFILEDATA *) PURE;
+};
+
+#undef INTERFACE
+#define INTERFACE IDirectXFileSaveObject
+
+DECLARE_INTERFACE_(IDirectXFileSaveObject, IUnknown)
+{
+ IUNKNOWN_METHODS(PURE);
+ STDMETHOD(SaveTemplates) (THIS_ DWORD, const GUID **) PURE;
+ STDMETHOD(CreateDataObject) (THIS_ REFGUID, LPCSTR, const GUID *,
+ DWORD, LPVOID, LPDIRECTXFILEDATA *) PURE;
+ STDMETHOD(SaveData) (THIS_ LPDIRECTXFILEDATA) PURE;
+};
+
+#undef INTERFACE
+#define INTERFACE IDirectXFileObject
+
+DECLARE_INTERFACE_(IDirectXFileObject, IUnknown)
+{
+ IUNKNOWN_METHODS(PURE);
+ IDIRECTXFILEOBJECT_METHODS(PURE);
+};
+
+#undef INTERFACE
+#define INTERFACE IDirectXFileData
+
+DECLARE_INTERFACE_(IDirectXFileData, IDirectXFileObject)
+{
+ IUNKNOWN_METHODS(PURE);
+ IDIRECTXFILEOBJECT_METHODS(PURE);
+ STDMETHOD(GetData) (THIS_ LPCSTR, DWORD *, void **) PURE;
+ STDMETHOD(GetType) (THIS_ const GUID **) PURE;
+ STDMETHOD(GetNextObject) (THIS_ LPDIRECTXFILEOBJECT *) PURE;
+ STDMETHOD(AddDataObject) (THIS_ LPDIRECTXFILEDATA) PURE;
+ STDMETHOD(AddDataReference) (THIS_ LPCSTR, const GUID *) PURE;
+ STDMETHOD(AddBinaryObject) (THIS_ LPCSTR, const GUID *, LPCSTR, LPVOID, DWORD) PURE;
+};
+
+#undef INTERFACE
+#define INTERFACE IDirectXFileDataReference
+
+DECLARE_INTERFACE_(IDirectXFileDataReference, IDirectXFileObject)
+{
+ IUNKNOWN_METHODS(PURE);
+ IDIRECTXFILEOBJECT_METHODS(PURE);
+ STDMETHOD(Resolve) (THIS_ LPDIRECTXFILEDATA *) PURE;
+};
+
+#undef INTERFACE
+#define INTERFACE IDirectXFileBinary
+
+DECLARE_INTERFACE_(IDirectXFileBinary, IDirectXFileObject)
+{
+ IUNKNOWN_METHODS(PURE);
+ IDIRECTXFILEOBJECT_METHODS(PURE);
+
+ STDMETHOD(GetSize) (THIS_ DWORD *) PURE;
+ STDMETHOD(GetMimeType) (THIS_ LPCSTR *) PURE;
+ STDMETHOD(Read) (THIS_ LPVOID, DWORD, LPDWORD) PURE;
+};
+
+#ifdef __cplusplus
+};
+#endif
+
+#endif
Propchange: trunk/reactos/include/dxsdk/dxfile.h
------------------------------------------------------------------------------
svn:eol-style = native