wrote amaudio.h directx header, for it is missing and it need for new sync of dxdiag...
[reactos.git] / reactos / w32api / include / amaudio.h
1 #ifndef __AMAUDIO__
2 #define __AMAUDIO__
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include <mmsystem.h>
9 #include <dsound.h>
10
11 #undef INTERFACE
12 #define INTERFACE IAMDirectSound
13
14 DECLARE_INTERFACE_(IAMDirectSound,IUnknown)
15 {
16 STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID *ppvObj) PURE;
17 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
18 STDMETHOD_(ULONG,Release)(THIS) PURE;
19 STDMETHOD(GetDirectSoundInterface)(THIS_ LPDIRECTSOUND *lplpds) PURE;
20 STDMETHOD(GetPrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER *lplpdsb) PURE;
21 STDMETHOD(GetSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER *lplpdsb) PURE;
22 STDMETHOD(ReleaseDirectSoundInterface)(THIS_ LPDIRECTSOUND lpds) PURE;
23 STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER lpdsb) PURE;
24 STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER lpdsb) PURE;
25 STDMETHOD(SetFocusWindow)(THIS_ HWND, BOOL) PURE ;
26 STDMETHOD(GetFocusWindow)(THIS_ HWND *, BOOL*) PURE ;
27 };
28
29
30 #ifdef __cplusplus
31 }
32 #endif
33 #endif
34