ReactOS
0.4.16-dev-117-g38f21f9
amaudio.h
Go to the documentation of this file.
1
2
#ifndef __AMAUDIO__
3
#define __AMAUDIO__
4
5
#ifdef __cplusplus
6
extern
"C"
{
7
#endif
8
9
#include <
mmsystem.h
>
10
#include <
dsound.h
>
11
12
#undef INTERFACE
13
#define INTERFACE IAMDirectSound
14
15
DECLARE_INTERFACE_
(IAMDirectSound,
IUnknown
)
16
{
17
STDMETHOD
(
QueryInterface
)(
THIS_
REFIID
riid
,
LPVOID
*ppvObj)
PURE
;
18
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
19
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
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
};
29
#undef INTERFACE
30
31
#ifdef __cplusplus
32
}
33
#endif
34
#endif
DECLARE_INTERFACE_
#define DECLARE_INTERFACE_(i, b)
Definition:
basetyps.h:78
PURE
#define PURE
Definition:
basetyps.h:64
THIS_
#define THIS_
Definition:
basetyps.h:65
THIS
#define THIS
Definition:
basetyps.h:66
STDMETHOD_
#define STDMETHOD_(t, m)
Definition:
basetyps.h:63
STDMETHOD
#define STDMETHOD(m)
Definition:
basetyps.h:62
Release
_In_ BOOLEAN Release
Definition:
cdrom.h:920
HWND
HANDLE HWND
Definition:
compat.h:19
dsound.h
LPDIRECTSOUNDBUFFER
struct IDirectSoundBuffer * LPDIRECTSOUNDBUFFER
Definition:
dsound.h:76
LPDIRECTSOUND
struct IDirectSound * LPDIRECTSOUND
Definition:
dsound.h:70
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
riid
REFIID riid
Definition:
atlbase.h:39
IUnknown
Definition:
unknwn.idl:39
void
Definition:
nsiface.idl:2307
mmsystem.h
QueryInterface
static HRESULT QueryInterface(REFIID, void **)
Definition:
events.c:2587
AddRef
static ULONG WINAPI AddRef(IStream *iface)
Definition:
clist.c:90
BOOL
#define BOOL
Definition:
nt_native.h:43
REFIID
#define REFIID
Definition:
guiddef.h:118
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
sdk
include
dxsdk
amaudio.h
Generated on Fri Oct 11 2024 06:11:20 for ReactOS by
1.9.6