Fixes char array in structure dumping.
[wine.git] / include / amaudio.h
blobf0488d7e8f21ea10b314dc4000ccf38b59d534a1
1 #ifndef __WINE_AMAUDIO_H_
2 #define __WINE_AMAUDIO_H_
4 #include "ole2.h"
5 #include "mmsystem.h"
6 #include "dsound.h"
8 typedef struct IAMDirectSound IAMDirectSound;
11 /**************************************************************************
13 * IAMDirectSound interface
17 #define ICOM_INTERFACE IAMDirectSound
18 #define IAMDirectSound_METHODS \
19 ICOM_METHOD1(HRESULT,GetDirectSoundInterface,LPDIRECTSOUND*,a1) \
20 ICOM_METHOD1(HRESULT,GetPrimaryBufferInterface,LPDIRECTSOUNDBUFFER*,a1) \
21 ICOM_METHOD1(HRESULT,GetSecondaryBufferInterface,LPDIRECTSOUNDBUFFER*,a1) \
22 ICOM_METHOD1(HRESULT,ReleaseDirectSoundInterface,LPDIRECTSOUND,a1) \
23 ICOM_METHOD1(HRESULT,ReleasePrimaryBufferInterface,LPDIRECTSOUNDBUFFER,a1) \
24 ICOM_METHOD1(HRESULT,ReleaseSecondaryBufferInterface,LPDIRECTSOUNDBUFFER,a1) \
25 ICOM_METHOD2(HRESULT,SetFocusWindow,HWND,a1,BOOL,a2) \
26 ICOM_METHOD2(HRESULT,GetFocusWindow,HWND*,a1,BOOL*,a2)
28 #define IAMDirectSound_IMETHODS \
29 IUnknown_IMETHODS \
30 IAMDirectSound_METHODS
32 ICOM_DEFINE(IAMDirectSound,IUnknown)
33 #undef ICOM_INTERFACE
35 /*** IUnknown methods ***/
36 #define IAMDirectSound_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
37 #define IAMDirectSound_AddRef(p) ICOM_CALL (AddRef,p)
38 #define IAMDirectSound_Release(p) ICOM_CALL (Release,p)
39 /*** IAMDirectSound methods ***/
40 #define IAMDirectSound_GetDirectSoundInterface(p,a1) ICOM_CALL1(GetDirectSoundInterface,p,a1)
41 #define IAMDirectSound_GetPrimaryBufferInterface(p,a1) ICOM_CALL1(GetPrimaryBufferInterface,p,a1)
42 #define IAMDirectSound_GetSecondaryBufferInterface(p,a1) ICOM_CALL1(GetSecondaryBufferInterface,p,a1)
43 #define IAMDirectSound_ReleaseDirectSoundInterface(p,a1) ICOM_CALL1(ReleaseDirectSoundInterface,p,a1)
44 #define IAMDirectSound_ReleasePrimaryBufferInterface(p,a1) ICOM_CALL1(ReleasePrimaryBufferInterface,p,a1)
45 #define IAMDirectSound_ReleaseSecondaryBufferInterface(p,a1) ICOM_CALL1(ReleaseSecondaryBufferInterface,p,a1)
46 #define IAMDirectSound_SetFocusWindow(p,a1,a2) ICOM_CALL2(SetFocusWindow,p,a1,a2)
47 #define IAMDirectSound_GetFocusWindow(p,a1,a2) ICOM_CALL2(GetFocusWindow,p,a1,a2)
49 #endif /* __WINE_AMAUDIO_H_ */