Update bash/readline settings for Unicode line editing
[msysgit.git] / mingw / include / amaudio.h
blob94e23ac5309e9e47e4ca3b3b996928435ccd07f5
1 #ifndef _AMAUDIO_H
2 #define _AMAUDIO_H
3 #if __GNUC__ >= 3
4 #pragma GCC system_header
5 #endif
7 #include <dsound.h>
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
13 #define INTERFACE IAMDirectSound
14 DECLARE_INTERFACE_(IAMDirectSound, IUnknown)
16 STDMETHOD(QueryInterface)(THIS_ REFIID,LPVOID*) PURE;
17 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
18 STDMETHOD_(ULONG,Release)(THIS) PURE;
19 STDMETHOD(GetDirectSoundInterface)(THIS_ LPDIRECTSOUND*) PURE;
20 STDMETHOD(GetPrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER*) PURE;
21 STDMETHOD(GetSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER*) PURE;
22 STDMETHOD(GetFocusWindow)(THIS_ HWND*,BOOL*) PURE ;
23 STDMETHOD(ReleaseDirectSoundInterface)(THIS_ LPDIRECTSOUND) PURE;
24 STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER) PURE;
25 STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER) PURE;
26 STDMETHOD(SetFocusWindow)(THIS_ HWND,BOOL) PURE ;
28 #undef INTERFACE
30 #ifdef __cplusplus
32 #endif
33 #endif