4 #pragma GCC system_header
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
;