diff options
author | Dimitri Papadopoulos <dimitri_at@users.sf.net> | 2006-05-03 11:47:23 +0400 |
---|---|---|
committer | Dimitri Papadopoulos <dimitri_at@users.sf.net> | 2006-05-03 11:47:23 +0400 |
commit | 7d1555a200fdc9d8026bc5f9ac297e8b2e337d3b (patch) | |
tree | 3c233f7daad4a5ade0179d09e84757027135bb19 /winsup/w32api/include | |
parent | cedb1281cfd8ddc0fb35c2ceb6ce10666ea5c924 (diff) |
* include/amaudio.h: New file.
* include/dshow.h: Include <amaudio.h>.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r-- | winsup/w32api/include/amaudio.h | 33 | ||||
-rw-r--r-- | winsup/w32api/include/dshow.h | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/winsup/w32api/include/amaudio.h b/winsup/w32api/include/amaudio.h new file mode 100644 index 000000000..94e23ac53 --- /dev/null +++ b/winsup/w32api/include/amaudio.h @@ -0,0 +1,33 @@ +#ifndef _AMAUDIO_H +#define _AMAUDIO_H +#if __GNUC__ >= 3 +#pragma GCC system_header +#endif + +#include <dsound.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#define INTERFACE IAMDirectSound +DECLARE_INTERFACE_(IAMDirectSound, IUnknown) +{ + STDMETHOD(QueryInterface)(THIS_ REFIID,LPVOID*) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release)(THIS) PURE; + STDMETHOD(GetDirectSoundInterface)(THIS_ LPDIRECTSOUND*) PURE; + STDMETHOD(GetPrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER*) PURE; + STDMETHOD(GetSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER*) PURE; + STDMETHOD(GetFocusWindow)(THIS_ HWND*,BOOL*) PURE ; + STDMETHOD(ReleaseDirectSoundInterface)(THIS_ LPDIRECTSOUND) PURE; + STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER) PURE; + STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER) PURE; + STDMETHOD(SetFocusWindow)(THIS_ HWND,BOOL) PURE ; +}; +#undef INTERFACE + +#ifdef __cplusplus +} +#endif +#endif diff --git a/winsup/w32api/include/dshow.h b/winsup/w32api/include/dshow.h index fce9a6124..be12c22de 100644 --- a/winsup/w32api/include/dshow.h +++ b/winsup/w32api/include/dshow.h @@ -4,6 +4,7 @@ #pragma GCC system_header #endif +#include <amaudio.h> #include <evcode.h> #include <audevcod.h> #include <dvdevcod.h> |