wined3d: Introduce wined3d_texture_get_sub_resource_parent().
[wine.git] / include / amaudio.h
blobe684821b929608e51a62e791c13e650e4da2a37a
1 /*
2 * Copyright (C) 2010 Maarten Lankhorst for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __AMAUDIO__
20 #define __AMAUDIO__
22 #include <mmsystem.h>
23 #include <dsound.h>
25 #undef INTERFACE
26 #define INTERFACE IAMDirectSound
28 DECLARE_INTERFACE_(IAMDirectSound,IUnknown)
30 /*** IUnknown methods ***/
31 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
32 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
33 STDMETHOD_(ULONG,Release)(THIS) PURE;
35 /*** IAMDirectSound methods ***/
36 STDMETHOD(GetDirectSoundInterface)(THIS_ IDirectSound **ds) PURE;
37 STDMETHOD(GetPrimaryBufferInterface)(THIS_ IDirectSoundBuffer **buf) PURE;
38 STDMETHOD(GetSecondaryBufferInterface)(THIS_ IDirectSoundBuffer **buf) PURE;
39 STDMETHOD(ReleaseDirectSoundInterface)(THIS_ IDirectSound *ds) PURE;
40 STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ IDirectSoundBuffer *buf) PURE;
41 STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ IDirectSoundBuffer *buf) PURE;
42 STDMETHOD(SetFocusWindow)(THIS_ HWND hwnd, BOOL bgaudible) PURE;
43 STDMETHOD(GetFocusWindow)(THIS_ HWND *hwnd, BOOL *bgaudible) PURE;
45 #undef INTERFACE
47 #endif