ReactOS  0.4.14-dev-52-g6116262
amaudio.h File Reference
#include <mmsystem.h>
#include <dsound.h>
Include dependency graph for amaudio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INTERFACE   IAMDirectSound
 

Functions

 DECLARE_INTERFACE_ (IAMDirectSound, IUnknown)
 

Macro Definition Documentation

◆ INTERFACE

#define INTERFACE   IAMDirectSound

Definition at line 13 of file amaudio.h.

Function Documentation

◆ DECLARE_INTERFACE_()

DECLARE_INTERFACE_ ( IAMDirectSound  ,
IUnknown   
)

Definition at line 15 of file amaudio.h.

16 {
20  STDMETHOD(GetDirectSoundInterface)(THIS_ LPDIRECTSOUND *lplpds) PURE;
21  STDMETHOD(GetPrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER *lplpdsb) PURE;
22  STDMETHOD(GetSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER *lplpdsb) PURE;
23  STDMETHOD(ReleaseDirectSoundInterface)(THIS_ LPDIRECTSOUND lpds) PURE;
24  STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER lpdsb) PURE;
25  STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER lpdsb) PURE;
26  STDMETHOD(SetFocusWindow)(THIS_ HWND, BOOL) PURE ;
27  STDMETHOD(GetFocusWindow)(THIS_ HWND *, BOOL*) PURE ;
28 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
HANDLE HWND
Definition: compat.h:13
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define BOOL
Definition: nt_native.h:43
#define STDMETHOD(m)
Definition: basetyps.h:62
unsigned int BOOL
Definition: ntddk_ex.h:94
struct IDirectSoundBuffer * LPDIRECTSOUNDBUFFER
Definition: dsound.h:76
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
struct IDirectSound * LPDIRECTSOUND
Definition: dsound.h:70
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63