3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Copyright (C) the Wine project
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync *
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is free software; you can redistribute it and/or
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * modify it under the terms of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License as published by the Free Software Foundation; either
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * version 2.1 of the License, or (at your option) any later version.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync *
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is distributed in the hope that it will be useful,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Lesser General Public License for more details.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync *
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * You should have received a copy of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License along with this library; if not, write to the Free Software
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync/*
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * a choice of LGPL license versions is made available with the language indicating
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * of the LGPL is applied is otherwise unspecified.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync */
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifndef __DSOUND_INCLUDED__
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define __DSOUND_INCLUDED__
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifndef DIRECTSOUND_VERSION
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DIRECTSOUND_VERSION 0x0900
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define COM_NO_WINDOWS_H
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#include <objbase.h>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#include <float.h>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifdef __cplusplus
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern "C" {
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* defined(__cplusplus) */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifndef DX_SHARED_DEFINES
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef float D3DVALUE, *LPD3DVALUE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifndef D3DCOLOR_DEFINED
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef DWORD D3DCOLOR, *LPD3DCOLOR;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define D3DCOLOR_DEFINED
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifndef D3DVECTOR_DEFINED
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _D3DVECTOR {
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync float x;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync float y;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync float z;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} D3DVECTOR;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define D3DVECTOR_DEFINED
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifndef LPD3DVECTOR_DEFINED
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef D3DVECTOR *LPD3DVECTOR;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define LPD3DVECTOR_DEFINED
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DX_SHARED_DEFINES
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* DX_SHARED_DEFINES */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Predeclare the interfaces
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(CLSID_DirectSound, 0x47d4d946, 0x62e8, 0x11cf, 0x93, 0xbc, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(CLSID_DirectSound8, 0x3901cc3f, 0x84b5, 0x4fa4, 0xba, 0x35, 0xaa, 0x81, 0x72, 0xb8, 0xa0, 0x9b);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(CLSID_DirectSoundCapture, 0xb0210780, 0x89cd, 0x11d0, 0xaf, 0x08, 0x00, 0xa0, 0xc9, 0x25, 0xcd, 0x16);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(CLSID_DirectSoundCapture8, 0xe4bcac13, 0x7f99, 0x4908, 0x9a, 0x8e, 0x74, 0xe3, 0xbf, 0x24, 0xb6, 0xe1);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(CLSID_DirectSoundFullDuplex,0xfea4300c, 0x7959, 0x4147, 0xb2, 0x6a, 0x23, 0x77, 0xb9, 0xe7, 0xa9, 0x1d);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IDirectSound, 0x279AFA83,0x4981,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectSound *LPDIRECTSOUND,**LPLPDIRECTSOUND;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IDirectSound8, 0xC50A7E93,0xF395,0x4834,0x9E,0xF6,0x7F,0xA9,0x9D,0xE5,0x09,0x66);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectSound8 *LPDIRECTSOUND8,**LPLPDIRECTSOUND8;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IDirectSoundBuffer, 0x279AFA85,0x4981,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectSoundBuffer *LPDIRECTSOUNDBUFFER,**LPLPDIRECTSOUNDBUFFER;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IDirectSoundBuffer8, 0x6825A449,0x7524,0x4D82,0x92,0x0F,0x50,0xE3,0x6A,0xB3,0xAB,0x1E);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectSoundBuffer8 *LPDIRECTSOUNDBUFFER8,**LPLPDIRECTSOUNDBUFFER8;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IDirectSoundNotify, 0xB0210783,0x89cd,0x11d0,0xAF,0x08,0x00,0xA0,0xC9,0x25,0xCD,0x16);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectSoundNotify *LPDIRECTSOUNDNOTIFY,**LPLPDIRECTSOUNDNOTIFY;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IID_IDirectSoundNotify8 IID_IDirectSoundNotify
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IDirectSound3DListener, 0x279AFA84,0x4981,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectSound3DListener *LPDIRECTSOUND3DLISTENER,**LPLPDIRECTSOUND3DLISTENER;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IDirectSound3DBuffer, 0x279AFA86,0x4981,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectSound3DBuffer *LPDIRECTSOUND3DBUFFER,**LPLPDIRECTSOUND3DBUFFER;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IDirectSoundCapture, 0xB0210781,0x89CD,0x11D0,0xAF,0x08,0x00,0xA0,0xC9,0x25,0xCD,0x16);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectSoundCapture *LPDIRECTSOUNDCAPTURE,**LPLPDIRECTSOUNDCAPTURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IID_IDirectSoundCapture8 IID_IDirectSoundCapture
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectSoundCapture IDirectSoundCapture8,*LPDIRECTSOUNDCAPTURE8,**LPLPDIRECTSOUNDCAPTURE8;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IDirectSoundCaptureBuffer,0xB0210782,0x89CD,0x11D0,0xAF,0x08,0x00,0xA0,0xC9,0x25,0xCD,0x16);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectSoundCaptureBuffer *LPDIRECTSOUNDCAPTUREBUFFER,**LPLPDIRECTSOUNDCAPTUREBUFFER;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IDirectSoundCaptureBuffer8,0x00990DF4,0x0DBB,0x4872,0x83,0x3E,0x6D,0x30,0x3E,0x80,0xAE,0xB6);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectSoundCaptureBuffer8 *LPDIRECTSOUNDCAPTUREBUFFER8,**LPLPDIRECTSOUNDCAPTUREBUFFER8;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IDirectSoundFullDuplex, 0xEDCB4C7A,0xDAAB,0x4216,0xA4,0x2E,0x6C,0x50,0x59,0x6D,0xDC,0x1D);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectSoundFullDuplex *LPDIRECTSOUNDFULLDUPLEX,**LPLPDIRECTSOUNDFULLDUPLEX;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IID_IDirectSoundFullDuplex8 IID_IDirectSoundFullDuplex
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(DSDEVID_DefaultPlayback, 0xDEF00000,0x9C6D,0x47Ed,0xAA,0xF1,0x4D,0xDA,0x8F,0x2B,0x5C,0x03);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(DSDEVID_DefaultCapture, 0xDEF00001,0x9C6D,0x47Ed,0xAA,0xF1,0x4D,0xDA,0x8F,0x2B,0x5C,0x03);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(DSDEVID_DefaultVoicePlayback,0xDEF00002,0x9C6D,0x47Ed,0xAA,0xF1,0x4D,0xDA,0x8F,0x2B,0x5C,0x03);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(DSDEVID_DefaultVoiceCapture, 0xDEF00003,0x9C6D,0x47ED,0xAA,0xF1,0x4D,0xDA,0x8F,0x2B,0x5C,0x03);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(DSDEVID_WinePlayback, 0x40316A1D,0x605B,0xD611,0x87,0xC6,0x00,0x80,0xAD,0x00,0x02,0xFE);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define _FACDS 0x878
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define MAKE_DSHRESULT(code) MAKE_HRESULT(1,_FACDS,code)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS_OK 0
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS_NO_VIRTUALIZATION MAKE_HRESULT(0, _FACDS, 10)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS_INCOMPLETE MAKE_HRESULT(0, _FACDS, 20)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_ALLOCATED MAKE_DSHRESULT(10)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_CONTROLUNAVAIL MAKE_DSHRESULT(30)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_INVALIDPARAM E_INVALIDARG
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_INVALIDCALL MAKE_DSHRESULT(50)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_GENERIC E_FAIL
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_PRIOLEVELNEEDED MAKE_DSHRESULT(70)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_OUTOFMEMORY E_OUTOFMEMORY
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_BADFORMAT MAKE_DSHRESULT(100)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_UNSUPPORTED E_NOTIMPL
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_NODRIVER MAKE_DSHRESULT(120)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_ALREADYINITIALIZED MAKE_DSHRESULT(130)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_NOAGGREGATION CLASS_E_NOAGGREGATION
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_BUFFERLOST MAKE_DSHRESULT(150)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_OTHERAPPHASPRIO MAKE_DSHRESULT(160)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_UNINITIALIZED MAKE_DSHRESULT(170)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_NOINTERFACE E_NOINTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_ACCESSDENIED E_ACCESSDENIED
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_BUFFERTOOSMALL MAKE_DSHRESULT(180)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_DS8_REQUIRED MAKE_DSHRESULT(190)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_SENDLOOP MAKE_DSHRESULT(200)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_BADSENDBUFFERGUID MAKE_DSHRESULT(210)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_FXUNAVAILABLE MAKE_DSHRESULT(220)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSERR_OBJECTNOTFOUND MAKE_DSHRESULT(4449)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCAPS_PRIMARYMONO 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCAPS_PRIMARYSTEREO 0x00000002
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCAPS_PRIMARY8BIT 0x00000004
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCAPS_PRIMARY16BIT 0x00000008
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCAPS_CONTINUOUSRATE 0x00000010
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCAPS_EMULDRIVER 0x00000020
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCAPS_CERTIFIED 0x00000040
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCAPS_SECONDARYMONO 0x00000100
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCAPS_SECONDARYSTEREO 0x00000200
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCAPS_SECONDARY8BIT 0x00000400
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCAPS_SECONDARY16BIT 0x00000800
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSCL_NORMAL 1
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSCL_PRIORITY 2
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSCL_EXCLUSIVE 3
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSCL_WRITEPRIMARY 4
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DSCAPS
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwSize;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFlags;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwMinSecondarySampleRate;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwMaxSecondarySampleRate;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwPrimaryBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwMaxHwMixingAllBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwMaxHwMixingStaticBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwMaxHwMixingStreamingBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFreeHwMixingAllBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFreeHwMixingStaticBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFreeHwMixingStreamingBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwMaxHw3DAllBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwMaxHw3DStaticBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwMaxHw3DStreamingBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFreeHw3DAllBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFreeHw3DStaticBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFreeHw3DStreamingBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwTotalHwMemBytes;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFreeHwMemBytes;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwMaxContigFreeHwMemBytes;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwUnlockTransferRateHwBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwPlayCpuOverheadSwBuffers;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwReserved1;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwReserved2;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DSCAPS,*LPDSCAPS;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DSCAPS *LPCDSCAPS;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBPLAY_LOOPING 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBPLAY_LOCHARDWARE 0x00000002
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBPLAY_LOCSOFTWARE 0x00000004
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBPLAY_TERMINATEBY_TIME 0x00000008
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBPLAY_TERMINATEBY_DISTANCE 0x000000010
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBPLAY_TERMINATEBY_PRIORITY 0x000000020
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBSTATUS_PLAYING 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBSTATUS_BUFFERLOST 0x00000002
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBSTATUS_LOOPING 0x00000004
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBSTATUS_LOCHARDWARE 0x00000008
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBSTATUS_LOCSOFTWARE 0x00000010
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBSTATUS_TERMINATED 0x00000020
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBLOCK_FROMWRITECURSOR 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBLOCK_ENTIREBUFFER 0x00000002
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_PRIMARYBUFFER 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_STATIC 0x00000002
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_LOCHARDWARE 0x00000004
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_LOCSOFTWARE 0x00000008
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_CTRL3D 0x00000010
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_CTRLFREQUENCY 0x00000020
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_CTRLPAN 0x00000040
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_CTRLVOLUME 0x00000080
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_CTRLDEFAULT 0x000000E0 /* Pan + volume + frequency. */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_CTRLPOSITIONNOTIFY 0x00000100
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_CTRLFX 0x00000200
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_CTRLALL 0x000001F0 /* All control capabilities */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_STICKYFOCUS 0x00004000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_GLOBALFOCUS 0x00008000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_GETCURRENTPOSITION2 0x00010000 /* More accurate play cursor under emulation*/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_MUTE3DATMAXDISTANCE 0x00020000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBCAPS_LOCDEFER 0x00040000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBSIZE_MIN 4
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBSIZE_MAX 0xFFFFFFF
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBPAN_LEFT -10000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBPAN_CENTER 0
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBPAN_RIGHT 10000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBVOLUME_MAX 0
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBVOLUME_MIN -10000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBFREQUENCY_MIN 100
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBFREQUENCY_MAX 200000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBFREQUENCY_ORIGINAL 0
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBNOTIFICATIONS_MAX 100000U
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DSBCAPS
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwSize;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFlags;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwBufferBytes;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwUnlockTransferRate;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwPlayCpuOverhead;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DSBCAPS,*LPDSBCAPS;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DSBCAPS *LPCDSBCAPS;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSCL_NORMAL 1
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSCL_PRIORITY 2
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSCL_EXCLUSIVE 3
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSCL_WRITEPRIMARY 4
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DSEFFECTDESC
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwSize;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFlags;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync GUID guidDSFXClass;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD_PTR dwReserved1;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD_PTR dwReserved2;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DSEFFECTDESC,*LPDSEFFECTDESC;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DSEFFECTDESC *LPCDSEFFECTDESC;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSFX_LOCHARDWARE 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSFX_LOCSOFTWARE 0x00000002
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncenum
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DSFXR_PRESENT,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DSFXR_LOCHARDWARE,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DSFXR_LOCSOFTWARE,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DSFXR_UNALLOCATED,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DSFXR_FAILED,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DSFXR_UNKNOWN,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DSFXR_SENDLOOP
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DSBUFFERDESC1
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwSize;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFlags;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwBufferBytes;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwReserved;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync LPWAVEFORMATEX lpwfxFormat;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DSBUFFERDESC1,*LPDSBUFFERDESC1;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DSBUFFERDESC1 *LPCDSBUFFERDESC1;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DSBUFFERDESC
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwSize;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFlags;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwBufferBytes;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwReserved;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync LPWAVEFORMATEX lpwfxFormat;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync GUID guid3DAlgorithm;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DSBUFFERDESC,*LPDSBUFFERDESC;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DSBUFFERDESC *LPCDSBUFFERDESC;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DSBPOSITIONNOTIFY
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwOffset;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync HANDLE hEventNotify;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DSBPOSITIONNOTIFY,*LPDSBPOSITIONNOTIFY;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DSBPOSITIONNOTIFY *LPCDSBPOSITIONNOTIFY;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_DIRECTOUT 0
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_HEADPHONE 1
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_MONO 2
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_QUAD 3
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_STEREO 4
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_SURROUND 5
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_5POINT1 6
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_5POINT1_BACK 6
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_7POINT1 7
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_7POINT1_WIDE 7
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_7POINT1_SURROUND 8
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_5POINT1_SURROUND 9
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_GEOMETRY_MIN 0x00000005 /* 5 degrees */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_GEOMETRY_NARROW 0x0000000A /* 10 degrees */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_GEOMETRY_WIDE 0x00000014 /* 20 degrees */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_GEOMETRY_MAX 0x000000B4 /* 180 degrees */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_COMBINED(c, g) ((DWORD)(((BYTE)(c)) | ((DWORD)((BYTE)(g))) << 16))
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_CONFIG(a) ((BYTE)(a))
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSSPEAKER_GEOMETRY(a) ((BYTE)(((DWORD)(a) >> 16) & 0x00FF))
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS_CERTIFIED 0x00000000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS_UNCERTIFIED 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DSCEFFECTDESC
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwSize;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFlags;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync GUID guidDSCFXClass;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync GUID guidDSCFXInstance;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwReserved1;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwReserved2;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DSCEFFECTDESC, *LPDSCEFFECTDESC;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DSCEFFECTDESC *LPCDSCEFFECTDESC;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCFX_LOCHARDWARE 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCFX_LOCSOFTWARE 0x00000002
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCFXR_LOCHARDWARE 0x00000010
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCFXR_LOCSOFTWARE 0x00000020
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DSCBUFFERDESC1
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwSize;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFlags;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwBufferBytes;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwReserved;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync LPWAVEFORMATEX lpwfxFormat;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DSCBUFFERDESC1, *LPDSCBUFFERDESC1;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DSCBUFFERDESC
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwSize;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFlags;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwBufferBytes;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwReserved;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync LPWAVEFORMATEX lpwfxFormat;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFXCount;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync LPDSCEFFECTDESC lpDSCFXDesc;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DSCBUFFERDESC, *LPDSCBUFFERDESC;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DSCBUFFERDESC *LPCDSCBUFFERDESC;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DSCCAPS
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwSize;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFlags;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFormats;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwChannels;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DSCCAPS, *LPDSCCAPS;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DSCCAPS *LPCDSCCAPS;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DSCBCAPS
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwSize;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwFlags;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwBufferBytes;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwReserved;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DSCBCAPS, *LPDSCBCAPS;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DSCBCAPS *LPCDSCBCAPS;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCCAPS_EMULDRIVER DSCAPS_EMULDRIVER
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCCAPS_CERTIFIED DSCAPS_CERTIFIED
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCCAPS_MULTIPLECAPTURE 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCBCAPS_WAVEMAPPED 0x80000000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCBCAPS_CTRLFX 0x00000200
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCBLOCK_ENTIREBUFFER 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCBSTART_LOOPING 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCBPN_OFFSET_STOP 0xffffffff
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCBSTATUS_CAPTURING 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSCBSTATUS_LOOPING 0x00000002
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifndef __LPCGUID_DEFINED__
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define __LPCGUID_DEFINED__
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const GUID *LPCGUID;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef BOOL (CALLBACK *LPDSENUMCALLBACKW)(LPGUID,LPCWSTR,LPCWSTR,LPVOID);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef BOOL (CALLBACK *LPDSENUMCALLBACKA)(LPGUID,LPCSTR,LPCSTR,LPVOID);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECL_WINELIB_TYPE_AW(LPDSENUMCALLBACK)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern HRESULT WINAPI DirectSoundCreate(LPCGUID lpGUID,LPDIRECTSOUND *ppDS,LPUNKNOWN pUnkOuter);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern HRESULT WINAPI DirectSoundEnumerateA(LPDSENUMCALLBACKA, LPVOID);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern HRESULT WINAPI DirectSoundEnumerateW(LPDSENUMCALLBACKW, LPVOID);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DirectSoundEnumerate WINELIB_NAME_AW(DirectSoundEnumerate)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern HRESULT WINAPI DirectSoundCaptureCreate(LPCGUID lpGUID, LPDIRECTSOUNDCAPTURE *ppDSC, LPUNKNOWN pUnkOuter);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern HRESULT WINAPI DirectSoundCaptureEnumerateA(LPDSENUMCALLBACKA, LPVOID);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern HRESULT WINAPI DirectSoundCaptureEnumerateW(LPDSENUMCALLBACKW, LPVOID);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DirectSoundCaptureEnumerate WINELIB_NAME_AW(DirectSoundCaptureEnumerate)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern HRESULT WINAPI DirectSoundCreate8(LPCGUID lpGUID,LPDIRECTSOUND8 *ppDS8,LPUNKNOWN pUnkOuter);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern HRESULT WINAPI DirectSoundCaptureCreate8(LPCGUID lpGUID, LPDIRECTSOUNDCAPTURE8 *ppDSC8, LPUNKNOWN pUnkOuter);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern HRESULT WINAPI DirectSoundFullDuplexCreate(LPCGUID pcGuidCaptureDevice, LPCGUID pcGuidRenderDevice,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync LPCDSCBUFFERDESC pcDSCBufferDesc, LPCDSBUFFERDESC pcDSBufferDesc, HWND hWnd, DWORD dwLevel,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync LPDIRECTSOUNDFULLDUPLEX *ppDSFD, LPDIRECTSOUNDCAPTUREBUFFER8 *ppDSCBuffer8, LPDIRECTSOUNDBUFFER8 *ppDSBuffer8, LPUNKNOWN pUnkOuter);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DirectSoundFullDuplexCreate8 DirectSoundFullDuplexCreate
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern HRESULT WINAPI GetDeviceID(LPCGUID lpGuidSrc, LPGUID lpGuidDest);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IDirectSound interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define INTERFACE IDirectSound
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IDirectSound,IUnknown)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,AddRef)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,Release)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectSound methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(CreateSoundBuffer)(THIS_ LPCDSBUFFERDESC lpcDSBufferDesc, LPLPDIRECTSOUNDBUFFER lplpDirectSoundBuffer, IUnknown *pUnkOuter) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetCaps)(THIS_ LPDSCAPS lpDSCaps) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(DuplicateSoundBuffer)(THIS_ LPDIRECTSOUNDBUFFER lpDsbOriginal, LPLPDIRECTSOUNDBUFFER lplpDsbDuplicate) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwLevel) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Compact)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetSpeakerConfig)(THIS_ LPDWORD lpdwSpeakerConfig) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetSpeakerConfig)(THIS_ DWORD dwSpeakerConfig) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Initialize)(THIS_ LPCGUID lpcGuid) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#undef INTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#if !defined(__cplusplus) || defined(CINTERFACE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSound methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_CreateSoundBuffer(p,a,b,c) (p)->lpVtbl->CreateSoundBuffer(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_DuplicateSoundBuffer(p,a,b) (p)->lpVtbl->DuplicateSoundBuffer(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_Compact(p) (p)->lpVtbl->Compact(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_GetSpeakerConfig(p,a) (p)->lpVtbl->GetSpeakerConfig(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_SetSpeakerConfig(p,a) (p)->lpVtbl->SetSpeakerConfig(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#else
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSound methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_CreateSoundBuffer(p,a,b,c) (p)->CreateSoundBuffer(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_GetCaps(p,a) (p)->GetCaps(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_DuplicateSoundBuffer(p,a,b) (p)->DuplicateSoundBuffer(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_Compact(p) (p)->Compact()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_GetSpeakerConfig(p,a) (p)->GetSpeakerConfig(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_SetSpeakerConfig(p,a) (p)->SetSpeakerConfig(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound_Initialize(p,a) (p)->Initialize(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IDirectSound8 interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define INTERFACE IDirectSound8
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IDirectSound8,IUnknown)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,AddRef)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,Release)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectSound8 methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(CreateSoundBuffer)(THIS_ LPCDSBUFFERDESC lpcDSBufferDesc, LPLPDIRECTSOUNDBUFFER lplpDirectSoundBuffer, IUnknown *pUnkOuter) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetCaps)(THIS_ LPDSCAPS lpDSCaps) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(DuplicateSoundBuffer)(THIS_ LPDIRECTSOUNDBUFFER lpDsbOriginal, LPLPDIRECTSOUNDBUFFER lplpDsbDuplicate) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwLevel) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Compact)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetSpeakerConfig)(THIS_ LPDWORD lpdwSpeakerConfig) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetSpeakerConfig)(THIS_ DWORD dwSpeakerConfig) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Initialize)(THIS_ LPCGUID lpcGuid) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(VerifyCertification)(THIS_ LPDWORD pdwCertified) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#undef INTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#if !defined(__cplusplus) || defined(CINTERFACE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSound methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_CreateSoundBuffer(p,a,b,c) (p)->lpVtbl->CreateSoundBuffer(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_DuplicateSoundBuffer(p,a,b) (p)->lpVtbl->DuplicateSoundBuffer(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_Compact(p) (p)->lpVtbl->Compact(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_GetSpeakerConfig(p,a) (p)->lpVtbl->GetSpeakerConfig(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_SetSpeakerConfig(p,a) (p)->lpVtbl->SetSpeakerConfig(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSound8 methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_VerifyCertification(p,a) (p)->lpVtbl->VerifyCertification(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#else
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSound methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_CreateSoundBuffer(p,a,b,c) (p)->CreateSoundBuffer(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_GetCaps(p,a) (p)->GetCaps(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_DuplicateSoundBuffer(p,a,b) (p)->DuplicateSoundBuffer(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_Compact(p) (p)->Compact()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_GetSpeakerConfig(p,a) (p)->GetSpeakerConfig(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_SetSpeakerConfig(p,a) (p)->SetSpeakerConfig(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_Initialize(p,a) (p)->Initialize(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSound8 methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound8_VerifyCertification(p,a) (p)->VerifyCertification(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IDirectSoundBuffer interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define INTERFACE IDirectSoundBuffer
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IDirectSoundBuffer,IUnknown)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,AddRef)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,Release)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectSoundBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetCaps)(THIS_ LPDSBCAPS lpDSBufferCaps) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetCurrentPosition)(THIS_ LPDWORD lpdwCurrentPlayCursor, LPDWORD lpdwCurrentWriteCursor) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX lpwfxFormat, DWORD dwSizeAllocated, LPDWORD lpdwSizeWritten) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetVolume)(THIS_ LPLONG lplVolume) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetPan)(THIS_ LPLONG lplpan) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetFrequency)(THIS_ LPDWORD lpdwFrequency) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Initialize)(THIS_ LPDIRECTSOUND lpDirectSound, LPCDSBUFFERDESC lpcDSBufferDesc) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Lock)(THIS_ DWORD dwOffset, DWORD dwBytes, LPVOID *ppvAudioPtr1, LPDWORD pdwAudioBytes1, LPVOID *ppvAudioPtr2, LPDWORD pdwAudioBytes2, DWORD dwFlags) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Play)(THIS_ DWORD dwReserved1, DWORD dwReserved2, DWORD dwFlags) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetCurrentPosition)(THIS_ DWORD dwNewPosition) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetFormat)(THIS_ LPCWAVEFORMATEX lpcfxFormat) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetVolume)(THIS_ LONG lVolume) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetPan)(THIS_ LONG lPan) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetFrequency)(THIS_ DWORD dwFrequency) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Stop)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Unlock)(THIS_ LPVOID pvAudioPtr1, DWORD dwAudioBytes1, LPVOID pvAudioPtr2, DWORD dwAudioPtr2) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Restore)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#undef INTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#if !defined(__cplusplus) || defined(CINTERFACE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentPosition(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetVolume(p,a) (p)->lpVtbl->GetVolume(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetPan(p,a) (p)->lpVtbl->GetPan(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetFrequency(p,a) (p)->lpVtbl->GetFrequency(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetStatus(p,a) (p)->lpVtbl->GetStatus(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Play(p,a,b,c) (p)->lpVtbl->Play(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_SetCurrentPosition(p,a) (p)->lpVtbl->SetCurrentPosition(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_SetFormat(p,a) (p)->lpVtbl->SetFormat(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_SetVolume(p,a) (p)->lpVtbl->SetVolume(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_SetPan(p,a) (p)->lpVtbl->SetPan(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_SetFrequency(p,a) (p)->lpVtbl->SetFrequency(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Stop(p) (p)->lpVtbl->Stop(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Restore(p) (p)->lpVtbl->Restore(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#else
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetCaps(p,a) (p)->GetCaps(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetCurrentPosition(p,a,b) (p)->GetCurrentPosition(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetFormat(p,a,b,c) (p)->GetFormat(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetVolume(p,a) (p)->GetVolume(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetPan(p,a) (p)->GetPan(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetFrequency(p,a) (p)->GetFrequency(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_GetStatus(p,a) (p)->GetStatus(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Initialize(p,a,b) (p)->Initialize(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Lock(p,a,b,c,d,e,f,g) (p)->Lock(a,b,c,d,e,f,g)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Play(p,a,b,c) (p)->Play(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_SetCurrentPosition(p,a) (p)->SetCurrentPosition(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_SetFormat(p,a) (p)->SetFormat(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_SetVolume(p,a) (p)->SetVolume(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_SetPan(p,a) (p)->SetPan(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_SetFrequency(p,a) (p)->SetFrequency(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Stop(p) (p)->Stop()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Unlock(p,a,b,c,d) (p)->Unlock(a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer_Restore(p) (p)->Restore()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IDirectSoundBuffer8 interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define INTERFACE IDirectSoundBuffer8
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IDirectSoundBuffer8,IUnknown)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,AddRef)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,Release)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectSoundBuffer8 methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetCaps)(THIS_ LPDSBCAPS lpDSBufferCaps) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetCurrentPosition)(THIS_ LPDWORD lpdwCurrentPlayCursor, LPDWORD lpdwCurrentWriteCursor) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX lpwfxFormat, DWORD dwSizeAllocated, LPDWORD lpdwSizeWritten) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetVolume)(THIS_ LPLONG lplVolume) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetPan)(THIS_ LPLONG lplpan) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetFrequency)(THIS_ LPDWORD lpdwFrequency) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Initialize)(THIS_ LPDIRECTSOUND lpDirectSound, LPCDSBUFFERDESC lpcDSBufferDesc) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Lock)(THIS_ DWORD dwOffset, DWORD dwBytes, LPVOID *ppvAudioPtr1, LPDWORD pdwAudioBytes1, LPVOID *ppvAudioPtr2, LPDWORD pdwAudioBytes2, DWORD dwFlags) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Play)(THIS_ DWORD dwReserved1, DWORD dwReserved2, DWORD dwFlags) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetCurrentPosition)(THIS_ DWORD dwNewPosition) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetFormat)(THIS_ LPCWAVEFORMATEX lpcfxFormat) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetVolume)(THIS_ LONG lVolume) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetPan)(THIS_ LONG lPan) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetFrequency)(THIS_ DWORD dwFrequency) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Stop)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Unlock)(THIS_ LPVOID pvAudioPtr1, DWORD dwAudioBytes1, LPVOID pvAudioPtr2, DWORD dwAudioPtr2) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Restore)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetFX)(THIS_ DWORD dwEffectsCount, LPDSEFFECTDESC pDSFXDesc, LPDWORD pdwResultCodes) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(AcquireResources)(THIS_ DWORD dwFlags, DWORD dwEffectsCount, LPDWORD pdwResultCodes) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetObjectInPath)(THIS_ REFGUID rguidObject, DWORD dwIndex, REFGUID rguidInterface, LPVOID *ppObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#undef INTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#if !defined(__cplusplus) || defined(CINTERFACE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentPosition(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetVolume(p,a) (p)->lpVtbl->GetVolume(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetPan(p,a) (p)->lpVtbl->GetPan(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetFrequency(p,a) (p)->lpVtbl->GetFrequency(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetStatus(p,a) (p)->lpVtbl->GetStatus(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Play(p,a,b,c) (p)->lpVtbl->Play(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_SetCurrentPosition(p,a) (p)->lpVtbl->SetCurrentPosition(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_SetFormat(p,a) (p)->lpVtbl->SetFormat(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_SetVolume(p,a) (p)->lpVtbl->SetVolume(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_SetPan(p,a) (p)->lpVtbl->SetPan(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_SetFrequency(p,a) (p)->lpVtbl->SetFrequency(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Stop(p) (p)->lpVtbl->Stop(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Restore(p) (p)->lpVtbl->Restore(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundBuffer8 methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_SetFX(p,a,b,c) (p)->lpVtbl->SetFX(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_AcquireResources(p,a,b,c) (p)->lpVtbl->AcquireResources(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetObjectInPath(p,a,b,c,d) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#else
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetCaps(p,a) (p)->GetCaps(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetCurrentPosition(p,a,b) (p)->GetCurrentPosition(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetFormat(p,a,b,c) (p)->GetFormat(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetVolume(p,a) (p)->GetVolume(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetPan(p,a) (p)->GetPan(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetFrequency(p,a) (p)->GetFrequency(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetStatus(p,a) (p)->GetStatus(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Initialize(p,a,b) (p)->Initialize(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Lock(p,a,b,c,d,e,f,g) (p)->Lock(a,b,c,d,e,f,g)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Play(p,a,b,c) (p)->Play(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_SetCurrentPosition(p,a) (p)->SetCurrentPosition(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_SetFormat(p,a) (p)->SetFormat(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_SetVolume(p,a) (p)->SetVolume(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_SetPan(p,a) (p)->SetPan(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_SetFrequency(p,a) (p)->SetFrequency(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Stop(p) (p)->Stop()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Unlock(p,a,b,c,d) (p)->Unlock(a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_Restore(p) (p)->Restore()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundBuffer8 methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_SetFX(p,a,b,c) (p)->SetFX(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_AcquireResources(p,a,b,c) (p)->AcquireResources(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundBuffer8_GetObjectInPath(p,a,b,c,d) (p)->GetObjectInPath(a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IDirectSoundCapture interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define INTERFACE IDirectSoundCapture
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IDirectSoundCapture,IUnknown)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,AddRef)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,Release)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectSoundCapture methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(CreateCaptureBuffer)(THIS_ LPCDSCBUFFERDESC lpcDSCBufferDesc,LPDIRECTSOUNDCAPTUREBUFFER *lplpDSCaptureBuffer, LPUNKNOWN pUnk) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetCaps)(THIS_ LPDSCCAPS lpDSCCaps) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Initialize)(THIS_ LPCGUID lpcGUID) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#undef INTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#if !defined(__cplusplus) || defined(CINTERFACE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCapture_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCapture_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCapture_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundCapture methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCapture_CreateCaptureBuffer(p,a,b,c) (p)->lpVtbl->CreateCaptureBuffer(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCapture_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCapture_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#else
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCapture_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCapture_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCapture_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundCapture methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCapture_CreateCaptureBuffer(p,a,b,c) (p)->CreateCaptureBuffer(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCapture_GetCaps(p,a) (p)->GetCaps(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCapture_Initialize(p,a) (p)->Initialize(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IDirectSoundCaptureBuffer interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define INTERFACE IDirectSoundCaptureBuffer
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IDirectSoundCaptureBuffer,IUnknown)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,AddRef)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,Release)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectSoundCaptureBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetCaps)(THIS_ LPDSCBCAPS lpDSCBCaps) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetCurrentPosition)(THIS_ LPDWORD lpdwCapturePosition,LPDWORD lpdwReadPosition) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX lpwfxFormat, DWORD dwSizeAllocated, LPDWORD lpdwSizeWritten) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Initialize)(THIS_ LPDIRECTSOUNDCAPTURE lpDSC, LPCDSCBUFFERDESC lpcDSCBDesc) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Lock)(THIS_ DWORD dwReadCusor, DWORD dwReadBytes, LPVOID *lplpvAudioPtr1, LPDWORD lpdwAudioBytes1, LPVOID *lplpvAudioPtr2, LPDWORD lpdwAudioBytes2, DWORD dwFlags) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Start)(THIS_ DWORD dwFlags) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Stop)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Unlock)(THIS_ LPVOID lpvAudioPtr1, DWORD dwAudioBytes1, LPVOID lpvAudioPtr2, DWORD dwAudioBytes2) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#undef INTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#if !defined(__cplusplus) || defined(CINTERFACE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundCaptureBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentPosition(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_GetStatus(p,a) (p)->lpVtbl->GetStatus(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_Start(p,a) (p)->lpVtbl->Start(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_Stop(p) (p)->lpVtbl->Stop(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#else
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundCaptureBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_GetCaps(p,a) (p)->GetCaps(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_GetCurrentPosition(p,a,b) (p)->GetCurrentPosition(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_GetFormat(p,a,b,c) (p)->GetFormat(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_GetStatus(p,a) (p)->GetStatus(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_Initialize(p,a,b) (p)->Initialize(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_Lock(p,a,b,c,d,e,f,g) (p)->Lock(a,b,c,d,e,f,g)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_Start(p,a) (p)->Start(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_Stop(p) (p)->Stop()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer_Unlock(p,a,b,c,d) (p)->Unlock(a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IDirectSoundCaptureBuffer8 interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define INTERFACE IDirectSoundCaptureBuffer8
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IDirectSoundCaptureBuffer8,IDirectSoundCaptureBuffer)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,AddRef)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,Release)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectSoundCaptureBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetCaps)(THIS_ LPDSCBCAPS lpDSCBCaps) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetCurrentPosition)(THIS_ LPDWORD lpdwCapturePosition,LPDWORD lpdwReadPosition) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX lpwfxFormat, DWORD dwSizeAllocated, LPDWORD lpdwSizeWritten) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Initialize)(THIS_ LPDIRECTSOUNDCAPTURE lpDSC, LPCDSCBUFFERDESC lpcDSCBDesc) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Lock)(THIS_ DWORD dwReadCusor, DWORD dwReadBytes, LPVOID *lplpvAudioPtr1, LPDWORD lpdwAudioBytes1, LPVOID *lplpvAudioPtr2, LPDWORD lpdwAudioBytes2, DWORD dwFlags) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Start)(THIS_ DWORD dwFlags) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Stop)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Unlock)(THIS_ LPVOID lpvAudioPtr1, DWORD dwAudioBytes1, LPVOID lpvAudioPtr2, DWORD dwAudioBytes2) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectSoundCaptureBuffer8 methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetObjectInPath)(THIS_ REFGUID rguidObject, DWORD dwIndex, REFGUID rguidInterface, LPVOID *ppObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetFXStatus)(THIS_ DWORD dwFXCount, LPDWORD pdwFXStatus) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#undef INTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#if !defined(__cplusplus) || defined(CINTERFACE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundCaptureBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentPosition(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_GetFormat(p,a,b,c) (p)->lpVtbl->GetFormat(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_GetStatus(p,a) (p)->lpVtbl->GetStatus(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_Lock(p,a,b,c,d,e,f,g) (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_Start(p,a) (p)->lpVtbl->Start(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_Stop(p) (p)->lpVtbl->Stop(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_Unlock(p,a,b,c,d) (p)->lpVtbl->Unlock(p,a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundCaptureBuffer8 methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_GetObjectInPath(p,a,b,c,d) (p)->lpVtbl->GetObjectInPath(p,a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_GetFXStatus(p,a,b) (p)->lpVtbl->GetFXStatus(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#else
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundCaptureBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_GetCaps(p,a) (p)->GetCaps(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_GetCurrentPosition(p,a,b) (p)->GetCurrentPosition(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_GetFormat(p,a,b,c) (p)->GetFormat(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_GetStatus(p,a) (p)->GetStatus(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_Initialize(p,a,b) (p)->Initialize(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_Lock(p,a,b,c,d,e,f,g) (p)->Lock(a,b,c,d,e,f,g)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_Start(p,a) (p)->Start(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_Stop(p) (p)->Stop()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_Unlock(p,a,b,c,d) (p)->Unlock(a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundCaptureBuffer8 methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_GetObjectInPath(p,a,b,c,d) (p)->GetObjectInPath(a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundCaptureBuffer8_GetFXStatus(p,a,b) (p)->GetFXStatus(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IDirectSoundNotify interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define WINE_NOBUFFER 0x80000000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DSBPN_OFFSETSTOP -1
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define INTERFACE IDirectSoundNotify
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IDirectSoundNotify,IUnknown)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,AddRef)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,Release)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectSoundNotify methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetNotificationPositions)(THIS_ DWORD cPositionNotifies, LPCDSBPOSITIONNOTIFY lpcPositionNotifies) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#undef INTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#if !defined(__cplusplus) || defined(CINTERFACE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundNotify_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundNotify_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundNotify_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundNotify methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundNotify_SetNotificationPositions(p,a,b) (p)->lpVtbl->SetNotificationPositions(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#else
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundNotify_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundNotify_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundNotify_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundNotify methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundNotify_SetNotificationPositions(p,a,b) (p)->SetNotificationPositions(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IDirectSound3DListener interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3DMODE_NORMAL 0x00000000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3DMODE_HEADRELATIVE 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3DMODE_DISABLE 0x00000002
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_IMMEDIATE 0x00000000
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_DEFERRED 0x00000001
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_MINDISTANCEFACTOR FLT_MIN
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_MAXDISTANCEFACTOR FLT_MAX
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_DEFAULTDISTANCEFACTOR 1.0f
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_MINROLLOFFFACTOR 0.0f
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_MAXROLLOFFFACTOR 10.0f
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_DEFAULTROLLOFFFACTOR 1.0f
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_MINDOPPLERFACTOR 0.0f
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_MAXDOPPLERFACTOR 10.0f
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_DEFAULTDOPPLERFACTOR 1.0f
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_DEFAULTMINDISTANCE 1.0f
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_DEFAULTMAXDISTANCE 1000000000.0f
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_MINCONEANGLE 0
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_MAXCONEANGLE 360
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_DEFAULTCONEANGLE 360
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DS3D_DEFAULTCONEOUTSIDEVOLUME DSBVOLUME_MAX
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DS3DLISTENER {
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwSize;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync D3DVECTOR vPosition;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync D3DVECTOR vVelocity;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync D3DVECTOR vOrientFront;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync D3DVECTOR vOrientTop;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync D3DVALUE flDistanceFactor;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync D3DVALUE flRolloffFactor;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync D3DVALUE flDopplerFactor;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DS3DLISTENER, *LPDS3DLISTENER;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DS3DLISTENER *LPCDS3DLISTENER;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define INTERFACE IDirectSound3DListener
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IDirectSound3DListener,IUnknown)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,AddRef)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,Release)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectSound3DListener methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetAllParameters)(THIS_ LPDS3DLISTENER lpListener) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetDistanceFactor)(THIS_ LPD3DVALUE lpflDistanceFactor) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetDopplerFactor)(THIS_ LPD3DVALUE lpflDopplerFactor) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetOrientation)(THIS_ LPD3DVECTOR lpvOrientFront, LPD3DVECTOR lpvOrientTop) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetPosition)(THIS_ LPD3DVECTOR lpvPosition) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetRolloffFactor)(THIS_ LPD3DVALUE lpflRolloffFactor) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetVelocity)(THIS_ LPD3DVECTOR lpvVelocity) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetAllParameters)(THIS_ LPCDS3DLISTENER lpcListener, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetDistanceFactor)(THIS_ D3DVALUE flDistanceFactor, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetDopplerFactor)(THIS_ D3DVALUE flDopplerFactor, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetOrientation)(THIS_ D3DVALUE xFront, D3DVALUE yFront, D3DVALUE zFront, D3DVALUE xTop, D3DVALUE yTop, D3DVALUE zTop, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetPosition)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetRolloffFactor)(THIS_ D3DVALUE flRolloffFactor, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetVelocity)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(CommitDeferredSettings)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#undef INTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#if !defined(__cplusplus) || defined(CINTERFACE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSound3DListener methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetAllParameters(p,a) (p)->lpVtbl->GetAllParameters(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetDistanceFactor(p,a) (p)->lpVtbl->GetDistanceFactor(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetDopplerFactor(p,a) (p)->lpVtbl->GetDopplerFactor(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetOrientation(p,a,b) (p)->lpVtbl->GetOrientation(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetPosition(p,a) (p)->lpVtbl->GetPosition(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetRolloffFactor(p,a) (p)->lpVtbl->GetRolloffFactor(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetVelocity(p,a) (p)->lpVtbl->GetVelocity(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetAllParameters(p,a,b) (p)->lpVtbl->SetAllParameters(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetDistanceFactor(p,a,b) (p)->lpVtbl->SetDistanceFactor(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetDopplerFactor(p,a,b) (p)->lpVtbl->SetDopplerFactor(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetOrientation(p,a,b,c,d,e,f,g) (p)->lpVtbl->SetOrientation(p,a,b,c,d,e,f,g)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetPosition(p,a,b,c,d) (p)->lpVtbl->SetPosition(p,a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetRolloffFactor(p,a,b) (p)->lpVtbl->SetRolloffFactor(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetVelocity(p,a,b,c,d) (p)->lpVtbl->SetVelocity(p,a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_CommitDeferredSettings(p) (p)->lpVtbl->CommitDeferredSettings(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#else
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSound3DListener methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetAllParameters(p,a) (p)->GetAllParameters(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetDistanceFactor(p,a) (p)->GetDistanceFactor(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetDopplerFactor(p,a) (p)->GetDopplerFactor(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetOrientation(p,a,b) (p)->GetOrientation(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetPosition(p,a) (p)->GetPosition(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetRolloffFactor(p,a) (p)->GetRolloffFactor(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_GetVelocity(p,a) (p)->GetVelocity(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetAllParameters(p,a,b) (p)->SetAllParameters(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetDistanceFactor(p,a,b) (p)->SetDistanceFactor(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetDopplerFactor(p,a,b) (p)->SetDopplerFactor(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetOrientation(p,a,b,c,d,e,f,g) (p)->SetOrientation(a,b,c,d,e,f,g)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetPosition(p,a,b,c,d) (p)->SetPosition(a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetRolloffFactor(p,a,b) (p)->SetRolloffFactor(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_SetVelocity(p,a,b,c,d) (p)->SetVelocity(a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DListener_CommitDeferredSettings(p) (p)->CommitDeferredSettings()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IDirectSound3DBuffer interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _DS3DBUFFER {
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwSize;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync D3DVECTOR vPosition;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync D3DVECTOR vVelocity;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwInsideConeAngle;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwOutsideConeAngle;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync D3DVECTOR vConeOrientation;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync LONG lConeOutsideVolume;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync D3DVALUE flMinDistance;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync D3DVALUE flMaxDistance;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync DWORD dwMode;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} DS3DBUFFER, *LPDS3DBUFFER;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DS3DBUFFER *LPCDS3DBUFFER;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define INTERFACE IDirectSound3DBuffer
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IDirectSound3DBuffer,IUnknown)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,AddRef)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,Release)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectSound3DBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetAllParameters)(THIS_ LPDS3DBUFFER lpDs3dBuffer) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetConeAngles)(THIS_ LPDWORD lpdwInsideConeAngle, LPDWORD lpdwOutsideConeAngle) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetConeOrientation)(THIS_ LPD3DVECTOR lpvOrientation) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetConeOutsideVolume)(THIS_ LPLONG lplConeOutsideVolume) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetMaxDistance)(THIS_ LPD3DVALUE lpflMaxDistance) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetMinDistance)(THIS_ LPD3DVALUE lpflMinDistance) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetMode)(THIS_ LPDWORD lpwdMode) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetPosition)(THIS_ LPD3DVECTOR lpvPosition) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetVelocity)(THIS_ LPD3DVECTOR lpvVelocity) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetAllParameters)(THIS_ LPCDS3DBUFFER lpcDs3dBuffer, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetConeAngles)(THIS_ DWORD dwInsideConeAngle, DWORD dwOutsideConeAngle, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetConeOrientation)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetConeOutsideVolume)(THIS_ LONG lConeOutsideVolume, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetMaxDistance)(THIS_ D3DVALUE flMaxDistance, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetMinDistance)(THIS_ D3DVALUE flMinDistance, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetMode)(THIS_ DWORD dwMode, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetPosition)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetVelocity)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#undef INTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#if !defined(__cplusplus) || defined(CINTERFACE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSound3DBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetAllParameters(p,a) (p)->lpVtbl->GetAllParameters(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetConeAngles(p,a,b) (p)->lpVtbl->GetConeAngles(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetConeOrientation(p,a) (p)->lpVtbl->GetConeOrientation(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetConeOutsideVolume(p,a) (p)->lpVtbl->GetConeOutsideVolume(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetMaxDistance(p,a) (p)->lpVtbl->GetMaxDistance(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetMinDistance(p,a) (p)->lpVtbl->GetMinDistance(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetMode(p,a) (p)->lpVtbl->GetMode(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetPosition(p,a) (p)->lpVtbl->GetPosition(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetVelocity(p,a) (p)->lpVtbl->GetVelocity(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetAllParameters(p,a,b) (p)->lpVtbl->SetAllParameters(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetConeAngles(p,a,b,c) (p)->lpVtbl->SetConeAngles(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetConeOrientation(p,a,b,c,d) (p)->lpVtbl->SetConeOrientation(p,a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetConeOutsideVolume(p,a,b) (p)->lpVtbl->SetConeOutsideVolume(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetMaxDistance(p,a,b) (p)->lpVtbl->SetMaxDistance(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetMinDistance(p,a,b) (p)->lpVtbl->SetMinDistance(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetMode(p,a,b) (p)->lpVtbl->SetMode(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetPosition(p,a,b,c,d) (p)->lpVtbl->SetPosition(p,a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetVelocity(p,a,b,c,d) (p)->lpVtbl->SetVelocity(p,a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#else
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSound3DBuffer methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetAllParameters(p,a) (p)->GetAllParameters(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetConeAngles(p,a,b) (p)->GetConeAngles(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetConeOrientation(p,a) (p)->GetConeOrientation(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetConeOutsideVolume(p,a) (p)->GetConeOutsideVolume(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetMaxDistance(p,a) (p)->GetMaxDistance(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetMinDistance(p,a) (p)->GetMinDistance(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetMode(p,a) (p)->GetMode(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetPosition(p,a) (p)->GetPosition(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_GetVelocity(p,a) (p)->GetVelocity(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetAllParameters(p,a,b) (p)->SetAllParameters(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetConeAngles(p,a,b,c) (p)->SetConeAngles(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetConeOrientation(p,a,b,c,d) (p)->SetConeOrientation(a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetConeOutsideVolume(p,a,b) (p)->SetConeOutsideVolume(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetMaxDistance(p,a,b) (p)->SetMaxDistance(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetMinDistance(p,a,b) (p)->SetMinDistance(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetMode(p,a,b) (p)->SetMode(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetPosition(p,a,b,c,d) (p)->SetPosition(a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSound3DBuffer_SetVelocity(p,a,b,c,d) (p)->SetVelocity(a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IKsPropertySet interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifndef _IKsPropertySet_
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define _IKsPropertySet_
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IKsPropertySet *LPKSPROPERTYSET;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IKsPropertySet,0x31EFAC30,0x515C,0x11D0,0xA9,0xAA,0x00,0xAA,0x00,0x61,0xBE,0x93);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define KSPROPERTY_SUPPORT_GET 1
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define KSPROPERTY_SUPPORT_SET 2
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define INTERFACE IKsPropertySet
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IKsPropertySet,IUnknown)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,AddRef)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,Release)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IKsPropertySet methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Get)(THIS_ REFGUID rgid,ULONG x1,LPVOID p1,ULONG x2,LPVOID p2,ULONG x3,ULONG *px4) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Set)(THIS_ REFGUID rgid,ULONG x1,LPVOID p1,ULONG x2,LPVOID p2,ULONG x3) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(QuerySupport)(THIS_ REFGUID rgid,ULONG x1,ULONG *px2) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#undef INTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#if !defined(__cplusplus) || defined(CINTERFACE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IKsPropertySet_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IKsPropertySet_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IKsPropertySet_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IKsPropertySet methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IKsPropertySet_Get(p,a,b,c,d,e,f,g) (p)->lpVtbl->Get(p,a,b,c,d,e,f,g)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IKsPropertySet_Set(p,a,b,c,d,e,f) (p)->lpVtbl->Set(p,a,b,c,d,e,f)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IKsPropertySet_QuerySupport(p,a,b,c) (p)->lpVtbl->QuerySupport(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#else
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IKsPropertySet_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IKsPropertySet_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IKsPropertySet_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IKsPropertySet methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IKsPropertySet_Get(p,a,b,c,d,e,f,g) (p)->Get(a,b,c,d,e,f,g)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IKsPropertySet_Set(p,a,b,c,d,e,f) (p)->Set(a,b,c,d,e,f)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IKsPropertySet_QuerySupport(p,a,b,c) (p)->QuerySupport(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* _IKsPropertySet_ */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IDirectSoundFullDuplex interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define INTERFACE IDirectSoundFullDuplex
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IDirectSoundFullDuplex,IUnknown)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync{
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,AddRef)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(ULONG,Release)(THIS) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectSoundFullDuplex methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(Initialize)(THIS_ LPCGUID pCaptureGuid,LPCGUID pRendererGuid,LPCDSCBUFFERDESC lpDscBufferDesc,LPCDSBUFFERDESC lpDsBufferDesc,HWND hWnd,DWORD dwLevel,LPLPDIRECTSOUNDCAPTUREBUFFER8 lplpDirectSoundCaptureBuffer8,LPLPDIRECTSOUNDBUFFER8 lplpDirectSoundBuffer8) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync};
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#undef INTERFACE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#if !defined(__cplusplus) || defined(CINTERFACE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundFullDuplex_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundFullDuplex_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundFullDuplex_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundFullDuplex methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundFullDuplex_Initialize(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Initialize(p,a,b,c,d,e,f,g,h)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#else
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundFullDuplex_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundFullDuplex_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundFullDuplex_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectSoundFullDuplex methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectSoundFullDuplex_Initialize(p,a,b,c,d,e,f,g,h) (p)->Initialize(a,b,c,d,e,f,g,h)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#ifdef __cplusplus
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync} /* extern "C" */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* defined(__cplusplus) */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* __DSOUND_INCLUDED__ */