VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/amaudio.h@ 53201

Last change on this file since 53201 was 53201, checked in by vboxsync, 11 years ago

Devices/Main: vmsvga updates

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1/*
2 * Copyright (C) 2010 Maarten Lankhorst for CodeWeavers
3 *
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.
8 *
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.
13 *
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
17 */
18
19#ifndef __AMAUDIO__
20#define __AMAUDIO__
21
22#include <mmsystem.h>
23#include <dsound.h>
24
25#undef INTERFACE
26#define INTERFACE IAMDirectSound
27
28DECLARE_INTERFACE_(IAMDirectSound,IUnknown)
29{
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;
34
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;
44};
45#undef INTERFACE
46
47#endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette