Headers diff for dsound.dll between 6.1.7600.16385-Windows_7.0 and 6.3.9600.17415-Windows_8.1 versions



 dsound.h (6.1.7600.16385-Windows_7.0)   dsound.h (6.3.9600.17415-Windows_8.1) 
/*==========================================================================; /*==========================================================================;
* *
* Copyright (c) Microsoft Corporation. All rights reserved. * Copyright (c) Microsoft Corporation. All rights reserved.
* *
* File: dsound.h * File: dsound.h
* Content: DirectSound include file * Content: DirectSound include file
* *
**************************************************************************/ **************************************************************************/
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#define COM_NO_WINDOWS_H #define COM_NO_WINDOWS_H
#include <objbase.h> #include <objbase.h>
#include <float.h> #include <float.h>
#include <sal.h> #include <sal.h>
#ifndef DIRECTSOUND_VERSION #ifndef DIRECTSOUND_VERSION
#if (NTDDI_VERSION < NTDDI_WINXP) /* Windows 2000 */ #if (NTDDI_VERSION < NTDDI_WINXP) /* Windows 2000 */
#define DIRECTSOUND_VERSION 0x0700 /* Version 7.0 */ #define DIRECTSOUND_VERSION 0x0700 /* Version 7.0 */
#elif (NTDDI_VERSION < NTDDI_WINXPSP2 || NTDDI_VERSION == NTDDI_WS03) /* Windows XP and SP1, or Windows Server 2003 */ #elif (NTDDI_VERSION < NTDDI_WINXPSP2 || NTDDI_VERSION == NTDDI_WS03) /* Windows XP and SP1, or Windows Server 2003 */
skipping to change at line 464 skipping to change at line 469
typedef const DSBPOSITIONNOTIFY *LPCDSBPOSITIONNOTIFY; typedef const DSBPOSITIONNOTIFY *LPCDSBPOSITIONNOTIFY;
// //
// DirectSound API // DirectSound API
// //
typedef BOOL (CALLBACK *LPDSENUMCALLBACKA)(LPGUID, LPCSTR, LPCSTR, LPVOID); typedef BOOL (CALLBACK *LPDSENUMCALLBACKA)(LPGUID, LPCSTR, LPCSTR, LPVOID);
typedef BOOL (CALLBACK *LPDSENUMCALLBACKW)(LPGUID, LPCWSTR, LPCWSTR, LPVOID); typedef BOOL (CALLBACK *LPDSENUMCALLBACKW)(LPGUID, LPCWSTR, LPCWSTR, LPVOID);
extern HRESULT WINAPI DirectSoundCreate(__in_opt LPCGUID pcGuidDevice, __deref_o extern _Check_return_ HRESULT WINAPI DirectSoundCreate(_In_opt_ LPCGUID pcGuidDe
ut LPDIRECTSOUND *ppDS, __null LPUNKNOWN pUnkOuter); vice, _Outptr_ LPDIRECTSOUND *ppDS, _Pre_null_ LPUNKNOWN pUnkOuter);
extern HRESULT WINAPI DirectSoundEnumerateA(__in LPDSENUMCALLBACKA pDSEnumCallba extern HRESULT WINAPI DirectSoundEnumerateA(_In_ LPDSENUMCALLBACKA pDSEnumCallba
ck, __in_opt LPVOID pContext); ck, _In_opt_ LPVOID pContext);
extern HRESULT WINAPI DirectSoundEnumerateW(__in LPDSENUMCALLBACKW pDSEnumCallba extern HRESULT WINAPI DirectSoundEnumerateW(_In_ LPDSENUMCALLBACKW pDSEnumCallba
ck, __in_opt LPVOID pContext); ck, _In_opt_ LPVOID pContext);
extern HRESULT WINAPI DirectSoundCaptureCreate(__in_opt LPCGUID pcGuidDevice, __ extern HRESULT WINAPI DirectSoundCaptureCreate(_In_opt_ LPCGUID pcGuidDevice, _O
deref_out LPDIRECTSOUNDCAPTURE *ppDSC, __null LPUNKNOWN pUnkOuter); utptr_ LPDIRECTSOUNDCAPTURE *ppDSC, _Pre_null_ LPUNKNOWN pUnkOuter);
extern HRESULT WINAPI DirectSoundCaptureEnumerateA(__in LPDSENUMCALLBACKA pDSEnu extern HRESULT WINAPI DirectSoundCaptureEnumerateA(_In_ LPDSENUMCALLBACKA pDSEnu
mCallback, __in_opt LPVOID pContext); mCallback, _In_opt_ LPVOID pContext);
extern HRESULT WINAPI DirectSoundCaptureEnumerateW(__in LPDSENUMCALLBACKW pDSEnu extern HRESULT WINAPI DirectSoundCaptureEnumerateW(_In_ LPDSENUMCALLBACKW pDSEnu
mCallback, __in_opt LPVOID pContext); mCallback, _In_opt_ LPVOID pContext);
#if DIRECTSOUND_VERSION >= 0x0800 #if DIRECTSOUND_VERSION >= 0x0800
extern HRESULT WINAPI DirectSoundCreate8(__in_opt LPCGUID pcGuidDevice, __deref_ extern HRESULT WINAPI DirectSoundCreate8(_In_opt_ LPCGUID pcGuidDevice, _Outptr_
out LPDIRECTSOUND8 *ppDS8, __null LPUNKNOWN pUnkOuter); LPDIRECTSOUND8 *ppDS8, _Pre_null_ LPUNKNOWN pUnkOuter);
extern HRESULT WINAPI DirectSoundCaptureCreate8(__in_opt LPCGUID pcGuidDevice, _ extern HRESULT WINAPI DirectSoundCaptureCreate8(_In_opt_ LPCGUID pcGuidDevice, _
_deref_out LPDIRECTSOUNDCAPTURE8 *ppDSC8, __null LPUNKNOWN pUnkOuter); Outptr_ LPDIRECTSOUNDCAPTURE8 *ppDSC8, _Pre_null_ LPUNKNOWN pUnkOuter);
extern HRESULT WINAPI DirectSoundFullDuplexCreate extern HRESULT WINAPI DirectSoundFullDuplexCreate
( (
__in_opt LPCGUID pcGuidCaptureDevice, _In_opt_ LPCGUID pcGuidCaptureDevice,
__in_opt LPCGUID pcGuidRenderDevice, _In_opt_ LPCGUID pcGuidRenderDevice,
__in LPCDSCBUFFERDESC pcDSCBufferDesc, _In_ LPCDSCBUFFERDESC pcDSCBufferDesc,
__in LPCDSBUFFERDESC pcDSBufferDesc, _In_ LPCDSBUFFERDESC pcDSBufferDesc,
HWND hWnd, HWND hWnd,
DWORD dwLevel, DWORD dwLevel,
__deref_out LPDIRECTSOUNDFULLDUPLEX* ppDSFD, _Outptr_ LPDIRECTSOUNDFULLDUPLEX* ppDSFD,
__deref_out LPDIRECTSOUNDCAPTUREBUFFER8 *ppDSCBuffer8, _Outptr_ LPDIRECTSOUNDCAPTUREBUFFER8 *ppDSCBuffer8,
__deref_out LPDIRECTSOUNDBUFFER8 *ppDSBuffer8, _Outptr_ LPDIRECTSOUNDBUFFER8 *ppDSBuffer8,
__null LPUNKNOWN pUnkOuter _Pre_null_ LPUNKNOWN pUnkOuter
); );
#define DirectSoundFullDuplexCreate8 DirectSoundFullDuplexCreate #define DirectSoundFullDuplexCreate8 DirectSoundFullDuplexCreate
extern HRESULT WINAPI GetDeviceID(__in_opt LPCGUID pGuidSrc, __out LPGUID pGuidD est); extern HRESULT WINAPI GetDeviceID(_In_opt_ LPCGUID pGuidSrc, _Out_ LPGUID pGuidD est);
#endif // DIRECTSOUND_VERSION >= 0x0800 #endif // DIRECTSOUND_VERSION >= 0x0800
#ifdef UNICODE #ifdef UNICODE
#define LPDSENUMCALLBACK LPDSENUMCALLBACKW #define LPDSENUMCALLBACK LPDSENUMCALLBACKW
#define DirectSoundEnumerate DirectSoundEnumerateW #define DirectSoundEnumerate DirectSoundEnumerateW
#define DirectSoundCaptureEnumerate DirectSoundCaptureEnumerateW #define DirectSoundCaptureEnumerate DirectSoundCaptureEnumerateW
#else // UNICODE #else // UNICODE
#define LPDSENUMCALLBACK LPDSENUMCALLBACKA #define LPDSENUMCALLBACK LPDSENUMCALLBACKA
#define DirectSoundEnumerate DirectSoundEnumerateA #define DirectSoundEnumerate DirectSoundEnumerateA
#define DirectSoundCaptureEnumerate DirectSoundCaptureEnumerateA #define DirectSoundCaptureEnumerate DirectSoundCaptureEnumerateA
skipping to change at line 543 skipping to change at line 548
typedef REFERENCE_TIME *LPREFERENCE_TIME; typedef REFERENCE_TIME *LPREFERENCE_TIME;
DEFINE_GUID(IID_IReferenceClock, 0x56a86897, 0x0ad4, 0x11ce, 0xb0, 0x3a, 0x00, 0 x20, 0xaf, 0x0b, 0xa7, 0x70); DEFINE_GUID(IID_IReferenceClock, 0x56a86897, 0x0ad4, 0x11ce, 0xb0, 0x3a, 0x00, 0 x20, 0xaf, 0x0b, 0xa7, 0x70);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IReferenceClock #define INTERFACE IReferenceClock
DECLARE_INTERFACE_(IReferenceClock, IUnknown) DECLARE_INTERFACE_(IReferenceClock, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IReferenceClock methods // IReferenceClock methods
STDMETHOD(GetTime) (THIS_ __out REFERENCE_TIME *pTime) PURE; STDMETHOD(GetTime) (THIS_ _Out_ REFERENCE_TIME *pTime) PURE;
STDMETHOD(AdviseTime) (THIS_ REFERENCE_TIME rtBaseTime, REFERENCE_ TIME rtStreamTime, STDMETHOD(AdviseTime) (THIS_ REFERENCE_TIME rtBaseTime, REFERENCE_ TIME rtStreamTime,
HANDLE hEvent, __out LPDWORD pdwAdvis eCookie) PURE; HANDLE hEvent, _Out_ LPDWORD pdwAdvis eCookie) PURE;
STDMETHOD(AdvisePeriodic) (THIS_ REFERENCE_TIME rtStartTime, REFERENCE _TIME rtPeriodTime, STDMETHOD(AdvisePeriodic) (THIS_ REFERENCE_TIME rtStartTime, REFERENCE _TIME rtPeriodTime,
HANDLE hSemaphore, __out LPDWORD pdwA dviseCookie) PURE; HANDLE hSemaphore, _Out_ LPDWORD pdwA dviseCookie) PURE;
STDMETHOD(Unadvise) (THIS_ DWORD dwAdviseCookie) PURE; STDMETHOD(Unadvise) (THIS_ DWORD dwAdviseCookie) PURE;
}; };
#endif // __IReferenceClock_INTERFACE_DEFINED__ #endif // __IReferenceClock_INTERFACE_DEFINED__
#ifndef IReferenceClock_QueryInterface #ifndef IReferenceClock_QueryInterface
#define IReferenceClock_QueryInterface(p,a,b) IUnknown_QueryInterface(p,a,b ) #define IReferenceClock_QueryInterface(p,a,b) IUnknown_QueryInterface(p,a,b )
#define IReferenceClock_AddRef(p) IUnknown_AddRef(p) #define IReferenceClock_AddRef(p) IUnknown_AddRef(p)
#define IReferenceClock_Release(p) IUnknown_Release(p) #define IReferenceClock_Release(p) IUnknown_Release(p)
skipping to change at line 590 skipping to change at line 595
// //
DEFINE_GUID(IID_IDirectSound, 0x279AFA83, 0x4981, 0x11CE, 0xA5, 0x21, 0x00, 0x20 , 0xAF, 0x0B, 0xE5, 0x60); DEFINE_GUID(IID_IDirectSound, 0x279AFA83, 0x4981, 0x11CE, 0xA5, 0x21, 0x00, 0x20 , 0xAF, 0x0B, 0xE5, 0x60);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSound #define INTERFACE IDirectSound
DECLARE_INTERFACE_(IDirectSound, IUnknown) DECLARE_INTERFACE_(IDirectSound, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSound methods // IDirectSound methods
STDMETHOD(CreateSoundBuffer) (THIS_ __in LPCDSBUFFERDESC pcDSBufferDesc, STDMETHOD(CreateSoundBuffer) (THIS_ _In_ LPCDSBUFFERDESC pcDSBufferDesc,
__deref_out LPDIRECTSOUNDBUFFER *ppDSBuffer, __null LPUNKNOWN pUnkOuter) PURE; _Outptr_ LPDIRECTSOUNDBUFFER *ppDSBuffer, _Pre_null_ LPUNKNOWN pUnkOuter) PURE;
STDMETHOD(GetCaps) (THIS_ __out LPDSCAPS pDSCaps) PURE; STDMETHOD(GetCaps) (THIS_ _Out_ LPDSCAPS pDSCaps) PURE;
STDMETHOD(DuplicateSoundBuffer) (THIS_ __in LPDIRECTSOUNDBUFFER pDSBufferOri STDMETHOD(DuplicateSoundBuffer) (THIS_ _In_ LPDIRECTSOUNDBUFFER pDSBufferOri
ginal, __deref_out LPDIRECTSOUNDBUFFER *ppDSBufferDuplicate) PURE; ginal, _Outptr_ LPDIRECTSOUNDBUFFER *ppDSBufferDuplicate) PURE;
STDMETHOD(SetCooperativeLevel) (THIS_ HWND hwnd, DWORD dwLevel) PURE; STDMETHOD(SetCooperativeLevel) (THIS_ HWND hwnd, DWORD dwLevel) PURE;
STDMETHOD(Compact) (THIS) PURE; STDMETHOD(Compact) (THIS) PURE;
STDMETHOD(GetSpeakerConfig) (THIS_ __out LPDWORD pdwSpeakerConfig) PURE; STDMETHOD(GetSpeakerConfig) (THIS_ _Out_ LPDWORD pdwSpeakerConfig) PURE;
STDMETHOD(SetSpeakerConfig) (THIS_ DWORD dwSpeakerConfig) PURE; STDMETHOD(SetSpeakerConfig) (THIS_ DWORD dwSpeakerConfig) PURE;
STDMETHOD(Initialize) (THIS_ __in_opt LPCGUID pcGuidDevice) PURE; STDMETHOD(Initialize) (THIS_ _In_opt_ LPCGUID pcGuidDevice) PURE;
}; };
#define IDirectSound_QueryInterface(p,a,b) IUnknown_QueryInterface(p,a,b) #define IDirectSound_QueryInterface(p,a,b) IUnknown_QueryInterface(p,a,b)
#define IDirectSound_AddRef(p) IUnknown_AddRef(p) #define IDirectSound_AddRef(p) IUnknown_AddRef(p)
#define IDirectSound_Release(p) IUnknown_Release(p) #define IDirectSound_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSound_CreateSoundBuffer(p,a,b,c) (p)->lpVtbl->CreateSoundBuffer( p,a,b,c) #define IDirectSound_CreateSoundBuffer(p,a,b,c) (p)->lpVtbl->CreateSoundBuffer( p,a,b,c)
#define IDirectSound_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) #define IDirectSound_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
#define IDirectSound_DuplicateSoundBuffer(p,a,b) (p)->lpVtbl->DuplicateSoundBuff er(p,a,b) #define IDirectSound_DuplicateSoundBuffer(p,a,b) (p)->lpVtbl->DuplicateSoundBuff er(p,a,b)
skipping to change at line 643 skipping to change at line 648
// //
DEFINE_GUID(IID_IDirectSound8, 0xC50A7E93, 0xF395, 0x4834, 0x9E, 0xF6, 0x7F, 0xA 9, 0x9D, 0xE5, 0x09, 0x66); DEFINE_GUID(IID_IDirectSound8, 0xC50A7E93, 0xF395, 0x4834, 0x9E, 0xF6, 0x7F, 0xA 9, 0x9D, 0xE5, 0x09, 0x66);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSound8 #define INTERFACE IDirectSound8
DECLARE_INTERFACE_(IDirectSound8, IDirectSound) DECLARE_INTERFACE_(IDirectSound8, IDirectSound)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSound methods // IDirectSound methods
STDMETHOD(CreateSoundBuffer) (THIS_ __in LPCDSBUFFERDESC pcDSBufferDesc, STDMETHOD(CreateSoundBuffer) (THIS_ _In_ LPCDSBUFFERDESC pcDSBufferDesc,
__out LPDIRECTSOUNDBUFFER *ppDSBuffer, __null LPUNKNOWN pUnkOuter) PURE; _Out_ LPDIRECTSOUNDBUFFER *ppDSBuffer, _Pre_null_ LPUNKNOWN pUnkOuter) PURE;
STDMETHOD(GetCaps) (THIS_ __out LPDSCAPS pDSCaps) PURE; STDMETHOD(GetCaps) (THIS_ _Out_ LPDSCAPS pDSCaps) PURE;
STDMETHOD(DuplicateSoundBuffer) (THIS_ __in LPDIRECTSOUNDBUFFER pDSBufferOri STDMETHOD(DuplicateSoundBuffer) (THIS_ _In_ LPDIRECTSOUNDBUFFER pDSBufferOri
ginal, __out LPDIRECTSOUNDBUFFER *ppDSBufferDuplicate) PURE; ginal, _Out_ LPDIRECTSOUNDBUFFER *ppDSBufferDuplicate) PURE;
STDMETHOD(SetCooperativeLevel) (THIS_ HWND hwnd, DWORD dwLevel) PURE; STDMETHOD(SetCooperativeLevel) (THIS_ HWND hwnd, DWORD dwLevel) PURE;
STDMETHOD(Compact) (THIS) PURE; STDMETHOD(Compact) (THIS) PURE;
STDMETHOD(GetSpeakerConfig) (THIS_ __out LPDWORD pdwSpeakerConfig) PURE; STDMETHOD(GetSpeakerConfig) (THIS_ _Out_ LPDWORD pdwSpeakerConfig) PURE;
STDMETHOD(SetSpeakerConfig) (THIS_ DWORD dwSpeakerConfig) PURE; STDMETHOD(SetSpeakerConfig) (THIS_ DWORD dwSpeakerConfig) PURE;
STDMETHOD(Initialize) (THIS_ __in_opt LPCGUID pcGuidDevice) PURE; STDMETHOD(Initialize) (THIS_ _In_opt_ LPCGUID pcGuidDevice) PURE;
// IDirectSound8 methods // IDirectSound8 methods
STDMETHOD(VerifyCertification) (THIS_ __out LPDWORD pdwCertified) PURE; STDMETHOD(VerifyCertification) (THIS_ _Out_ LPDWORD pdwCertified) PURE;
}; };
#define IDirectSound8_QueryInterface(p,a,b) IDirectSound_QueryInterface(p, a,b) #define IDirectSound8_QueryInterface(p,a,b) IDirectSound_QueryInterface(p, a,b)
#define IDirectSound8_AddRef(p) IDirectSound_AddRef(p) #define IDirectSound8_AddRef(p) IDirectSound_AddRef(p)
#define IDirectSound8_Release(p) IDirectSound_Release(p) #define IDirectSound8_Release(p) IDirectSound_Release(p)
#define IDirectSound8_CreateSoundBuffer(p,a,b,c) IDirectSound_CreateSoundBuffer (p,a,b,c) #define IDirectSound8_CreateSoundBuffer(p,a,b,c) IDirectSound_CreateSoundBuffer (p,a,b,c)
#define IDirectSound8_GetCaps(p,a) IDirectSound_GetCaps(p,a) #define IDirectSound8_GetCaps(p,a) IDirectSound_GetCaps(p,a)
#define IDirectSound8_DuplicateSoundBuffer(p,a,b) IDirectSound_DuplicateSoundBuf fer(p,a,b) #define IDirectSound8_DuplicateSoundBuffer(p,a,b) IDirectSound_DuplicateSoundBuf fer(p,a,b)
#define IDirectSound8_SetCooperativeLevel(p,a,b) IDirectSound_SetCooperativeLev el(p,a,b) #define IDirectSound8_SetCooperativeLevel(p,a,b) IDirectSound_SetCooperativeLev el(p,a,b)
#define IDirectSound8_Compact(p) IDirectSound_Compact(p) #define IDirectSound8_Compact(p) IDirectSound_Compact(p)
skipping to change at line 693 skipping to change at line 698
// //
DEFINE_GUID(IID_IDirectSoundBuffer, 0x279AFA85, 0x4981, 0x11CE, 0xA5, 0x21, 0x00 , 0x20, 0xAF, 0x0B, 0xE5, 0x60); DEFINE_GUID(IID_IDirectSoundBuffer, 0x279AFA85, 0x4981, 0x11CE, 0xA5, 0x21, 0x00 , 0x20, 0xAF, 0x0B, 0xE5, 0x60);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundBuffer #define INTERFACE IDirectSoundBuffer
DECLARE_INTERFACE_(IDirectSoundBuffer, IUnknown) DECLARE_INTERFACE_(IDirectSoundBuffer, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundBuffer methods // IDirectSoundBuffer methods
STDMETHOD(GetCaps) (THIS_ __out LPDSBCAPS pDSBufferCaps) PURE; STDMETHOD(GetCaps) (THIS_ _Out_ LPDSBCAPS pDSBufferCaps) PURE;
STDMETHOD(GetCurrentPosition) (THIS_ __out_opt LPDWORD pdwCurrentPlayCurso STDMETHOD(GetCurrentPosition) (THIS_ _Out_opt_ LPDWORD pdwCurrentPlayCurso
r, __out_opt LPDWORD pdwCurrentWriteCursor) PURE; r, _Out_opt_ LPDWORD pdwCurrentWriteCursor) PURE;
STDMETHOD(GetFormat) (THIS_ __out_bcount_opt(dwSizeAllocated) LPW STDMETHOD(GetFormat) (THIS_ _Out_writes_bytes_opt_(dwSizeAllocate
AVEFORMATEX pwfxFormat, DWORD dwSizeAllocated, __out_opt LPDWORD pdwSizeWritten) d) LPWAVEFORMATEX pwfxFormat, DWORD dwSizeAllocated, _Out_opt_ LPDWORD pdwSizeWr
PURE; itten) PURE;
STDMETHOD(GetVolume) (THIS_ __out LPLONG plVolume) PURE; STDMETHOD(GetVolume) (THIS_ _Out_ LPLONG plVolume) PURE;
STDMETHOD(GetPan) (THIS_ __out LPLONG plPan) PURE; STDMETHOD(GetPan) (THIS_ _Out_ LPLONG plPan) PURE;
STDMETHOD(GetFrequency) (THIS_ __out LPDWORD pdwFrequency) PURE; STDMETHOD(GetFrequency) (THIS_ _Out_ LPDWORD pdwFrequency) PURE;
STDMETHOD(GetStatus) (THIS_ __out LPDWORD pdwStatus) PURE; STDMETHOD(GetStatus) (THIS_ _Out_ LPDWORD pdwStatus) PURE;
STDMETHOD(Initialize) (THIS_ __in LPDIRECTSOUND pDirectSound, __in STDMETHOD(Initialize) (THIS_ _In_ LPDIRECTSOUND pDirectSound, _In_
LPCDSBUFFERDESC pcDSBufferDesc) PURE; LPCDSBUFFERDESC pcDSBufferDesc) PURE;
STDMETHOD(Lock) (THIS_ DWORD dwOffset, DWORD dwBytes, STDMETHOD(Lock) (THIS_ DWORD dwOffset, DWORD dwBytes,
__deref_out_bcount(*pdwAudioBytes1) L _Outptr_result_bytebuffer_(*pdwAudioB
PVOID *ppvAudioPtr1, __out LPDWORD pdwAudioBytes1, ytes1) LPVOID *ppvAudioPtr1, _Out_ LPDWORD pdwAudioBytes1,
__deref_opt_out_bcount(*pdwAudioBytes _Outptr_opt_result_bytebuffer_(*pdwAu
2) LPVOID *ppvAudioPtr2, __out_opt LPDWORD pdwAudioBytes2, DWORD dwFlags) PURE; dioBytes2) LPVOID *ppvAudioPtr2, _Out_opt_ LPDWORD pdwAudioBytes2, DWORD dwFlags
) PURE;
STDMETHOD(Play) (THIS_ DWORD dwReserved1, DWORD dwPriority, DWORD dwFlags) PURE; STDMETHOD(Play) (THIS_ DWORD dwReserved1, DWORD dwPriority, DWORD dwFlags) PURE;
STDMETHOD(SetCurrentPosition) (THIS_ DWORD dwNewPosition) PURE; STDMETHOD(SetCurrentPosition) (THIS_ DWORD dwNewPosition) PURE;
STDMETHOD(SetFormat) (THIS_ __in LPCWAVEFORMATEX pcfxFormat) PURE ; STDMETHOD(SetFormat) (THIS_ _In_ LPCWAVEFORMATEX pcfxFormat) PURE ;
STDMETHOD(SetVolume) (THIS_ LONG lVolume) PURE; STDMETHOD(SetVolume) (THIS_ LONG lVolume) PURE;
STDMETHOD(SetPan) (THIS_ LONG lPan) PURE; STDMETHOD(SetPan) (THIS_ LONG lPan) PURE;
STDMETHOD(SetFrequency) (THIS_ DWORD dwFrequency) PURE; STDMETHOD(SetFrequency) (THIS_ DWORD dwFrequency) PURE;
STDMETHOD(Stop) (THIS) PURE; STDMETHOD(Stop) (THIS) PURE;
STDMETHOD(Unlock) (THIS_ __in_bcount(dwAudioBytes1) LPVOID pvA STDMETHOD(Unlock) (THIS_ _In_reads_bytes_(dwAudioBytes1) LPVOI
udioPtr1, DWORD dwAudioBytes1, D pvAudioPtr1, DWORD dwAudioBytes1,
__in_bcount_opt(dwAudioBytes2) LPVOID _In_reads_bytes_opt_(dwAudioBytes2) L
pvAudioPtr2, DWORD dwAudioBytes2) PURE; PVOID pvAudioPtr2, DWORD dwAudioBytes2) PURE;
STDMETHOD(Restore) (THIS) PURE; STDMETHOD(Restore) (THIS) PURE;
}; };
#define IDirectSoundBuffer_QueryInterface(p,a,b) IUnknown_QueryInterface( p,a,b) #define IDirectSoundBuffer_QueryInterface(p,a,b) IUnknown_QueryInterface( p,a,b)
#define IDirectSoundBuffer_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundBuffer_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundBuffer_Release(p) IUnknown_Release(p) #define IDirectSoundBuffer_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundBuffer_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a ) #define IDirectSoundBuffer_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a )
#define IDirectSoundBuffer_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentP osition(p,a,b) #define IDirectSoundBuffer_GetCurrentPosition(p,a,b) (p)->lpVtbl->GetCurrentP osition(p,a,b)
skipping to change at line 779 skipping to change at line 784
// //
DEFINE_GUID(IID_IDirectSoundBuffer8, 0x6825a449, 0x7524, 0x4d82, 0x92, 0x0f, 0x5 0, 0xe3, 0x6a, 0xb3, 0xab, 0x1e); DEFINE_GUID(IID_IDirectSoundBuffer8, 0x6825a449, 0x7524, 0x4d82, 0x92, 0x0f, 0x5 0, 0xe3, 0x6a, 0xb3, 0xab, 0x1e);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundBuffer8 #define INTERFACE IDirectSoundBuffer8
DECLARE_INTERFACE_(IDirectSoundBuffer8, IDirectSoundBuffer) DECLARE_INTERFACE_(IDirectSoundBuffer8, IDirectSoundBuffer)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundBuffer methods // IDirectSoundBuffer methods
STDMETHOD(GetCaps) (THIS_ __out LPDSBCAPS pDSBufferCaps) PURE; STDMETHOD(GetCaps) (THIS_ _Out_ LPDSBCAPS pDSBufferCaps) PURE;
STDMETHOD(GetCurrentPosition) (THIS_ __out_opt LPDWORD pdwCurrentPlayCurso STDMETHOD(GetCurrentPosition) (THIS_ _Out_opt_ LPDWORD pdwCurrentPlayCurso
r, __out_opt LPDWORD pdwCurrentWriteCursor) PURE; r, _Out_opt_ LPDWORD pdwCurrentWriteCursor) PURE;
STDMETHOD(GetFormat) (THIS_ __out_bcount_opt(dwSizeAllocated) LPW STDMETHOD(GetFormat) (THIS_ _Out_writes_bytes_opt_(dwSizeAllocate
AVEFORMATEX pwfxFormat, DWORD dwSizeAllocated, __out_opt LPDWORD pdwSizeWritten) d) LPWAVEFORMATEX pwfxFormat, DWORD dwSizeAllocated, _Out_opt_ LPDWORD pdwSizeWr
PURE; itten) PURE;
STDMETHOD(GetVolume) (THIS_ __out LPLONG plVolume) PURE; STDMETHOD(GetVolume) (THIS_ _Out_ LPLONG plVolume) PURE;
STDMETHOD(GetPan) (THIS_ __out LPLONG plPan) PURE; STDMETHOD(GetPan) (THIS_ _Out_ LPLONG plPan) PURE;
STDMETHOD(GetFrequency) (THIS_ __out LPDWORD pdwFrequency) PURE; STDMETHOD(GetFrequency) (THIS_ _Out_ LPDWORD pdwFrequency) PURE;
STDMETHOD(GetStatus) (THIS_ __out LPDWORD pdwStatus) PURE; STDMETHOD(GetStatus) (THIS_ _Out_ LPDWORD pdwStatus) PURE;
STDMETHOD(Initialize) (THIS_ __in LPDIRECTSOUND pDirectSound, __in STDMETHOD(Initialize) (THIS_ _In_ LPDIRECTSOUND pDirectSound, _In_
LPCDSBUFFERDESC pcDSBufferDesc) PURE; LPCDSBUFFERDESC pcDSBufferDesc) PURE;
STDMETHOD(Lock) (THIS_ DWORD dwOffset, DWORD dwBytes, STDMETHOD(Lock) (THIS_ DWORD dwOffset, DWORD dwBytes,
__deref_out_bcount(*pdwAudioBytes1) L _Outptr_result_bytebuffer_(*pdwAudioB
PVOID *ppvAudioPtr1, __out LPDWORD pdwAudioBytes1, ytes1) LPVOID *ppvAudioPtr1, _Out_ LPDWORD pdwAudioBytes1,
__deref_opt_out_bcount(*pdwAudioBytes _Outptr_opt_result_bytebuffer_(*pdwAu
2) LPVOID *ppvAudioPtr2, __out_opt LPDWORD pdwAudioBytes2, DWORD dwFlags) PURE; dioBytes2) LPVOID *ppvAudioPtr2, _Out_opt_ LPDWORD pdwAudioBytes2, DWORD dwFlags
) PURE;
STDMETHOD(Play) (THIS_ DWORD dwReserved1, DWORD dwPriority, DWORD dwFlags) PURE; STDMETHOD(Play) (THIS_ DWORD dwReserved1, DWORD dwPriority, DWORD dwFlags) PURE;
STDMETHOD(SetCurrentPosition) (THIS_ DWORD dwNewPosition) PURE; STDMETHOD(SetCurrentPosition) (THIS_ DWORD dwNewPosition) PURE;
STDMETHOD(SetFormat) (THIS_ __in LPCWAVEFORMATEX pcfxFormat) PURE ; STDMETHOD(SetFormat) (THIS_ _In_ LPCWAVEFORMATEX pcfxFormat) PURE ;
STDMETHOD(SetVolume) (THIS_ LONG lVolume) PURE; STDMETHOD(SetVolume) (THIS_ LONG lVolume) PURE;
STDMETHOD(SetPan) (THIS_ LONG lPan) PURE; STDMETHOD(SetPan) (THIS_ LONG lPan) PURE;
STDMETHOD(SetFrequency) (THIS_ DWORD dwFrequency) PURE; STDMETHOD(SetFrequency) (THIS_ DWORD dwFrequency) PURE;
STDMETHOD(Stop) (THIS) PURE; STDMETHOD(Stop) (THIS) PURE;
STDMETHOD(Unlock) (THIS_ __in_bcount(dwAudioBytes1) LPVOID pvA STDMETHOD(Unlock) (THIS_ _In_reads_bytes_(dwAudioBytes1) LPVOI
udioPtr1, DWORD dwAudioBytes1, D pvAudioPtr1, DWORD dwAudioBytes1,
__in_bcount_opt(dwAudioBytes2) LPVOID _In_reads_bytes_opt_(dwAudioBytes2) L
pvAudioPtr2, DWORD dwAudioBytes2) PURE; PVOID pvAudioPtr2, DWORD dwAudioBytes2) PURE;
STDMETHOD(Restore) (THIS) PURE; STDMETHOD(Restore) (THIS) PURE;
// IDirectSoundBuffer8 methods // IDirectSoundBuffer8 methods
STDMETHOD(SetFX) (THIS_ DWORD dwEffectsCount, __in_ecount_opt STDMETHOD(SetFX) (THIS_ DWORD dwEffectsCount, _In_reads_opt_(
(dwEffectsCount) LPDSEFFECTDESC pDSFXDesc, __out_ecount_opt(dwEffectsCount) LPDW dwEffectsCount) LPDSEFFECTDESC pDSFXDesc, _Out_writes_opt_(dwEffectsCount) LPDWO
ORD pdwResultCodes) PURE; RD pdwResultCodes) PURE;
STDMETHOD(AcquireResources) (THIS_ DWORD dwFlags, DWORD dwEffectsCount, STDMETHOD(AcquireResources) (THIS_ DWORD dwFlags, DWORD dwEffectsCount,
__out_ecount(dwEffectsCount) LPDWORD pdwResultCodes) PURE; _Out_writes_(dwEffectsCount) LPDWORD pdwResultCodes) PURE;
STDMETHOD(GetObjectInPath) (THIS_ __in REFGUID rguidObject, DWORD dwInd STDMETHOD(GetObjectInPath) (THIS_ _In_ REFGUID rguidObject, DWORD dwInd
ex, __in REFGUID rguidInterface, __deref_out LPVOID *ppObject) PURE; ex, _In_ REFGUID rguidInterface, _Outptr_ LPVOID *ppObject) PURE;
}; };
// Special GUID meaning "select all objects" for use in GetObjectInPath() // Special GUID meaning "select all objects" for use in GetObjectInPath()
DEFINE_GUID(GUID_All_Objects, 0xaa114de5, 0xc262, 0x4169, 0xa1, 0xc8, 0x23, 0xd6 , 0x98, 0xcc, 0x73, 0xb5); DEFINE_GUID(GUID_All_Objects, 0xaa114de5, 0xc262, 0x4169, 0xa1, 0xc8, 0x23, 0xd6 , 0x98, 0xcc, 0x73, 0xb5);
#define IDirectSoundBuffer8_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b) #define IDirectSoundBuffer8_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b)
#define IDirectSoundBuffer8_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundBuffer8_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundBuffer8_Release(p) IUnknown_Release(p) #define IDirectSoundBuffer8_Release(p) IUnknown_Release(p)
#define IDirectSoundBuffer8_GetCaps(p,a) IDirectSoundBuffer_G etCaps(p,a) #define IDirectSoundBuffer8_GetCaps(p,a) IDirectSoundBuffer_G etCaps(p,a)
skipping to change at line 862 skipping to change at line 867
// //
DEFINE_GUID(IID_IDirectSound3DListener, 0x279AFA84, 0x4981, 0x11CE, 0xA5, 0x21, 0x00, 0x20, 0xAF, 0x0B, 0xE5, 0x60); DEFINE_GUID(IID_IDirectSound3DListener, 0x279AFA84, 0x4981, 0x11CE, 0xA5, 0x21, 0x00, 0x20, 0xAF, 0x0B, 0xE5, 0x60);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSound3DListener #define INTERFACE IDirectSound3DListener
DECLARE_INTERFACE_(IDirectSound3DListener, IUnknown) DECLARE_INTERFACE_(IDirectSound3DListener, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PURE; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PU RE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSound3DListener methods // IDirectSound3DListener methods
STDMETHOD(GetAllParameters) (THIS_ __out LPDS3DLISTENER pListener) P STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDS3DLISTENER pListener) P
URE; URE;
STDMETHOD(GetDistanceFactor) (THIS_ __out D3DVALUE* pflDistanceFactor STDMETHOD(GetDistanceFactor) (THIS_ _Out_ D3DVALUE* pflDistanceFactor
) PURE; ) PURE;
STDMETHOD(GetDopplerFactor) (THIS_ __out D3DVALUE* pflDopplerFactor) STDMETHOD(GetDopplerFactor) (THIS_ _Out_ D3DVALUE* pflDopplerFactor)
PURE; PURE;
STDMETHOD(GetOrientation) (THIS_ __out D3DVECTOR* pvOrientFront, _ STDMETHOD(GetOrientation) (THIS_ _Out_ D3DVECTOR* pvOrientFront, _
_out D3DVECTOR* pvOrientTop) PURE; Out_ D3DVECTOR* pvOrientTop) PURE;
STDMETHOD(GetPosition) (THIS_ __out D3DVECTOR* pvPosition) PURE STDMETHOD(GetPosition) (THIS_ _Out_ D3DVECTOR* pvPosition) PURE
; ;
STDMETHOD(GetRolloffFactor) (THIS_ __out D3DVALUE* pflRolloffFactor) STDMETHOD(GetRolloffFactor) (THIS_ _Out_ D3DVALUE* pflRolloffFactor)
PURE; PURE;
STDMETHOD(GetVelocity) (THIS_ __out D3DVECTOR* pvVelocity) PURE STDMETHOD(GetVelocity) (THIS_ _Out_ D3DVECTOR* pvVelocity) PURE
; ;
STDMETHOD(SetAllParameters) (THIS_ __in LPCDS3DLISTENER pcListener, STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDS3DLISTENER pcListener,
DWORD dwApply) PURE; DWORD dwApply) PURE;
STDMETHOD(SetDistanceFactor) (THIS_ D3DVALUE flDistanceFactor, DWORD dwApply) PURE; STDMETHOD(SetDistanceFactor) (THIS_ D3DVALUE flDistanceFactor, DWORD dwApply) PURE;
STDMETHOD(SetDopplerFactor) (THIS_ D3DVALUE flDopplerFactor, DWORD d wApply) PURE; STDMETHOD(SetDopplerFactor) (THIS_ D3DVALUE flDopplerFactor, DWORD d wApply) PURE;
STDMETHOD(SetOrientation) (THIS_ D3DVALUE xFront, D3DVALUE yFront, D3DVALUE zFront, STDMETHOD(SetOrientation) (THIS_ D3DVALUE xFront, D3DVALUE yFront, D3DVALUE zFront,
D3DVALUE xTop, D3DVALUE yTop, D3D VALUE zTop, DWORD dwApply) PURE; D3DVALUE xTop, D3DVALUE yTop, D3D VALUE zTop, DWORD dwApply) PURE;
STDMETHOD(SetPosition) (THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE; STDMETHOD(SetPosition) (THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE;
STDMETHOD(SetRolloffFactor) (THIS_ D3DVALUE flRolloffFactor, DWORD d wApply) PURE; STDMETHOD(SetRolloffFactor) (THIS_ D3DVALUE flRolloffFactor, DWORD d wApply) PURE;
STDMETHOD(SetVelocity) (THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE; STDMETHOD(SetVelocity) (THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE;
STDMETHOD(CommitDeferredSettings) (THIS) PURE; STDMETHOD(CommitDeferredSettings) (THIS) PURE;
}; };
skipping to change at line 935 skipping to change at line 940
// //
DEFINE_GUID(IID_IDirectSound3DBuffer, 0x279AFA86, 0x4981, 0x11CE, 0xA5, 0x21, 0x 00, 0x20, 0xAF, 0x0B, 0xE5, 0x60); DEFINE_GUID(IID_IDirectSound3DBuffer, 0x279AFA86, 0x4981, 0x11CE, 0xA5, 0x21, 0x 00, 0x20, 0xAF, 0x0B, 0xE5, 0x60);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSound3DBuffer #define INTERFACE IDirectSound3DBuffer
DECLARE_INTERFACE_(IDirectSound3DBuffer, IUnknown) DECLARE_INTERFACE_(IDirectSound3DBuffer, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSound3DBuffer methods // IDirectSound3DBuffer methods
STDMETHOD(GetAllParameters) (THIS_ __out LPDS3DBUFFER pDs3dBuffer) PURE; STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDS3DBUFFER pDs3dBuffer) PURE;
STDMETHOD(GetConeAngles) (THIS_ __out LPDWORD pdwInsideConeAngle, __o STDMETHOD(GetConeAngles) (THIS_ _Out_ LPDWORD pdwInsideConeAngle, _Ou
ut LPDWORD pdwOutsideConeAngle) PURE; t_ LPDWORD pdwOutsideConeAngle) PURE;
STDMETHOD(GetConeOrientation) (THIS_ __out D3DVECTOR* pvOrientation) PURE; STDMETHOD(GetConeOrientation) (THIS_ _Out_ D3DVECTOR* pvOrientation) PURE;
STDMETHOD(GetConeOutsideVolume) (THIS_ __out LPLONG plConeOutsideVolume) PUR STDMETHOD(GetConeOutsideVolume) (THIS_ _Out_ LPLONG plConeOutsideVolume) PUR
E; E;
STDMETHOD(GetMaxDistance) (THIS_ __out D3DVALUE* pflMaxDistance) PURE; STDMETHOD(GetMaxDistance) (THIS_ _Out_ D3DVALUE* pflMaxDistance) PURE;
STDMETHOD(GetMinDistance) (THIS_ __out D3DVALUE* pflMinDistance) PURE; STDMETHOD(GetMinDistance) (THIS_ _Out_ D3DVALUE* pflMinDistance) PURE;
STDMETHOD(GetMode) (THIS_ __out LPDWORD pdwMode) PURE; STDMETHOD(GetMode) (THIS_ _Out_ LPDWORD pdwMode) PURE;
STDMETHOD(GetPosition) (THIS_ __out D3DVECTOR* pvPosition) PURE; STDMETHOD(GetPosition) (THIS_ _Out_ D3DVECTOR* pvPosition) PURE;
STDMETHOD(GetVelocity) (THIS_ __out D3DVECTOR* pvVelocity) PURE; STDMETHOD(GetVelocity) (THIS_ _Out_ D3DVECTOR* pvVelocity) PURE;
STDMETHOD(SetAllParameters) (THIS_ __in LPCDS3DBUFFER pcDs3dBuffer, DWOR STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDS3DBUFFER pcDs3dBuffer, DWOR
D dwApply) PURE; D dwApply) PURE;
STDMETHOD(SetConeAngles) (THIS_ DWORD dwInsideConeAngle, DWORD dwOuts ideConeAngle, DWORD dwApply) PURE; STDMETHOD(SetConeAngles) (THIS_ DWORD dwInsideConeAngle, DWORD dwOuts ideConeAngle, DWORD dwApply) PURE;
STDMETHOD(SetConeOrientation) (THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, D WORD dwApply) PURE; STDMETHOD(SetConeOrientation) (THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, D WORD dwApply) PURE;
STDMETHOD(SetConeOutsideVolume) (THIS_ LONG lConeOutsideVolume, DWORD dwAppl y) PURE; STDMETHOD(SetConeOutsideVolume) (THIS_ LONG lConeOutsideVolume, DWORD dwAppl y) PURE;
STDMETHOD(SetMaxDistance) (THIS_ D3DVALUE flMaxDistance, DWORD dwApply ) PURE; STDMETHOD(SetMaxDistance) (THIS_ D3DVALUE flMaxDistance, DWORD dwApply ) PURE;
STDMETHOD(SetMinDistance) (THIS_ D3DVALUE flMinDistance, DWORD dwApply ) PURE; STDMETHOD(SetMinDistance) (THIS_ D3DVALUE flMinDistance, DWORD dwApply ) PURE;
STDMETHOD(SetMode) (THIS_ DWORD dwMode, DWORD dwApply) PURE; STDMETHOD(SetMode) (THIS_ DWORD dwMode, DWORD dwApply) PURE;
STDMETHOD(SetPosition) (THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, D WORD dwApply) PURE; STDMETHOD(SetPosition) (THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, D WORD dwApply) PURE;
STDMETHOD(SetVelocity) (THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, D WORD dwApply) PURE; STDMETHOD(SetVelocity) (THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, D WORD dwApply) PURE;
}; };
skipping to change at line 1016 skipping to change at line 1021
// //
DEFINE_GUID(IID_IDirectSoundCapture, 0xb0210781, 0x89cd, 0x11d0, 0xaf, 0x8, 0x0, 0xa0, 0xc9, 0x25, 0xcd, 0x16); DEFINE_GUID(IID_IDirectSoundCapture, 0xb0210781, 0x89cd, 0x11d0, 0xaf, 0x8, 0x0, 0xa0, 0xc9, 0x25, 0xcd, 0x16);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundCapture #define INTERFACE IDirectSoundCapture
DECLARE_INTERFACE_(IDirectSoundCapture, IUnknown) DECLARE_INTERFACE_(IDirectSoundCapture, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundCapture methods // IDirectSoundCapture methods
STDMETHOD(CreateCaptureBuffer) (THIS_ __in LPCDSCBUFFERDESC pcDSCBufferDesc STDMETHOD(CreateCaptureBuffer) (THIS_ _In_ LPCDSCBUFFERDESC pcDSCBufferDesc
, __deref_out LPDIRECTSOUNDCAPTUREBUFFER *ppDSCBuffer, __null LPUNKNOWN pUnkOute , _Outptr_ LPDIRECTSOUNDCAPTUREBUFFER *ppDSCBuffer, _Pre_null_ LPUNKNOWN pUnkOut
r) PURE; er) PURE;
STDMETHOD(GetCaps) (THIS_ __out LPDSCCAPS pDSCCaps) PURE; STDMETHOD(GetCaps) (THIS_ _Out_ LPDSCCAPS pDSCCaps) PURE;
STDMETHOD(Initialize) (THIS_ __in_opt LPCGUID pcGuidDevice) PURE; STDMETHOD(Initialize) (THIS_ _In_opt_ LPCGUID pcGuidDevice) PURE;
}; };
#define IDirectSoundCapture_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b) #define IDirectSoundCapture_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b)
#define IDirectSoundCapture_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundCapture_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundCapture_Release(p) IUnknown_Release(p) #define IDirectSoundCapture_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundCapture_CreateCaptureBuffer(p,a,b,c) (p)->lpVtbl->CreateC aptureBuffer(p,a,b,c) #define IDirectSoundCapture_CreateCaptureBuffer(p,a,b,c) (p)->lpVtbl->CreateC aptureBuffer(p,a,b,c)
#define IDirectSoundCapture_GetCaps(p,a) (p)->lpVtbl->GetCaps (p,a) #define IDirectSoundCapture_GetCaps(p,a) (p)->lpVtbl->GetCaps (p,a)
#define IDirectSoundCapture_Initialize(p,a) (p)->lpVtbl->Initial ize(p,a) #define IDirectSoundCapture_Initialize(p,a) (p)->lpVtbl->Initial ize(p,a)
skipping to change at line 1052 skipping to change at line 1057
// //
DEFINE_GUID(IID_IDirectSoundCaptureBuffer, 0xb0210782, 0x89cd, 0x11d0, 0xaf, 0x8 , 0x0, 0xa0, 0xc9, 0x25, 0xcd, 0x16); DEFINE_GUID(IID_IDirectSoundCaptureBuffer, 0xb0210782, 0x89cd, 0x11d0, 0xaf, 0x8 , 0x0, 0xa0, 0xc9, 0x25, 0xcd, 0x16);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundCaptureBuffer #define INTERFACE IDirectSoundCaptureBuffer
DECLARE_INTERFACE_(IDirectSoundCaptureBuffer, IUnknown) DECLARE_INTERFACE_(IDirectSoundCaptureBuffer, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundCaptureBuffer methods // IDirectSoundCaptureBuffer methods
STDMETHOD(GetCaps) (THIS_ __out LPDSCBCAPS pDSCBCaps) PURE; STDMETHOD(GetCaps) (THIS_ _Out_ LPDSCBCAPS pDSCBCaps) PURE;
STDMETHOD(GetCurrentPosition) (THIS_ __out_opt LPDWORD pdwCapturePosition, STDMETHOD(GetCurrentPosition) (THIS_ _Out_opt_ LPDWORD pdwCapturePosition,
__out_opt LPDWORD pdwReadPosition) PURE; _Out_opt_ LPDWORD pdwReadPosition) PURE;
STDMETHOD(GetFormat) (THIS_ __out_bcount_opt(dwSizeAllocated) LPW STDMETHOD(GetFormat) (THIS_ _Out_writes_bytes_opt_(dwSizeAllocate
AVEFORMATEX pwfxFormat, DWORD dwSizeAllocated, __out_opt LPDWORD pdwSizeWritten) d) LPWAVEFORMATEX pwfxFormat, DWORD dwSizeAllocated, _Out_opt_ LPDWORD pdwSizeWr
PURE; itten) PURE;
STDMETHOD(GetStatus) (THIS_ __out LPDWORD pdwStatus) PURE; STDMETHOD(GetStatus) (THIS_ _Out_ LPDWORD pdwStatus) PURE;
STDMETHOD(Initialize) (THIS_ __in LPDIRECTSOUNDCAPTURE pDirectSoun STDMETHOD(Initialize) (THIS_ _In_ LPDIRECTSOUNDCAPTURE pDirectSoun
dCapture, __in LPCDSCBUFFERDESC pcDSCBufferDesc) PURE; dCapture, _In_ LPCDSCBUFFERDESC pcDSCBufferDesc) PURE;
STDMETHOD(Lock) (THIS_ DWORD dwOffset, DWORD dwBytes, STDMETHOD(Lock) (THIS_ DWORD dwOffset, DWORD dwBytes,
__deref_out_bcount(*pdwAudioBytes1) L _Outptr_result_bytebuffer_(*pdwAudioB
PVOID *ppvAudioPtr1, __out LPDWORD pdwAudioBytes1, ytes1) LPVOID *ppvAudioPtr1, _Out_ LPDWORD pdwAudioBytes1,
__deref_opt_out_bcount(*pdwAudioBytes _Outptr_opt_result_bytebuffer_(*pdwAu
2) LPVOID *ppvAudioPtr2, __out_opt LPDWORD pdwAudioBytes2, DWORD dwFlags) PURE; dioBytes2) LPVOID *ppvAudioPtr2, _Out_opt_ LPDWORD pdwAudioBytes2, DWORD dwFlags
) PURE;
STDMETHOD(Start) (THIS_ DWORD dwFlags) PURE; STDMETHOD(Start) (THIS_ DWORD dwFlags) PURE;
STDMETHOD(Stop) (THIS) PURE; STDMETHOD(Stop) (THIS) PURE;
STDMETHOD(Unlock) (THIS_ __in_bcount(dwAudioBytes1) LPVOID pvA STDMETHOD(Unlock) (THIS_ _In_reads_bytes_(dwAudioBytes1) LPVOI
udioPtr1, DWORD dwAudioBytes1, D pvAudioPtr1, DWORD dwAudioBytes1,
__in_bcount_opt(dwAudioBytes2) LPVOID _In_reads_bytes_opt_(dwAudioBytes2) L
pvAudioPtr2, DWORD dwAudioBytes2) PURE; PVOID pvAudioPtr2, DWORD dwAudioBytes2) PURE;
}; };
#define IDirectSoundCaptureBuffer_QueryInterface(p,a,b) IUnknown_QueryIn terface(p,a,b) #define IDirectSoundCaptureBuffer_QueryInterface(p,a,b) IUnknown_QueryIn terface(p,a,b)
#define IDirectSoundCaptureBuffer_AddRef(p) IUnknown_AddRef( p) #define IDirectSoundCaptureBuffer_AddRef(p) IUnknown_AddRef( p)
#define IDirectSoundCaptureBuffer_Release(p) IUnknown_Release (p) #define IDirectSoundCaptureBuffer_Release(p) IUnknown_Release (p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundCaptureBuffer_GetCaps(p,a) (p)->lpVtbl->Get Caps(p,a) #define IDirectSoundCaptureBuffer_GetCaps(p,a) (p)->lpVtbl->Get Caps(p,a)
#define IDirectSoundCaptureBuffer_GetCurrentPosition(p,a,b) (p)->lpVtbl->Get CurrentPosition(p,a,b) #define IDirectSoundCaptureBuffer_GetCurrentPosition(p,a,b) (p)->lpVtbl->Get CurrentPosition(p,a,b)
#define IDirectSoundCaptureBuffer_GetFormat(p,a,b,c) (p)->lpVtbl->Get Format(p,a,b,c) #define IDirectSoundCaptureBuffer_GetFormat(p,a,b,c) (p)->lpVtbl->Get Format(p,a,b,c)
skipping to change at line 1111 skipping to change at line 1116
// //
DEFINE_GUID(IID_IDirectSoundCaptureBuffer8, 0x990df4, 0xdbb, 0x4872, 0x83, 0x3e, 0x6d, 0x30, 0x3e, 0x80, 0xae, 0xb6); DEFINE_GUID(IID_IDirectSoundCaptureBuffer8, 0x990df4, 0xdbb, 0x4872, 0x83, 0x3e, 0x6d, 0x30, 0x3e, 0x80, 0xae, 0xb6);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundCaptureBuffer8 #define INTERFACE IDirectSoundCaptureBuffer8
DECLARE_INTERFACE_(IDirectSoundCaptureBuffer8, IDirectSoundCaptureBuffer) DECLARE_INTERFACE_(IDirectSoundCaptureBuffer8, IDirectSoundCaptureBuffer)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundCaptureBuffer methods // IDirectSoundCaptureBuffer methods
STDMETHOD(GetCaps) (THIS_ __out LPDSCBCAPS pDSCBCaps) PURE; STDMETHOD(GetCaps) (THIS_ _Out_ LPDSCBCAPS pDSCBCaps) PURE;
STDMETHOD(GetCurrentPosition) (THIS_ __out_opt LPDWORD pdwCapturePosition, STDMETHOD(GetCurrentPosition) (THIS_ _Out_opt_ LPDWORD pdwCapturePosition,
__out_opt LPDWORD pdwReadPosition) PURE; _Out_opt_ LPDWORD pdwReadPosition) PURE;
STDMETHOD(GetFormat) (THIS_ __out_bcount_opt(dwSizeAllocated) LPW STDMETHOD(GetFormat) (THIS_ _Out_writes_bytes_opt_(dwSizeAllocate
AVEFORMATEX pwfxFormat, DWORD dwSizeAllocated, __out_opt LPDWORD pdwSizeWritten) d) LPWAVEFORMATEX pwfxFormat, DWORD dwSizeAllocated, _Out_opt_ LPDWORD pdwSizeWr
PURE; itten) PURE;
STDMETHOD(GetStatus) (THIS_ __out LPDWORD pdwStatus) PURE; STDMETHOD(GetStatus) (THIS_ _Out_ LPDWORD pdwStatus) PURE;
STDMETHOD(Initialize) (THIS_ __in LPDIRECTSOUNDCAPTURE pDirectSoun STDMETHOD(Initialize) (THIS_ _In_ LPDIRECTSOUNDCAPTURE pDirectSoun
dCapture, __in LPCDSCBUFFERDESC pcDSCBufferDesc) PURE; dCapture, _In_ LPCDSCBUFFERDESC pcDSCBufferDesc) PURE;
STDMETHOD(Lock) (THIS_ DWORD dwOffset, DWORD dwBytes, STDMETHOD(Lock) (THIS_ DWORD dwOffset, DWORD dwBytes,
__deref_out_bcount(*pdwAudioBytes1) L _Outptr_result_bytebuffer_(*pdwAudioB
PVOID *ppvAudioPtr1, __out LPDWORD pdwAudioBytes1, ytes1) LPVOID *ppvAudioPtr1, _Out_ LPDWORD pdwAudioBytes1,
__deref_opt_out_bcount(*pdwAudioBytes _Outptr_opt_result_bytebuffer_(*pdwAu
2) LPVOID *ppvAudioPtr2, __out_opt LPDWORD pdwAudioBytes2, DWORD dwFlags) PURE; dioBytes2) LPVOID *ppvAudioPtr2, _Out_opt_ LPDWORD pdwAudioBytes2, DWORD dwFlags
) PURE;
STDMETHOD(Start) (THIS_ DWORD dwFlags) PURE; STDMETHOD(Start) (THIS_ DWORD dwFlags) PURE;
STDMETHOD(Stop) (THIS) PURE; STDMETHOD(Stop) (THIS) PURE;
STDMETHOD(Unlock) (THIS_ __in_bcount(dwAudioBytes1) LPVOID pvA STDMETHOD(Unlock) (THIS_ _In_reads_bytes_(dwAudioBytes1) LPVOI
udioPtr1, DWORD dwAudioBytes1, D pvAudioPtr1, DWORD dwAudioBytes1,
__in_bcount_opt(dwAudioBytes2) LPVOID _In_reads_bytes_opt_(dwAudioBytes2) L
pvAudioPtr2, DWORD dwAudioBytes2) PURE; PVOID pvAudioPtr2, DWORD dwAudioBytes2) PURE;
// IDirectSoundCaptureBuffer8 methods // IDirectSoundCaptureBuffer8 methods
STDMETHOD(GetObjectInPath) (THIS_ __in REFGUID rguidObject, DWORD dwInd STDMETHOD(GetObjectInPath) (THIS_ _In_ REFGUID rguidObject, DWORD dwInd
ex, __in REFGUID rguidInterface, __deref_out LPVOID *ppObject) PURE; ex, _In_ REFGUID rguidInterface, _Outptr_ LPVOID *ppObject) PURE;
STDMETHOD(GetFXStatus) (DWORD dwEffectsCount, __out_ecount(dwEffect STDMETHOD(GetFXStatus) (DWORD dwEffectsCount, _Out_writes_(dwEffect
sCount) LPDWORD pdwFXStatus) PURE; sCount) LPDWORD pdwFXStatus) PURE;
}; };
#define IDirectSoundCaptureBuffer8_QueryInterface(p,a,b) IUnknown_Que ryInterface(p,a,b) #define IDirectSoundCaptureBuffer8_QueryInterface(p,a,b) IUnknown_Que ryInterface(p,a,b)
#define IDirectSoundCaptureBuffer8_AddRef(p) IUnknown_Add Ref(p) #define IDirectSoundCaptureBuffer8_AddRef(p) IUnknown_Add Ref(p)
#define IDirectSoundCaptureBuffer8_Release(p) IUnknown_Rel ease(p) #define IDirectSoundCaptureBuffer8_Release(p) IUnknown_Rel ease(p)
#define IDirectSoundCaptureBuffer8_GetCaps(p,a) IDirectSound CaptureBuffer_GetCaps(p,a) #define IDirectSoundCaptureBuffer8_GetCaps(p,a) IDirectSound CaptureBuffer_GetCaps(p,a)
#define IDirectSoundCaptureBuffer8_GetCurrentPosition(p,a,b) IDirectSound CaptureBuffer_GetCurrentPosition(p,a,b) #define IDirectSoundCaptureBuffer8_GetCurrentPosition(p,a,b) IDirectSound CaptureBuffer_GetCurrentPosition(p,a,b)
#define IDirectSoundCaptureBuffer8_GetFormat(p,a,b,c) IDirectSound CaptureBuffer_GetFormat(p,a,b,c) #define IDirectSoundCaptureBuffer8_GetFormat(p,a,b,c) IDirectSound CaptureBuffer_GetFormat(p,a,b,c)
#define IDirectSoundCaptureBuffer8_GetStatus(p,a) IDirectSound CaptureBuffer_GetStatus(p,a) #define IDirectSoundCaptureBuffer8_GetStatus(p,a) IDirectSound CaptureBuffer_GetStatus(p,a)
skipping to change at line 1170 skipping to change at line 1175
// //
DEFINE_GUID(IID_IDirectSoundNotify, 0xb0210783, 0x89cd, 0x11d0, 0xaf, 0x8, 0x0, 0xa0, 0xc9, 0x25, 0xcd, 0x16); DEFINE_GUID(IID_IDirectSoundNotify, 0xb0210783, 0x89cd, 0x11d0, 0xaf, 0x8, 0x0, 0xa0, 0xc9, 0x25, 0xcd, 0x16);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundNotify #define INTERFACE IDirectSoundNotify
DECLARE_INTERFACE_(IDirectSoundNotify, IUnknown) DECLARE_INTERFACE_(IDirectSoundNotify, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PURE; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PU RE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundNotify methods // IDirectSoundNotify methods
STDMETHOD(SetNotificationPositions) (THIS_ DWORD dwPositionNotifies, __in_ec ount(dwPositionNotifies) LPCDSBPOSITIONNOTIFY pcPositionNotifies) PURE; STDMETHOD(SetNotificationPositions) (THIS_ DWORD dwPositionNotifies, _In_rea ds_(dwPositionNotifies) LPCDSBPOSITIONNOTIFY pcPositionNotifies) PURE;
}; };
#define IDirectSoundNotify_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b) #define IDirectSoundNotify_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b)
#define IDirectSoundNotify_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundNotify_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundNotify_Release(p) IUnknown_Release(p) #define IDirectSoundNotify_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundNotify_SetNotificationPositions(p,a,b) (p)->lpVtbl->SetNoti ficationPositions(p,a,b) #define IDirectSoundNotify_SetNotificationPositions(p,a,b) (p)->lpVtbl->SetNoti ficationPositions(p,a,b)
#else // !defined(__cplusplus) || defined(CINTERFACE) #else // !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundNotify_SetNotificationPositions(p,a,b) (p)->SetNotification Positions(a,b) #define IDirectSoundNotify_SetNotificationPositions(p,a,b) (p)->SetNotification Positions(a,b)
skipping to change at line 1213 skipping to change at line 1218
#define KSPROPERTY_SUPPORT_SET 0x00000002 #define KSPROPERTY_SUPPORT_SET 0x00000002
DEFINE_GUID(IID_IKsPropertySet, 0x31efac30, 0x515c, 0x11d0, 0xa9, 0xaa, 0x00, 0x aa, 0x00, 0x61, 0xbe, 0x93); DEFINE_GUID(IID_IKsPropertySet, 0x31efac30, 0x515c, 0x11d0, 0xa9, 0xaa, 0x00, 0x aa, 0x00, 0x61, 0xbe, 0x93);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IKsPropertySet #define INTERFACE IKsPropertySet
DECLARE_INTERFACE_(IKsPropertySet, IUnknown) DECLARE_INTERFACE_(IKsPropertySet, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PURE; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IKsPropertySet methods // IKsPropertySet methods
STDMETHOD(Get) (THIS_ __in REFGUID rguidPropSet, ULONG ulId, __ STDMETHOD(Get) (THIS_ _In_ REFGUID rguidPropSet, ULONG ulId, _I
in_bcount(ulInstanceLength) LPVOID pInstanceData, ULONG ulInstanceLength, n_reads_bytes_opt_(ulInstanceLength) LPVOID pInstanceData, ULONG ulInstanceLengt
__out_bcount(ulDataLength) LPVOID pProper h,
tyData, ULONG ulDataLength, __out PULONG pulBytesReturned) PURE; _Out_writes_bytes_(ulDataLength) LPVOID p
STDMETHOD(Set) (THIS_ __in REFGUID rguidPropSet, ULONG ulId, __ PropertyData, ULONG ulDataLength, _Out_opt_ PULONG pulBytesReturned) PURE;
in_bcount(ulInstanceLength) LPVOID pInstanceData, ULONG ulInstanceLength, STDMETHOD(Set) (THIS_ _In_ REFGUID rguidPropSet, ULONG ulId, _I
__in_bcount(ulDataLength) LPVOID pPropert n_reads_bytes_opt_(ulInstanceLength) LPVOID pInstanceData, ULONG ulInstanceLeng
yData, ULONG ulDataLength) PURE; th,
STDMETHOD(QuerySupport) (THIS_ __in REFGUID rguidPropSet, ULONG ulId, __ _In_reads_bytes_(ulDataLength) LPVOID pPr
out PULONG pulTypeSupport) PURE; opertyData, ULONG ulDataLength) PURE;
STDMETHOD(QuerySupport) (THIS_ _In_ REFGUID rguidPropSet, ULONG ulId, _O
ut_ PULONG pulTypeSupport) PURE;
}; };
#define IKsPropertySet_QueryInterface(p,a,b) IUnknown_QueryInterface(p,a,b ) #define IKsPropertySet_QueryInterface(p,a,b) IUnknown_QueryInterface(p,a,b )
#define IKsPropertySet_AddRef(p) IUnknown_AddRef(p) #define IKsPropertySet_AddRef(p) IUnknown_AddRef(p)
#define IKsPropertySet_Release(p) IUnknown_Release(p) #define IKsPropertySet_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IKsPropertySet_Get(p,a,b,c,d,e,f,g) (p)->lpVtbl->Get(p,a,b,c,d,e, f,g) #define IKsPropertySet_Get(p,a,b,c,d,e,f,g) (p)->lpVtbl->Get(p,a,b,c,d,e, f,g)
#define IKsPropertySet_Set(p,a,b,c,d,e,f) (p)->lpVtbl->Set(p,a,b,c,d,e, f) #define IKsPropertySet_Set(p,a,b,c,d,e,f) (p)->lpVtbl->Set(p,a,b,c,d,e, f)
#define IKsPropertySet_QuerySupport(p,a,b,c) (p)->lpVtbl->QuerySupport(p,a ,b,c) #define IKsPropertySet_QuerySupport(p,a,b,c) (p)->lpVtbl->QuerySupport(p,a ,b,c)
skipping to change at line 1269 skipping to change at line 1274
#define DSFXGARGLE_RATEHZ_MIN 1 #define DSFXGARGLE_RATEHZ_MIN 1
#define DSFXGARGLE_RATEHZ_MAX 1000 #define DSFXGARGLE_RATEHZ_MAX 1000
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundFXGargle #define INTERFACE IDirectSoundFXGargle
DECLARE_INTERFACE_(IDirectSoundFXGargle, IUnknown) DECLARE_INTERFACE_(IDirectSoundFXGargle, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundFXGargle methods // IDirectSoundFXGargle methods
STDMETHOD(SetAllParameters) (THIS_ __in LPCDSFXGargle pcDsFxGargle) PURE STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDSFXGargle pcDsFxGargle) PURE
; ;
STDMETHOD(GetAllParameters) (THIS_ __out LPDSFXGargle pDsFxGargle) PURE; STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDSFXGargle pDsFxGargle) PURE;
}; };
#define IDirectSoundFXGargle_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b) #define IDirectSoundFXGargle_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b)
#define IDirectSoundFXGargle_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundFXGargle_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundFXGargle_Release(p) IUnknown_Release(p) #define IDirectSoundFXGargle_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundFXGargle_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a) #define IDirectSoundFXGargle_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a)
#define IDirectSoundFXGargle_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a) #define IDirectSoundFXGargle_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a)
#else // !defined(__cplusplus) || defined(CINTERFACE) #else // !defined(__cplusplus) || defined(CINTERFACE)
skipping to change at line 1337 skipping to change at line 1342
#define DSFXCHORUS_PHASE_ZERO 2 #define DSFXCHORUS_PHASE_ZERO 2
#define DSFXCHORUS_PHASE_90 3 #define DSFXCHORUS_PHASE_90 3
#define DSFXCHORUS_PHASE_180 4 #define DSFXCHORUS_PHASE_180 4
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundFXChorus #define INTERFACE IDirectSoundFXChorus
DECLARE_INTERFACE_(IDirectSoundFXChorus, IUnknown) DECLARE_INTERFACE_(IDirectSoundFXChorus, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundFXChorus methods // IDirectSoundFXChorus methods
STDMETHOD(SetAllParameters) (THIS_ __in LPCDSFXChorus pcDsFxChorus) PURE STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDSFXChorus pcDsFxChorus) PURE
; ;
STDMETHOD(GetAllParameters) (THIS_ __out LPDSFXChorus pDsFxChorus) PURE; STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDSFXChorus pDsFxChorus) PURE;
}; };
#define IDirectSoundFXChorus_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b) #define IDirectSoundFXChorus_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b)
#define IDirectSoundFXChorus_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundFXChorus_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundFXChorus_Release(p) IUnknown_Release(p) #define IDirectSoundFXChorus_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundFXChorus_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a) #define IDirectSoundFXChorus_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a)
#define IDirectSoundFXChorus_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a) #define IDirectSoundFXChorus_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a)
#else // !defined(__cplusplus) || defined(CINTERFACE) #else // !defined(__cplusplus) || defined(CINTERFACE)
skipping to change at line 1405 skipping to change at line 1410
#define DSFXFLANGER_PHASE_ZERO 2 #define DSFXFLANGER_PHASE_ZERO 2
#define DSFXFLANGER_PHASE_90 3 #define DSFXFLANGER_PHASE_90 3
#define DSFXFLANGER_PHASE_180 4 #define DSFXFLANGER_PHASE_180 4
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundFXFlanger #define INTERFACE IDirectSoundFXFlanger
DECLARE_INTERFACE_(IDirectSoundFXFlanger, IUnknown) DECLARE_INTERFACE_(IDirectSoundFXFlanger, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundFXFlanger methods // IDirectSoundFXFlanger methods
STDMETHOD(SetAllParameters) (THIS_ __in LPCDSFXFlanger pcDsFxFlanger) PU STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDSFXFlanger pcDsFxFlanger) PU
RE; RE;
STDMETHOD(GetAllParameters) (THIS_ __out LPDSFXFlanger pDsFxFlanger) PUR STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDSFXFlanger pDsFxFlanger) PUR
E; E;
}; };
#define IDirectSoundFXFlanger_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b) #define IDirectSoundFXFlanger_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b)
#define IDirectSoundFXFlanger_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundFXFlanger_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundFXFlanger_Release(p) IUnknown_Release(p) #define IDirectSoundFXFlanger_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundFXFlanger_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a) #define IDirectSoundFXFlanger_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a)
#define IDirectSoundFXFlanger_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a) #define IDirectSoundFXFlanger_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a)
#else // !defined(__cplusplus) || defined(CINTERFACE) #else // !defined(__cplusplus) || defined(CINTERFACE)
skipping to change at line 1460 skipping to change at line 1465
#define DSFXECHO_RIGHTDELAY_MAX 2000.0f #define DSFXECHO_RIGHTDELAY_MAX 2000.0f
#define DSFXECHO_PANDELAY_MIN 0 #define DSFXECHO_PANDELAY_MIN 0
#define DSFXECHO_PANDELAY_MAX 1 #define DSFXECHO_PANDELAY_MAX 1
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundFXEcho #define INTERFACE IDirectSoundFXEcho
DECLARE_INTERFACE_(IDirectSoundFXEcho, IUnknown) DECLARE_INTERFACE_(IDirectSoundFXEcho, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundFXEcho methods // IDirectSoundFXEcho methods
STDMETHOD(SetAllParameters) (THIS_ __in LPCDSFXEcho pcDsFxEcho) PURE; STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDSFXEcho pcDsFxEcho) PURE;
STDMETHOD(GetAllParameters) (THIS_ __out LPDSFXEcho pDsFxEcho) PURE; STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDSFXEcho pDsFxEcho) PURE;
}; };
#define IDirectSoundFXEcho_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b) #define IDirectSoundFXEcho_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b)
#define IDirectSoundFXEcho_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundFXEcho_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundFXEcho_Release(p) IUnknown_Release(p) #define IDirectSoundFXEcho_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundFXEcho_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a) #define IDirectSoundFXEcho_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a)
#define IDirectSoundFXEcho_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a) #define IDirectSoundFXEcho_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a)
#else // !defined(__cplusplus) || defined(CINTERFACE) #else // !defined(__cplusplus) || defined(CINTERFACE)
skipping to change at line 1515 skipping to change at line 1520
#define DSFXDISTORTION_POSTEQBANDWIDTH_MAX 8000.0f #define DSFXDISTORTION_POSTEQBANDWIDTH_MAX 8000.0f
#define DSFXDISTORTION_PRELOWPASSCUTOFF_MIN 100.0f #define DSFXDISTORTION_PRELOWPASSCUTOFF_MIN 100.0f
#define DSFXDISTORTION_PRELOWPASSCUTOFF_MAX 8000.0f #define DSFXDISTORTION_PRELOWPASSCUTOFF_MAX 8000.0f
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundFXDistortion #define INTERFACE IDirectSoundFXDistortion
DECLARE_INTERFACE_(IDirectSoundFXDistortion, IUnknown) DECLARE_INTERFACE_(IDirectSoundFXDistortion, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundFXDistortion methods // IDirectSoundFXDistortion methods
STDMETHOD(SetAllParameters) (THIS_ __in LPCDSFXDistortion pcDsFxDistorti STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDSFXDistortion pcDsFxDistorti
on) PURE; on) PURE;
STDMETHOD(GetAllParameters) (THIS_ __out LPDSFXDistortion pDsFxDistortio STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDSFXDistortion pDsFxDistortio
n) PURE; n) PURE;
}; };
#define IDirectSoundFXDistortion_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b) #define IDirectSoundFXDistortion_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b)
#define IDirectSoundFXDistortion_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundFXDistortion_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundFXDistortion_Release(p) IUnknown_Release(p) #define IDirectSoundFXDistortion_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundFXDistortion_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a) #define IDirectSoundFXDistortion_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a)
#define IDirectSoundFXDistortion_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a) #define IDirectSoundFXDistortion_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a)
#else // !defined(__cplusplus) || defined(CINTERFACE) #else // !defined(__cplusplus) || defined(CINTERFACE)
skipping to change at line 1573 skipping to change at line 1578
#define DSFXCOMPRESSOR_RATIO_MAX 100.0f #define DSFXCOMPRESSOR_RATIO_MAX 100.0f
#define DSFXCOMPRESSOR_PREDELAY_MIN 0.0f #define DSFXCOMPRESSOR_PREDELAY_MIN 0.0f
#define DSFXCOMPRESSOR_PREDELAY_MAX 4.0f #define DSFXCOMPRESSOR_PREDELAY_MAX 4.0f
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundFXCompressor #define INTERFACE IDirectSoundFXCompressor
DECLARE_INTERFACE_(IDirectSoundFXCompressor, IUnknown) DECLARE_INTERFACE_(IDirectSoundFXCompressor, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundFXCompressor methods // IDirectSoundFXCompressor methods
STDMETHOD(SetAllParameters) (THIS_ __in LPCDSFXCompressor pcDsFxCompress STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDSFXCompressor pcDsFxCompress
or) PURE; or) PURE;
STDMETHOD(GetAllParameters) (THIS_ __out LPDSFXCompressor pDsFxCompresso STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDSFXCompressor pDsFxCompresso
r) PURE; r) PURE;
}; };
#define IDirectSoundFXCompressor_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b) #define IDirectSoundFXCompressor_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b)
#define IDirectSoundFXCompressor_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundFXCompressor_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundFXCompressor_Release(p) IUnknown_Release(p) #define IDirectSoundFXCompressor_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundFXCompressor_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a) #define IDirectSoundFXCompressor_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a)
#define IDirectSoundFXCompressor_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a) #define IDirectSoundFXCompressor_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a)
#else // !defined(__cplusplus) || defined(CINTERFACE) #else // !defined(__cplusplus) || defined(CINTERFACE)
skipping to change at line 1622 skipping to change at line 1627
#define DSFXPARAMEQ_BANDWIDTH_MAX 36.0f #define DSFXPARAMEQ_BANDWIDTH_MAX 36.0f
#define DSFXPARAMEQ_GAIN_MIN -15.0f #define DSFXPARAMEQ_GAIN_MIN -15.0f
#define DSFXPARAMEQ_GAIN_MAX 15.0f #define DSFXPARAMEQ_GAIN_MAX 15.0f
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundFXParamEq #define INTERFACE IDirectSoundFXParamEq
DECLARE_INTERFACE_(IDirectSoundFXParamEq, IUnknown) DECLARE_INTERFACE_(IDirectSoundFXParamEq, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundFXParamEq methods // IDirectSoundFXParamEq methods
STDMETHOD(SetAllParameters) (THIS_ __in LPCDSFXParamEq pcDsFxParamEq) PU STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDSFXParamEq pcDsFxParamEq) PU
RE; RE;
STDMETHOD(GetAllParameters) (THIS_ __out LPDSFXParamEq pDsFxParamEq) PUR STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDSFXParamEq pDsFxParamEq) PUR
E; E;
}; };
#define IDirectSoundFXParamEq_QueryInterface(p,a,b) IUnknown_QueryInterface (p,a,b) #define IDirectSoundFXParamEq_QueryInterface(p,a,b) IUnknown_QueryInterface (p,a,b)
#define IDirectSoundFXParamEq_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundFXParamEq_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundFXParamEq_Release(p) IUnknown_Release(p) #define IDirectSoundFXParamEq_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundFXParamEq_SetAllParameters(p,a) (p)->lpVtbl->SetAllPara meters(p,a) #define IDirectSoundFXParamEq_SetAllParameters(p,a) (p)->lpVtbl->SetAllPara meters(p,a)
#define IDirectSoundFXParamEq_GetAllParameters(p,a) (p)->lpVtbl->GetAllPara meters(p,a) #define IDirectSoundFXParamEq_GetAllParameters(p,a) (p)->lpVtbl->GetAllPara meters(p,a)
#else // !defined(__cplusplus) || defined(CINTERFACE) #else // !defined(__cplusplus) || defined(CINTERFACE)
skipping to change at line 1725 skipping to change at line 1730
#define DSFX_I3DL2REVERB_QUALITY_MIN 0 #define DSFX_I3DL2REVERB_QUALITY_MIN 0
#define DSFX_I3DL2REVERB_QUALITY_MAX 3 #define DSFX_I3DL2REVERB_QUALITY_MAX 3
#define DSFX_I3DL2REVERB_QUALITY_DEFAULT 2 #define DSFX_I3DL2REVERB_QUALITY_DEFAULT 2
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundFXI3DL2Reverb #define INTERFACE IDirectSoundFXI3DL2Reverb
DECLARE_INTERFACE_(IDirectSoundFXI3DL2Reverb, IUnknown) DECLARE_INTERFACE_(IDirectSoundFXI3DL2Reverb, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundFXI3DL2Reverb methods // IDirectSoundFXI3DL2Reverb methods
STDMETHOD(SetAllParameters) (THIS_ __in LPCDSFXI3DL2Reverb pcDsFxI3DL2Re STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDSFXI3DL2Reverb pcDsFxI3DL2Re
verb) PURE; verb) PURE;
STDMETHOD(GetAllParameters) (THIS_ __out LPDSFXI3DL2Reverb pDsFxI3DL2Rev STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDSFXI3DL2Reverb pDsFxI3DL2Rev
erb) PURE; erb) PURE;
STDMETHOD(SetPreset) (THIS_ DWORD dwPreset) PURE; STDMETHOD(SetPreset) (THIS_ DWORD dwPreset) PURE;
STDMETHOD(GetPreset) (THIS_ __out LPDWORD pdwPreset) PURE; STDMETHOD(GetPreset) (THIS_ _Out_ LPDWORD pdwPreset) PURE;
STDMETHOD(SetQuality) (THIS_ LONG lQuality) PURE; STDMETHOD(SetQuality) (THIS_ LONG lQuality) PURE;
STDMETHOD(GetQuality) (THIS_ __out LONG *plQuality) PURE; STDMETHOD(GetQuality) (THIS_ _Out_ LONG *plQuality) PURE;
}; };
#define IDirectSoundFXI3DL2Reverb_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b) #define IDirectSoundFXI3DL2Reverb_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b)
#define IDirectSoundFXI3DL2Reverb_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundFXI3DL2Reverb_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundFXI3DL2Reverb_Release(p) IUnknown_Release(p) #define IDirectSoundFXI3DL2Reverb_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundFXI3DL2Reverb_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a) #define IDirectSoundFXI3DL2Reverb_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a)
#define IDirectSoundFXI3DL2Reverb_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a) #define IDirectSoundFXI3DL2Reverb_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a)
#define IDirectSoundFXI3DL2Reverb_SetPreset(p,a) (p)->lpVtbl->SetPres et(p,a) #define IDirectSoundFXI3DL2Reverb_SetPreset(p,a) (p)->lpVtbl->SetPres et(p,a)
skipping to change at line 1789 skipping to change at line 1794
#define DSFX_WAVESREVERB_HIGHFREQRTRATIO_MIN 0.001f #define DSFX_WAVESREVERB_HIGHFREQRTRATIO_MIN 0.001f
#define DSFX_WAVESREVERB_HIGHFREQRTRATIO_MAX 0.999f #define DSFX_WAVESREVERB_HIGHFREQRTRATIO_MAX 0.999f
#define DSFX_WAVESREVERB_HIGHFREQRTRATIO_DEFAULT 0.001f #define DSFX_WAVESREVERB_HIGHFREQRTRATIO_DEFAULT 0.001f
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundFXWavesReverb #define INTERFACE IDirectSoundFXWavesReverb
DECLARE_INTERFACE_(IDirectSoundFXWavesReverb, IUnknown) DECLARE_INTERFACE_(IDirectSoundFXWavesReverb, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundFXWavesReverb methods // IDirectSoundFXWavesReverb methods
STDMETHOD(SetAllParameters) (THIS_ __in LPCDSFXWavesReverb pcDsFxWavesRe STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDSFXWavesReverb pcDsFxWavesRe
verb) PURE; verb) PURE;
STDMETHOD(GetAllParameters) (THIS_ __out LPDSFXWavesReverb pDsFxWavesRev STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDSFXWavesReverb pDsFxWavesRev
erb) PURE; erb) PURE;
}; };
#define IDirectSoundFXWavesReverb_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b) #define IDirectSoundFXWavesReverb_QueryInterface(p,a,b) IUnknown_QueryInterf ace(p,a,b)
#define IDirectSoundFXWavesReverb_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundFXWavesReverb_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundFXWavesReverb_Release(p) IUnknown_Release(p) #define IDirectSoundFXWavesReverb_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundFXWavesReverb_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a) #define IDirectSoundFXWavesReverb_SetAllParameters(p,a) (p)->lpVtbl->SetAllP arameters(p,a)
#define IDirectSoundFXWavesReverb_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a) #define IDirectSoundFXWavesReverb_GetAllParameters(p,a) (p)->lpVtbl->GetAllP arameters(p,a)
#else // !defined(__cplusplus) || defined(CINTERFACE) #else // !defined(__cplusplus) || defined(CINTERFACE)
skipping to change at line 1842 skipping to change at line 1847
#define DSCFX_AEC_STATUS_HISTORY_CONTINUOUSLY_CONVERGED 0x1 #define DSCFX_AEC_STATUS_HISTORY_CONTINUOUSLY_CONVERGED 0x1
#define DSCFX_AEC_STATUS_HISTORY_PREVIOUSLY_DIVERGED 0x2 #define DSCFX_AEC_STATUS_HISTORY_PREVIOUSLY_DIVERGED 0x2
#define DSCFX_AEC_STATUS_CURRENTLY_CONVERGED 0x8 #define DSCFX_AEC_STATUS_CURRENTLY_CONVERGED 0x8
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundCaptureFXAec #define INTERFACE IDirectSoundCaptureFXAec
DECLARE_INTERFACE_(IDirectSoundCaptureFXAec, IUnknown) DECLARE_INTERFACE_(IDirectSoundCaptureFXAec, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundCaptureFXAec methods // IDirectSoundCaptureFXAec methods
STDMETHOD(SetAllParameters) (THIS_ __in LPCDSCFXAec pDscFxAec) PURE; STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDSCFXAec pDscFxAec) PURE;
STDMETHOD(GetAllParameters) (THIS_ __out LPDSCFXAec pDscFxAec) PURE; STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDSCFXAec pDscFxAec) PURE;
STDMETHOD(GetStatus) (THIS_ __out LPDWORD pdwStatus) PURE; STDMETHOD(GetStatus) (THIS_ _Out_ LPDWORD pdwStatus) PURE;
STDMETHOD(Reset) (THIS) PURE; STDMETHOD(Reset) (THIS) PURE;
}; };
#define IDirectSoundCaptureFXAec_QueryInterface(p,a,b) IUnknown_QueryInterfa ce(p,a,b) #define IDirectSoundCaptureFXAec_QueryInterface(p,a,b) IUnknown_QueryInterfa ce(p,a,b)
#define IDirectSoundCaptureFXAec_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundCaptureFXAec_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundCaptureFXAec_Release(p) IUnknown_Release(p) #define IDirectSoundCaptureFXAec_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundCaptureFXAec_SetAllParameters(p,a) (p)->lpVtbl->SetAllPa rameters(p,a) #define IDirectSoundCaptureFXAec_SetAllParameters(p,a) (p)->lpVtbl->SetAllPa rameters(p,a)
#define IDirectSoundCaptureFXAec_GetAllParameters(p,a) (p)->lpVtbl->GetAllPa rameters(p,a) #define IDirectSoundCaptureFXAec_GetAllParameters(p,a) (p)->lpVtbl->GetAllPa rameters(p,a)
skipping to change at line 1884 skipping to change at line 1889
} DSCFXNoiseSuppress, *LPDSCFXNoiseSuppress; } DSCFXNoiseSuppress, *LPDSCFXNoiseSuppress;
typedef const DSCFXNoiseSuppress *LPCDSCFXNoiseSuppress; typedef const DSCFXNoiseSuppress *LPCDSCFXNoiseSuppress;
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundCaptureFXNoiseSuppress #define INTERFACE IDirectSoundCaptureFXNoiseSuppress
DECLARE_INTERFACE_(IDirectSoundCaptureFXNoiseSuppress, IUnknown) DECLARE_INTERFACE_(IDirectSoundCaptureFXNoiseSuppress, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PUR E; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundCaptureFXNoiseSuppress methods // IDirectSoundCaptureFXNoiseSuppress methods
STDMETHOD(SetAllParameters) (THIS_ __in LPCDSCFXNoiseSuppress pcDscFxNoi STDMETHOD(SetAllParameters) (THIS_ _In_ LPCDSCFXNoiseSuppress pcDscFxNoi
seSuppress) PURE; seSuppress) PURE;
STDMETHOD(GetAllParameters) (THIS_ __out LPDSCFXNoiseSuppress pDscFxNois STDMETHOD(GetAllParameters) (THIS_ _Out_ LPDSCFXNoiseSuppress pDscFxNois
eSuppress) PURE; eSuppress) PURE;
STDMETHOD(Reset) (THIS) PURE; STDMETHOD(Reset) (THIS) PURE;
}; };
#define IDirectSoundCaptureFXNoiseSuppress_QueryInterface(p,a,b) IUnknown_Qu eryInterface(p,a,b) #define IDirectSoundCaptureFXNoiseSuppress_QueryInterface(p,a,b) IUnknown_Qu eryInterface(p,a,b)
#define IDirectSoundCaptureFXNoiseSuppress_AddRef(p) IUnknown_Ad dRef(p) #define IDirectSoundCaptureFXNoiseSuppress_AddRef(p) IUnknown_Ad dRef(p)
#define IDirectSoundCaptureFXNoiseSuppress_Release(p) IUnknown_Re lease(p) #define IDirectSoundCaptureFXNoiseSuppress_Release(p) IUnknown_Re lease(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundCaptureFXNoiseSuppress_SetAllParameters(p,a) (p)->lpVtbl ->SetAllParameters(p,a) #define IDirectSoundCaptureFXNoiseSuppress_SetAllParameters(p,a) (p)->lpVtbl ->SetAllParameters(p,a)
#define IDirectSoundCaptureFXNoiseSuppress_GetAllParameters(p,a) (p)->lpVtbl ->GetAllParameters(p,a) #define IDirectSoundCaptureFXNoiseSuppress_GetAllParameters(p,a) (p)->lpVtbl ->GetAllParameters(p,a)
skipping to change at line 1928 skipping to change at line 1933
typedef struct IDirectSoundFullDuplex *LPDIRECTSOUNDFULLDUPLEX; typedef struct IDirectSoundFullDuplex *LPDIRECTSOUNDFULLDUPLEX;
DEFINE_GUID(IID_IDirectSoundFullDuplex, 0xedcb4c7a, 0xdaab, 0x4216, 0xa4, 0x2e, 0x6c, 0x50, 0x59, 0x6d, 0xdc, 0x1d); DEFINE_GUID(IID_IDirectSoundFullDuplex, 0xedcb4c7a, 0xdaab, 0x4216, 0xa4, 0x2e, 0x6c, 0x50, 0x59, 0x6d, 0xdc, 0x1d);
#undef INTERFACE #undef INTERFACE
#define INTERFACE IDirectSoundFullDuplex #define INTERFACE IDirectSoundFullDuplex
DECLARE_INTERFACE_(IDirectSoundFullDuplex, IUnknown) DECLARE_INTERFACE_(IDirectSoundFullDuplex, IUnknown)
{ {
// IUnknown methods // IUnknown methods
STDMETHOD(QueryInterface) (THIS_ __in REFIID, __deref_out LPVOID*) PURE; STDMETHOD(QueryInterface) (THIS_ _In_ REFIID, _Outptr_ LPVOID*) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE;
// IDirectSoundFullDuplex methods // IDirectSoundFullDuplex methods
STDMETHOD(Initialize) (THIS_ __in LPCGUID pCaptureGuid, __in LPCGUID pRe STDMETHOD(Initialize) (THIS_ _In_ LPCGUID pCaptureGuid, _In_ LPCGUID pRe
nderGuid, __in LPCDSCBUFFERDESC lpDscBufferDesc, __in LPCDSBUFFERDESC lpDsBuffer nderGuid, _In_ LPCDSCBUFFERDESC lpDscBufferDesc, _In_ LPCDSBUFFERDESC lpDsBuffer
Desc, HWND hWnd, DWORD dwLevel, Desc, HWND hWnd, DWORD dwLevel,
__deref_out LPLPDIRECTSOUNDCAPTUREBUFFER8 lplpDir _Outptr_ LPLPDIRECTSOUNDCAPTUREBUFFER8 lplpDirect
ectSoundCaptureBuffer8, __deref_out LPLPDIRECTSOUNDBUFFER8 lplpDirectSoundBuffer SoundCaptureBuffer8, _Outptr_ LPLPDIRECTSOUNDBUFFER8 lplpDirectSoundBuffer8) PUR
8) PURE; E;
}; };
#define IDirectSoundFullDuplex_QueryInterface(p,a,b) IUnknown_QueryInterface( p,a,b) #define IDirectSoundFullDuplex_QueryInterface(p,a,b) IUnknown_QueryInterface( p,a,b)
#define IDirectSoundFullDuplex_AddRef(p) IUnknown_AddRef(p) #define IDirectSoundFullDuplex_AddRef(p) IUnknown_AddRef(p)
#define IDirectSoundFullDuplex_Release(p) IUnknown_Release(p) #define IDirectSoundFullDuplex_Release(p) IUnknown_Release(p)
#if !defined(__cplusplus) || defined(CINTERFACE) #if !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundFullDuplex_Initialize(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->In itialize(p,a,b,c,d,e,f,g,h) #define IDirectSoundFullDuplex_Initialize(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->In itialize(p,a,b,c,d,e,f,g,h)
#else // !defined(__cplusplus) || defined(CINTERFACE) #else // !defined(__cplusplus) || defined(CINTERFACE)
#define IDirectSoundFullDuplex_Initialize(p,a,b,c,d,e,f,g,h) (p)->Initialize (a,b,c,d,e,f,g,h) #define IDirectSoundFullDuplex_Initialize(p,a,b,c,d,e,f,g,h) (p)->Initialize (a,b,c,d,e,f,g,h)
skipping to change at line 2376 skipping to change at line 2381
// System Noise Suppresion {5AB0882E-7274-4516-877D-4EEE99BA4FD0} // System Noise Suppresion {5AB0882E-7274-4516-877D-4EEE99BA4FD0}
DEFINE_GUID(GUID_DSCFX_SYSTEM_NS, 0x5ab0882e, 0x7274, 0x4516, 0x87, 0x7d, 0x4e, 0xee, 0x99, 0xba, 0x4f, 0xd0); DEFINE_GUID(GUID_DSCFX_SYSTEM_NS, 0x5ab0882e, 0x7274, 0x4516, 0x87, 0x7d, 0x4e, 0xee, 0x99, 0xba, 0x4f, 0xd0);
#endif // DIRECTSOUND_VERSION >= 0x0800 #endif // DIRECTSOUND_VERSION >= 0x0800
#endif // __DSOUND_INCLUDED__ #endif // __DSOUND_INCLUDED__
#ifdef __cplusplus #ifdef __cplusplus
}; };
#endif // __cplusplus #endif // __cplusplus
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
 End of changes. 77 change blocks. 
246 lines changed or deleted 257 lines changed or added

This html diff was produced by rfcdiff 1.41.