6 #define COM_NO_WINDOWS_H
16 #define EM_MAX_NAME 32
18 #define EMFLAG_IDDEFAULT (-1)
19 #define EMFLAG_IDNONE (-2)
20 #define EMFLAG_LOCKPOSITION 1
21 #define EMFLAG_LOADFROMMEMORY 2
22 #define EMFLAG_NODIFFRACTION 4
61 #define EMMATERIAL_OBSTRUCTS 1
62 #define EMMATERIAL_OCCLUDES 3
72 DEFINE_GUID(CLSID_EAXMANAGER, 0x60b721a1, 0xf7c8, 0x11d2, 0xa0, 0x2e, 0x0, 0x50, 0x4, 0x6, 0x18, 0xb8);
81 DEFINE_GUID(IID_IEaxManager, 0x60b721a2, 0xf7c8, 0x11d2, 0xa0, 0x2e, 0x0, 0x50, 0x4, 0x6, 0x18, 0xb8);
84 #define INTERFACE IEaxManager
92 STDMETHOD(QueryInterface) (THIS_ REFIID,
LPVOID *) PURE;
93 STDMETHOD_(ULONG,AddRef) (THIS) PURE;
94 STDMETHOD_(ULONG,Release) (THIS) PURE;
96 STDMETHOD(GetDataSetSize) (THIS_
unsigned long*,
DWORD) PURE;
97 STDMETHOD(LoadDataSet) (THIS_
char*,
DWORD) PURE;
98 STDMETHOD(FreeDataSet) (THIS_
DWORD) PURE;
100 STDMETHOD(GetSourceID) (THIS_
char*,
long*) PURE;
102 STDMETHOD(GetSourceNumInstances) (THIS_ long,
long*) PURE;
103 STDMETHOD(GetSourceInstancePos) (THIS_ long, long,
LPEMPOINT) PURE;
104 STDMETHOD(GetEnvironmentID) (THIS_
char*,
long*) PURE;
106 STDMETHOD(GetMaterialID) (THIS_
char*,
long*) PURE;
108 STDMETHOD(GetGeometrySetID) (THIS_
char*,
long*) PURE;
109 STDMETHOD(GetListenerDynamicAttributes) (THIS_ long,
LPEMPOINT,
long*,
DWORD) PURE;
110 STDMETHOD(GetSourceDynamicAttributes) (THIS_ long,
LPEMPOINT,
long*,
float*,
long*,
float*,
float*,
LPEMPOINT,
DWORD) PURE;
112 STDMETHOD(GetEnvironmentName) (THIS_ long,
char *szString,
long lStrlen) PURE;
115 #if !defined(__cplusplus) || defined(CINTERFACE)
116 #define IEaxManager_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
117 #define IEaxManager_AddRef(p) (p)->lpVtbl->AddRef(p)
118 #define IEaxManager_Release(p) (p)->lpVtbl->Release(p)
119 #define IEaxManager_GetDataSetSize(p,a,b) (p)->lpVtbl->GetDataSetSize(p,a,b)
120 #define IEaxManager_LoadDataSet(p,a,b) (p)->lpVtbl->LoadDataSet(p,a,b)
121 #define IEaxManager_FreeDataSet(p,a) (p)->lpVtbl->FreeDataSet(p,a)
122 #define IEaxManager_GetListenerAttributes(p,a) (p)->lpVtbl->GetListenerAttributes(p,a)
123 #define IEaxManager_GetSourceID(p,a,b) (p)->lpVtbl->GetSourceID(p,a,b)
124 #define IEaxManager_GetSourceAttributes(p,a,b) (p)->lpVtbl->GetSourceAttributes(p,a,b)
125 #define IEaxManager_GetSourceNumInstances(p,a,b) (p)->lpVtbl->GetSourceNumInstances(p,a,b)
126 #define IEaxManager_GetSourceInstancePos(p,a,b,c) (p)->lpVtbl->GetSourceInstancePos(p,a,b,c)
127 #define IEaxManager_GetEnvironmentID(p,a,b) (p)->lpVtbl->GetEnvironmentID(p,a,b)
128 #define IEaxManager_GetEnvironmentAttributes(p,a,b) (p)->lpVtbl->GetEnvironmentAttributes(p,a,b)
129 #define IEaxManager_GetMaterialID(p,a,b) (p)->lpVtbl->GetMaterialID(p,a,b)
130 #define IEaxManager_GetMaterialAttributes(p,a,b) (p)->lpVtbl->GetMaterialAttributes(p,a,b)
131 #define IEaxManager_GetGeometrySetID(p,a,b) (p)->lpVtbl->GetGeometrySetID(p,a,b)
132 #define IEaxManager_GetListenerDynamicAttributes(p,a,b,c,d) (p)->lpVtbl->GetListenerDynamicAttributes(p,a,b,c,d)
133 #define IEaxManager_GetSourceDynamicAttributes(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->GetSourceDynamicAttributes(p,a,b,c,d,e,f,g,h,i)
135 #define IEaxManager_GetEnvironmentName(p,a,b,c) (p)->lpVtbl->GetEnvironmentName(p,a,b,c)
137 #define IEaxManager_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
138 #define IEaxManager_AddRef(p) (p)->AddRef()
139 #define IEaxManager_Release(p) (p)->Release()
140 #define IEaxManager_GetDataSetSize(p,a,b) (p)->GetDataSetSize(a,b)
141 #define IEaxManager_LoadDataSet(p,a,b) (p)->LoadDataSet(a,b)
142 #define IEaxManager_FreeDataSet(p,a) (p)->FreeDataSet(a)
143 #define IEaxManager_GetListenerAttributes(p,a) (p)->GetListenerAttributes(a)
144 #define IEaxManager_GetSourceID(p,a,b) (p)->GetSourceID(a,b)
145 #define IEaxManager_GetSourceAttributes(p,a,b) (p)->GetSourceAttributes(a,b)
146 #define IEaxManager_GetSourceNumInstances(p,a,b) (p)->GetSourceNumInstances(a,b)
147 #define IEaxManager_GetSourceInstancePos(p,a,b,c) (p)->GetSourceInstancePos(a,b,c)
148 #define IEaxManager_GetEnvironmentID(p,a,b) (p)->GetEnvironmentID(a,b)
149 #define IEaxManager_GetEnvironmentAttributes(p,a,b) (p)->GetEnvironmentAttributes(a,b)
150 #define IEaxManager_GetMaterialID(p,a,b) (p)->GetMaterialID(a,b)
151 #define IEaxManager_GetMaterialAttributes(p,a,b) (p)->GetMaterialAttributes(a,b)
152 #define IEaxManager_GetGeometrySetID(p,a,b) (p)->GetGeometrySetID(a,b)
153 #define IEaxManager_GetListenerDynamicAttributes(p,a,b,c,d) (p)->GetListenerDynamicAttributes(a,b,c,d)
154 #define IEaxManager_GetSourceDynamicAttributes(p,a,b,c,d,e,f,g,h,i) (p)->GetSourceDynamicAttributes(a,b,c,d,e,f,g,h,i)
156 #define IEaxManager_GetEnvironmentName(p,a,b,c) (p)->GetEnvironmentName(a,b,c)
160 #define EM_INVALIDID MAKE_HRESULT(1, FACILITY_ITF, 1)
161 #define EM_IDNOTFOUND MAKE_HRESULT(1, FACILITY_ITF, 2)
162 #define EM_FILENOTFOUND MAKE_HRESULT(1, FACILITY_ITF, 3)
163 #define EM_FILEINVALID MAKE_HRESULT(1, FACILITY_ITF, 4)
164 #define EM_VERSIONINVALID MAKE_HRESULT(1, FACILITY_ITF, 5)
165 #define EM_INSTANCENOTFOUND MAKE_HRESULT(1, FACILITY_ITF, 6)
169 #endif // __cplusplus
struct _SOURCEATTRIBUTES SOURCEATTRIBUTES
HRESULT(__stdcall * LPEAXMANAGERCREATE)(LPEAXMANAGER *)
SOURCEATTRIBUTES FAR * LPSOURCEATTRIBUTES
DEFINE_GUID(CLSID_EAXMANAGER, 0x60b721a1, 0xf7c8, 0x11d2, 0xa0, 0x2e, 0x0, 0x50, 0x4, 0x6, 0x18, 0xb8)
MATERIALATTRIBUTES FAR * LPMATERIALATTRIBUTES
DECLARE_INTERFACE_(IEaxManager, IUnknown)
unsigned long ulInsideConeAngle
LISTENERATTRIBUTES FAR * LPLISTENERATTRIBUTES
unsigned long ulOutsideConeAngle
DIFFRACTIONBOX FAR * LPDIFFRACTIONBOX
struct _DIFFRACTIONBOX DIFFRACTIONBOX
HRESULT __stdcall EaxManagerCreate(LPEAXMANAGER *)
EAXBUFFERPROPERTIES eaxAttributes
typedef LPVOID(WINAPI *PFNWGLCREATEIMAGEBUFFERI3DPROC)(HDC hDC
struct _LISTENERATTRIBUTES LISTENERATTRIBUTES
struct IEaxManager * LPEAXMANAGER
struct _MATERIALATTRIBUTES MATERIALATTRIBUTES
struct _EAXLISTENERPROPERTIES * LPEAXLISTENERPROPERTIES
LPDIRECTSOUND IUnknown FAR *typedef HRESULT(FAR PASCAL *LPEAXDIRECTSOUNDCREATE)(GUID *