holdingarea/llvm/llvm-gcc4.2-2.7-x86-mingw32/include/amaudio.h
author Matt Plumtree <matt.plumtree@nokia.com>
Thu, 07 Oct 2010 13:58:22 +0100
branchbug235_bringup_0
changeset 55 09263774e342
parent 20 d2d6724aef32
permissions -rw-r--r--
Move GLES20 source into standard locations Move Khronos headers into their respective components, to be exported by each. Remove hostthreadadapter as nothing outside of the vghwapiwrapper, which now contains the code, needs it

#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