ReactOS 0.4.15-dev-7788-g1ad9096
dsound.h File Reference
#include <objbase.h>
#include <float.h>
Include dependency graph for dsound.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _D3DVECTOR
 
struct  _DSCAPS
 
struct  _DSBCAPS
 
struct  _DSEFFECTDESC
 
struct  _DSBUFFERDESC1
 
struct  _DSBUFFERDESC
 
struct  _DSBPOSITIONNOTIFY
 
struct  _DSCEFFECTDESC
 
struct  _DSCBUFFERDESC1
 
struct  _DSCBUFFERDESC
 
struct  _DSCCAPS
 
struct  _DSCBCAPS
 
struct  _DS3DLISTENER
 
struct  _DS3DBUFFER
 

Macros

#define DIRECTSOUND_VERSION   0x0900
 
#define COM_NO_WINDOWS_H
 
#define D3DCOLOR_DEFINED
 
#define D3DVECTOR_DEFINED
 
#define LPD3DVECTOR_DEFINED
 
#define DX_SHARED_DEFINES
 
#define IID_IDirectSoundNotify8   IID_IDirectSoundNotify
 
#define IID_IDirectSoundCapture8   IID_IDirectSoundCapture
 
#define IID_IDirectSoundFullDuplex8   IID_IDirectSoundFullDuplex
 
#define _FACDS   0x878
 
#define MAKE_DSHRESULT(code)   MAKE_HRESULT(1,_FACDS,code)
 
#define DS_OK   0
 
#define DS_NO_VIRTUALIZATION   MAKE_HRESULT(0, _FACDS, 10)
 
#define DS_INCOMPLETE   MAKE_HRESULT(0, _FACDS, 20)
 
#define DSERR_ALLOCATED   MAKE_DSHRESULT(10)
 
#define DSERR_CONTROLUNAVAIL   MAKE_DSHRESULT(30)
 
#define DSERR_INVALIDPARAM   E_INVALIDARG
 
#define DSERR_INVALIDCALL   MAKE_DSHRESULT(50)
 
#define DSERR_GENERIC   E_FAIL
 
#define DSERR_PRIOLEVELNEEDED   MAKE_DSHRESULT(70)
 
#define DSERR_OUTOFMEMORY   E_OUTOFMEMORY
 
#define DSERR_BADFORMAT   MAKE_DSHRESULT(100)
 
#define DSERR_UNSUPPORTED   E_NOTIMPL
 
#define DSERR_NODRIVER   MAKE_DSHRESULT(120)
 
#define DSERR_ALREADYINITIALIZED   MAKE_DSHRESULT(130)
 
#define DSERR_NOAGGREGATION   CLASS_E_NOAGGREGATION
 
#define DSERR_BUFFERLOST   MAKE_DSHRESULT(150)
 
#define DSERR_OTHERAPPHASPRIO   MAKE_DSHRESULT(160)
 
#define DSERR_UNINITIALIZED   MAKE_DSHRESULT(170)
 
#define DSERR_NOINTERFACE   E_NOINTERFACE
 
#define DSERR_ACCESSDENIED   E_ACCESSDENIED
 
#define DSERR_BUFFERTOOSMALL   MAKE_DSHRESULT(180)
 
#define DSERR_DS8_REQUIRED   MAKE_DSHRESULT(190)
 
#define DSERR_SENDLOOP   MAKE_DSHRESULT(200)
 
#define DSERR_BADSENDBUFFERGUID   MAKE_DSHRESULT(210)
 
#define DSERR_FXUNAVAILABLE   MAKE_DSHRESULT(220)
 
#define DSERR_OBJECTNOTFOUND   MAKE_DSHRESULT(4449)
 
#define DSCAPS_PRIMARYMONO   0x00000001
 
#define DSCAPS_PRIMARYSTEREO   0x00000002
 
#define DSCAPS_PRIMARY8BIT   0x00000004
 
#define DSCAPS_PRIMARY16BIT   0x00000008
 
#define DSCAPS_CONTINUOUSRATE   0x00000010
 
#define DSCAPS_EMULDRIVER   0x00000020
 
#define DSCAPS_CERTIFIED   0x00000040
 
#define DSCAPS_SECONDARYMONO   0x00000100
 
#define DSCAPS_SECONDARYSTEREO   0x00000200
 
#define DSCAPS_SECONDARY8BIT   0x00000400
 
#define DSCAPS_SECONDARY16BIT   0x00000800
 
#define DSSCL_NORMAL   1
 
#define DSSCL_PRIORITY   2
 
#define DSSCL_EXCLUSIVE   3
 
#define DSSCL_WRITEPRIMARY   4
 
#define DSBPLAY_LOOPING   0x00000001
 
#define DSBPLAY_LOCHARDWARE   0x00000002
 
#define DSBPLAY_LOCSOFTWARE   0x00000004
 
#define DSBPLAY_TERMINATEBY_TIME   0x00000008
 
#define DSBPLAY_TERMINATEBY_DISTANCE   0x000000010
 
#define DSBPLAY_TERMINATEBY_PRIORITY   0x000000020
 
#define DSBSTATUS_PLAYING   0x00000001
 
#define DSBSTATUS_BUFFERLOST   0x00000002
 
#define DSBSTATUS_LOOPING   0x00000004
 
#define DSBSTATUS_LOCHARDWARE   0x00000008
 
#define DSBSTATUS_LOCSOFTWARE   0x00000010
 
#define DSBSTATUS_TERMINATED   0x00000020
 
#define DSBLOCK_FROMWRITECURSOR   0x00000001
 
#define DSBLOCK_ENTIREBUFFER   0x00000002
 
#define DSBCAPS_PRIMARYBUFFER   0x00000001
 
#define DSBCAPS_STATIC   0x00000002
 
#define DSBCAPS_LOCHARDWARE   0x00000004
 
#define DSBCAPS_LOCSOFTWARE   0x00000008
 
#define DSBCAPS_CTRL3D   0x00000010
 
#define DSBCAPS_CTRLFREQUENCY   0x00000020
 
#define DSBCAPS_CTRLPAN   0x00000040
 
#define DSBCAPS_CTRLVOLUME   0x00000080
 
#define DSBCAPS_CTRLDEFAULT   0x000000E0 /* Pan + volume + frequency. */
 
#define DSBCAPS_CTRLPOSITIONNOTIFY   0x00000100
 
#define DSBCAPS_CTRLFX   0x00000200
 
#define DSBCAPS_CTRLALL   0x000001F0 /* All control capabilities */
 
#define DSBCAPS_STICKYFOCUS   0x00004000
 
#define DSBCAPS_GLOBALFOCUS   0x00008000
 
#define DSBCAPS_GETCURRENTPOSITION2   0x00010000 /* More accurate play cursor under emulation*/
 
#define DSBCAPS_MUTE3DATMAXDISTANCE   0x00020000
 
#define DSBCAPS_LOCDEFER   0x00040000
 
#define DSBSIZE_MIN   4
 
#define DSBSIZE_MAX   0xFFFFFFF
 
#define DSBPAN_LEFT   -10000
 
#define DSBPAN_CENTER   0
 
#define DSBPAN_RIGHT   10000
 
#define DSBVOLUME_MAX   0
 
#define DSBVOLUME_MIN   -10000
 
#define DSBFREQUENCY_MIN   100
 
#define DSBFREQUENCY_MAX   200000
 
#define DSBFREQUENCY_ORIGINAL   0
 
#define DSBNOTIFICATIONS_MAX   100000U
 
#define DSSCL_NORMAL   1
 
#define DSSCL_PRIORITY   2
 
#define DSSCL_EXCLUSIVE   3
 
#define DSSCL_WRITEPRIMARY   4
 
#define DSFX_LOCHARDWARE   0x00000001
 
#define DSFX_LOCSOFTWARE   0x00000002
 
#define DSSPEAKER_DIRECTOUT   0
 
#define DSSPEAKER_HEADPHONE   1
 
#define DSSPEAKER_MONO   2
 
#define DSSPEAKER_QUAD   3
 
#define DSSPEAKER_STEREO   4
 
#define DSSPEAKER_SURROUND   5
 
#define DSSPEAKER_5POINT1   6
 
#define DSSPEAKER_5POINT1_BACK   6
 
#define DSSPEAKER_7POINT1   7
 
#define DSSPEAKER_7POINT1_WIDE   7
 
#define DSSPEAKER_7POINT1_SURROUND   8
 
#define DSSPEAKER_5POINT1_SURROUND   9
 
#define DSSPEAKER_GEOMETRY_MIN   0x00000005 /* 5 degrees */
 
#define DSSPEAKER_GEOMETRY_NARROW   0x0000000A /* 10 degrees */
 
#define DSSPEAKER_GEOMETRY_WIDE   0x00000014 /* 20 degrees */
 
#define DSSPEAKER_GEOMETRY_MAX   0x000000B4 /* 180 degrees */
 
#define DSSPEAKER_COMBINED(c, g)   ((DWORD)(((BYTE)(c)) | ((DWORD)((BYTE)(g))) << 16))
 
#define DSSPEAKER_CONFIG(a)   ((BYTE)(a))
 
#define DSSPEAKER_GEOMETRY(a)   ((BYTE)(((DWORD)(a) >> 16) & 0x00FF))
 
#define DS_CERTIFIED   0x00000000
 
#define DS_UNCERTIFIED   0x00000001
 
#define DSCFX_LOCHARDWARE   0x00000001
 
#define DSCFX_LOCSOFTWARE   0x00000002
 
#define DSCFXR_LOCHARDWARE   0x00000010
 
#define DSCFXR_LOCSOFTWARE   0x00000020
 
#define DSCCAPS_EMULDRIVER   DSCAPS_EMULDRIVER
 
#define DSCCAPS_CERTIFIED   DSCAPS_CERTIFIED
 
#define DSCCAPS_MULTIPLECAPTURE   0x00000001
 
#define DSCBCAPS_WAVEMAPPED   0x80000000
 
#define DSCBCAPS_CTRLFX   0x00000200
 
#define DSCBLOCK_ENTIREBUFFER   0x00000001
 
#define DSCBSTART_LOOPING   0x00000001
 
#define DSCBPN_OFFSET_STOP   0xffffffff
 
#define DSCBSTATUS_CAPTURING   0x00000001
 
#define DSCBSTATUS_LOOPING   0x00000002
 
#define __LPCGUID_DEFINED__
 
#define DirectSoundEnumerate   WINELIB_NAME_AW(DirectSoundEnumerate)
 
#define DirectSoundCaptureEnumerate   WINELIB_NAME_AW(DirectSoundCaptureEnumerate)
 
#define DirectSoundFullDuplexCreate8   DirectSoundFullDuplexCreate
 
#define INTERFACE   IDirectSound
 
#define IDirectSound_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectSound_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectSound_Release(p)   (p)->lpVtbl->Release(p)
 
#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_DuplicateSoundBuffer(p, a, b)   (p)->lpVtbl->DuplicateSoundBuffer(p,a,b)
 
#define IDirectSound_SetCooperativeLevel(p, a, b)   (p)->lpVtbl->SetCooperativeLevel(p,a,b)
 
#define IDirectSound_Compact(p)   (p)->lpVtbl->Compact(p)
 
#define IDirectSound_GetSpeakerConfig(p, a)   (p)->lpVtbl->GetSpeakerConfig(p,a)
 
#define IDirectSound_SetSpeakerConfig(p, a)   (p)->lpVtbl->SetSpeakerConfig(p,a)
 
#define IDirectSound_Initialize(p, a)   (p)->lpVtbl->Initialize(p,a)
 
#define INTERFACE   IDirectSound8
 
#define IDirectSound8_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectSound8_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectSound8_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectSound8_CreateSoundBuffer(p, a, b, c)   (p)->lpVtbl->CreateSoundBuffer(p,a,b,c)
 
#define IDirectSound8_GetCaps(p, a)   (p)->lpVtbl->GetCaps(p,a)
 
#define IDirectSound8_DuplicateSoundBuffer(p, a, b)   (p)->lpVtbl->DuplicateSoundBuffer(p,a,b)
 
#define IDirectSound8_SetCooperativeLevel(p, a, b)   (p)->lpVtbl->SetCooperativeLevel(p,a,b)
 
#define IDirectSound8_Compact(p)   (p)->lpVtbl->Compact(p)
 
#define IDirectSound8_GetSpeakerConfig(p, a)   (p)->lpVtbl->GetSpeakerConfig(p,a)
 
#define IDirectSound8_SetSpeakerConfig(p, a)   (p)->lpVtbl->SetSpeakerConfig(p,a)
 
#define IDirectSound8_Initialize(p, a)   (p)->lpVtbl->Initialize(p,a)
 
#define IDirectSound8_VerifyCertification(p, a)   (p)->lpVtbl->VerifyCertification(p,a)
 
#define INTERFACE   IDirectSoundBuffer
 
#define IDirectSoundBuffer_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectSoundBuffer_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectSoundBuffer_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectSoundBuffer_GetCaps(p, a)   (p)->lpVtbl->GetCaps(p,a)
 
#define IDirectSoundBuffer_GetCurrentPosition(p, a, b)   (p)->lpVtbl->GetCurrentPosition(p,a,b)
 
#define IDirectSoundBuffer_GetFormat(p, a, b, c)   (p)->lpVtbl->GetFormat(p,a,b,c)
 
#define IDirectSoundBuffer_GetVolume(p, a)   (p)->lpVtbl->GetVolume(p,a)
 
#define IDirectSoundBuffer_GetPan(p, a)   (p)->lpVtbl->GetPan(p,a)
 
#define IDirectSoundBuffer_GetFrequency(p, a)   (p)->lpVtbl->GetFrequency(p,a)
 
#define IDirectSoundBuffer_GetStatus(p, a)   (p)->lpVtbl->GetStatus(p,a)
 
#define IDirectSoundBuffer_Initialize(p, a, b)   (p)->lpVtbl->Initialize(p,a,b)
 
#define IDirectSoundBuffer_Lock(p, a, b, c, d, e, f, g)   (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
 
#define IDirectSoundBuffer_Play(p, a, b, c)   (p)->lpVtbl->Play(p,a,b,c)
 
#define IDirectSoundBuffer_SetCurrentPosition(p, a)   (p)->lpVtbl->SetCurrentPosition(p,a)
 
#define IDirectSoundBuffer_SetFormat(p, a)   (p)->lpVtbl->SetFormat(p,a)
 
#define IDirectSoundBuffer_SetVolume(p, a)   (p)->lpVtbl->SetVolume(p,a)
 
#define IDirectSoundBuffer_SetPan(p, a)   (p)->lpVtbl->SetPan(p,a)
 
#define IDirectSoundBuffer_SetFrequency(p, a)   (p)->lpVtbl->SetFrequency(p,a)
 
#define IDirectSoundBuffer_Stop(p)   (p)->lpVtbl->Stop(p)
 
#define IDirectSoundBuffer_Unlock(p, a, b, c, d)   (p)->lpVtbl->Unlock(p,a,b,c,d)
 
#define IDirectSoundBuffer_Restore(p)   (p)->lpVtbl->Restore(p)
 
#define INTERFACE   IDirectSoundBuffer8
 
#define IDirectSoundBuffer8_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectSoundBuffer8_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectSoundBuffer8_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectSoundBuffer8_GetCaps(p, a)   (p)->lpVtbl->GetCaps(p,a)
 
#define IDirectSoundBuffer8_GetCurrentPosition(p, a, b)   (p)->lpVtbl->GetCurrentPosition(p,a,b)
 
#define IDirectSoundBuffer8_GetFormat(p, a, b, c)   (p)->lpVtbl->GetFormat(p,a,b,c)
 
#define IDirectSoundBuffer8_GetVolume(p, a)   (p)->lpVtbl->GetVolume(p,a)
 
#define IDirectSoundBuffer8_GetPan(p, a)   (p)->lpVtbl->GetPan(p,a)
 
#define IDirectSoundBuffer8_GetFrequency(p, a)   (p)->lpVtbl->GetFrequency(p,a)
 
#define IDirectSoundBuffer8_GetStatus(p, a)   (p)->lpVtbl->GetStatus(p,a)
 
#define IDirectSoundBuffer8_Initialize(p, a, b)   (p)->lpVtbl->Initialize(p,a,b)
 
#define IDirectSoundBuffer8_Lock(p, a, b, c, d, e, f, g)   (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
 
#define IDirectSoundBuffer8_Play(p, a, b, c)   (p)->lpVtbl->Play(p,a,b,c)
 
#define IDirectSoundBuffer8_SetCurrentPosition(p, a)   (p)->lpVtbl->SetCurrentPosition(p,a)
 
#define IDirectSoundBuffer8_SetFormat(p, a)   (p)->lpVtbl->SetFormat(p,a)
 
#define IDirectSoundBuffer8_SetVolume(p, a)   (p)->lpVtbl->SetVolume(p,a)
 
#define IDirectSoundBuffer8_SetPan(p, a)   (p)->lpVtbl->SetPan(p,a)
 
#define IDirectSoundBuffer8_SetFrequency(p, a)   (p)->lpVtbl->SetFrequency(p,a)
 
#define IDirectSoundBuffer8_Stop(p)   (p)->lpVtbl->Stop(p)
 
#define IDirectSoundBuffer8_Unlock(p, a, b, c, d)   (p)->lpVtbl->Unlock(p,a,b,c,d)
 
#define IDirectSoundBuffer8_Restore(p)   (p)->lpVtbl->Restore(p)
 
#define IDirectSoundBuffer8_SetFX(p, a, b, c)   (p)->lpVtbl->SetFX(p,a,b,c)
 
#define IDirectSoundBuffer8_AcquireResources(p, a, b, c)   (p)->lpVtbl->AcquireResources(p,a,b,c)
 
#define IDirectSoundBuffer8_GetObjectInPath(p, a, b, c, d)   (p)->lpVtbl->GetObjectInPath(p,a,b,c,d)
 
#define INTERFACE   IDirectSoundCapture
 
#define IDirectSoundCapture_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectSoundCapture_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectSoundCapture_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectSoundCapture_CreateCaptureBuffer(p, a, b, c)   (p)->lpVtbl->CreateCaptureBuffer(p,a,b,c)
 
#define IDirectSoundCapture_GetCaps(p, a)   (p)->lpVtbl->GetCaps(p,a)
 
#define IDirectSoundCapture_Initialize(p, a)   (p)->lpVtbl->Initialize(p,a)
 
#define INTERFACE   IDirectSoundCaptureBuffer
 
#define IDirectSoundCaptureBuffer_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectSoundCaptureBuffer_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectSoundCaptureBuffer_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectSoundCaptureBuffer_GetCaps(p, a)   (p)->lpVtbl->GetCaps(p,a)
 
#define IDirectSoundCaptureBuffer_GetCurrentPosition(p, a, b)   (p)->lpVtbl->GetCurrentPosition(p,a,b)
 
#define IDirectSoundCaptureBuffer_GetFormat(p, a, b, c)   (p)->lpVtbl->GetFormat(p,a,b,c)
 
#define IDirectSoundCaptureBuffer_GetStatus(p, a)   (p)->lpVtbl->GetStatus(p,a)
 
#define IDirectSoundCaptureBuffer_Initialize(p, a, b)   (p)->lpVtbl->Initialize(p,a,b)
 
#define IDirectSoundCaptureBuffer_Lock(p, a, b, c, d, e, f, g)   (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
 
#define IDirectSoundCaptureBuffer_Start(p, a)   (p)->lpVtbl->Start(p,a)
 
#define IDirectSoundCaptureBuffer_Stop(p)   (p)->lpVtbl->Stop(p)
 
#define IDirectSoundCaptureBuffer_Unlock(p, a, b, c, d)   (p)->lpVtbl->Unlock(p,a,b,c,d)
 
#define INTERFACE   IDirectSoundCaptureBuffer8
 
#define IDirectSoundCaptureBuffer8_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectSoundCaptureBuffer8_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectSoundCaptureBuffer8_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectSoundCaptureBuffer8_GetCaps(p, a)   (p)->lpVtbl->GetCaps(p,a)
 
#define IDirectSoundCaptureBuffer8_GetCurrentPosition(p, a, b)   (p)->lpVtbl->GetCurrentPosition(p,a,b)
 
#define IDirectSoundCaptureBuffer8_GetFormat(p, a, b, c)   (p)->lpVtbl->GetFormat(p,a,b,c)
 
#define IDirectSoundCaptureBuffer8_GetStatus(p, a)   (p)->lpVtbl->GetStatus(p,a)
 
#define IDirectSoundCaptureBuffer8_Initialize(p, a, b)   (p)->lpVtbl->Initialize(p,a,b)
 
#define IDirectSoundCaptureBuffer8_Lock(p, a, b, c, d, e, f, g)   (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
 
#define IDirectSoundCaptureBuffer8_Start(p, a)   (p)->lpVtbl->Start(p,a)
 
#define IDirectSoundCaptureBuffer8_Stop(p)   (p)->lpVtbl->Stop(p)
 
#define IDirectSoundCaptureBuffer8_Unlock(p, a, b, c, d)   (p)->lpVtbl->Unlock(p,a,b,c,d)
 
#define IDirectSoundCaptureBuffer8_GetObjectInPath(p, a, b, c, d)   (p)->lpVtbl->GetObjectInPath(p,a,b,c,d)
 
#define IDirectSoundCaptureBuffer8_GetFXStatus(p, a, b)   (p)->lpVtbl->GetFXStatus(p,a,b)
 
#define WINE_NOBUFFER   0x80000000
 
#define DSBPN_OFFSETSTOP   -1
 
#define INTERFACE   IDirectSoundNotify
 
#define IDirectSoundNotify_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectSoundNotify_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectSoundNotify_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectSoundNotify_SetNotificationPositions(p, a, b)   (p)->lpVtbl->SetNotificationPositions(p,a,b)
 
#define DS3DMODE_NORMAL   0x00000000
 
#define DS3DMODE_HEADRELATIVE   0x00000001
 
#define DS3DMODE_DISABLE   0x00000002
 
#define DS3D_IMMEDIATE   0x00000000
 
#define DS3D_DEFERRED   0x00000001
 
#define DS3D_MINDISTANCEFACTOR   FLT_MIN
 
#define DS3D_MAXDISTANCEFACTOR   FLT_MAX
 
#define DS3D_DEFAULTDISTANCEFACTOR   1.0f
 
#define DS3D_MINROLLOFFFACTOR   0.0f
 
#define DS3D_MAXROLLOFFFACTOR   10.0f
 
#define DS3D_DEFAULTROLLOFFFACTOR   1.0f
 
#define DS3D_MINDOPPLERFACTOR   0.0f
 
#define DS3D_MAXDOPPLERFACTOR   10.0f
 
#define DS3D_DEFAULTDOPPLERFACTOR   1.0f
 
#define DS3D_DEFAULTMINDISTANCE   1.0f
 
#define DS3D_DEFAULTMAXDISTANCE   1000000000.0f
 
#define DS3D_MINCONEANGLE   0
 
#define DS3D_MAXCONEANGLE   360
 
#define DS3D_DEFAULTCONEANGLE   360
 
#define DS3D_DEFAULTCONEOUTSIDEVOLUME   DSBVOLUME_MAX
 
#define INTERFACE   IDirectSound3DListener
 
#define IDirectSound3DListener_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectSound3DListener_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectSound3DListener_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectSound3DListener_GetAllParameters(p, a)   (p)->lpVtbl->GetAllParameters(p,a)
 
#define IDirectSound3DListener_GetDistanceFactor(p, a)   (p)->lpVtbl->GetDistanceFactor(p,a)
 
#define IDirectSound3DListener_GetDopplerFactor(p, a)   (p)->lpVtbl->GetDopplerFactor(p,a)
 
#define IDirectSound3DListener_GetOrientation(p, a, b)   (p)->lpVtbl->GetOrientation(p,a,b)
 
#define IDirectSound3DListener_GetPosition(p, a)   (p)->lpVtbl->GetPosition(p,a)
 
#define IDirectSound3DListener_GetRolloffFactor(p, a)   (p)->lpVtbl->GetRolloffFactor(p,a)
 
#define IDirectSound3DListener_GetVelocity(p, a)   (p)->lpVtbl->GetVelocity(p,a)
 
#define IDirectSound3DListener_SetAllParameters(p, a, b)   (p)->lpVtbl->SetAllParameters(p,a,b)
 
#define IDirectSound3DListener_SetDistanceFactor(p, a, b)   (p)->lpVtbl->SetDistanceFactor(p,a,b)
 
#define IDirectSound3DListener_SetDopplerFactor(p, a, b)   (p)->lpVtbl->SetDopplerFactor(p,a,b)
 
#define IDirectSound3DListener_SetOrientation(p, a, b, c, d, e, f, g)   (p)->lpVtbl->SetOrientation(p,a,b,c,d,e,f,g)
 
#define IDirectSound3DListener_SetPosition(p, a, b, c, d)   (p)->lpVtbl->SetPosition(p,a,b,c,d)
 
#define IDirectSound3DListener_SetRolloffFactor(p, a, b)   (p)->lpVtbl->SetRolloffFactor(p,a,b)
 
#define IDirectSound3DListener_SetVelocity(p, a, b, c, d)   (p)->lpVtbl->SetVelocity(p,a,b,c,d)
 
#define IDirectSound3DListener_CommitDeferredSettings(p)   (p)->lpVtbl->CommitDeferredSettings(p)
 
#define INTERFACE   IDirectSound3DBuffer
 
#define IDirectSound3DBuffer_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectSound3DBuffer_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectSound3DBuffer_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectSound3DBuffer_GetAllParameters(p, a)   (p)->lpVtbl->GetAllParameters(p,a)
 
#define IDirectSound3DBuffer_GetConeAngles(p, a, b)   (p)->lpVtbl->GetConeAngles(p,a,b)
 
#define IDirectSound3DBuffer_GetConeOrientation(p, a)   (p)->lpVtbl->GetConeOrientation(p,a)
 
#define IDirectSound3DBuffer_GetConeOutsideVolume(p, a)   (p)->lpVtbl->GetConeOutsideVolume(p,a)
 
#define IDirectSound3DBuffer_GetMaxDistance(p, a)   (p)->lpVtbl->GetMaxDistance(p,a)
 
#define IDirectSound3DBuffer_GetMinDistance(p, a)   (p)->lpVtbl->GetMinDistance(p,a)
 
#define IDirectSound3DBuffer_GetMode(p, a)   (p)->lpVtbl->GetMode(p,a)
 
#define IDirectSound3DBuffer_GetPosition(p, a)   (p)->lpVtbl->GetPosition(p,a)
 
#define IDirectSound3DBuffer_GetVelocity(p, a)   (p)->lpVtbl->GetVelocity(p,a)
 
#define IDirectSound3DBuffer_SetAllParameters(p, a, b)   (p)->lpVtbl->SetAllParameters(p,a,b)
 
#define IDirectSound3DBuffer_SetConeAngles(p, a, b, c)   (p)->lpVtbl->SetConeAngles(p,a,b,c)
 
#define IDirectSound3DBuffer_SetConeOrientation(p, a, b, c, d)   (p)->lpVtbl->SetConeOrientation(p,a,b,c,d)
 
#define IDirectSound3DBuffer_SetConeOutsideVolume(p, a, b)   (p)->lpVtbl->SetConeOutsideVolume(p,a,b)
 
#define IDirectSound3DBuffer_SetMaxDistance(p, a, b)   (p)->lpVtbl->SetMaxDistance(p,a,b)
 
#define IDirectSound3DBuffer_SetMinDistance(p, a, b)   (p)->lpVtbl->SetMinDistance(p,a,b)
 
#define IDirectSound3DBuffer_SetMode(p, a, b)   (p)->lpVtbl->SetMode(p,a,b)
 
#define IDirectSound3DBuffer_SetPosition(p, a, b, c, d)   (p)->lpVtbl->SetPosition(p,a,b,c,d)
 
#define IDirectSound3DBuffer_SetVelocity(p, a, b, c, d)   (p)->lpVtbl->SetVelocity(p,a,b,c,d)
 
#define _IKsPropertySet_
 
#define KSPROPERTY_SUPPORT_GET   1
 
#define KSPROPERTY_SUPPORT_SET   2
 
#define INTERFACE   IKsPropertySet
 
#define IKsPropertySet_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IKsPropertySet_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IKsPropertySet_Release(p)   (p)->lpVtbl->Release(p)
 
#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_QuerySupport(p, a, b, c)   (p)->lpVtbl->QuerySupport(p,a,b,c)
 
#define INTERFACE   IDirectSoundFullDuplex
 
#define IDirectSoundFullDuplex_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectSoundFullDuplex_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectSoundFullDuplex_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectSoundFullDuplex_Initialize(p, a, b, c, d, e, f, g, h)   (p)->lpVtbl->Initialize(p,a,b,c,d,e,f,g,h)
 

Typedefs

typedef float D3DVALUE
 
typedef floatLPD3DVALUE
 
typedef DWORD D3DCOLOR
 
typedef DWORDLPD3DCOLOR
 
typedef struct _D3DVECTOR D3DVECTOR
 
typedef D3DVECTORLPD3DVECTOR
 
typedef struct IDirectSound * LPDIRECTSOUND
 
typedef struct IDirectSound ** LPLPDIRECTSOUND
 
typedef struct IDirectSound8 * LPDIRECTSOUND8
 
typedef struct IDirectSound8 ** LPLPDIRECTSOUND8
 
typedef struct IDirectSoundBuffer * LPDIRECTSOUNDBUFFER
 
typedef struct IDirectSoundBuffer ** LPLPDIRECTSOUNDBUFFER
 
typedef struct IDirectSoundBuffer8 * LPDIRECTSOUNDBUFFER8
 
typedef struct IDirectSoundBuffer8 ** LPLPDIRECTSOUNDBUFFER8
 
typedef struct IDirectSoundNotify * LPDIRECTSOUNDNOTIFY
 
typedef struct IDirectSoundNotify ** LPLPDIRECTSOUNDNOTIFY
 
typedef struct IDirectSound3DListener * LPDIRECTSOUND3DLISTENER
 
typedef struct IDirectSound3DListener ** LPLPDIRECTSOUND3DLISTENER
 
typedef struct IDirectSound3DBuffer * LPDIRECTSOUND3DBUFFER
 
typedef struct IDirectSound3DBuffer ** LPLPDIRECTSOUND3DBUFFER
 
typedef struct IDirectSoundCapture * LPDIRECTSOUNDCAPTURE
 
typedef struct IDirectSoundCapture ** LPLPDIRECTSOUNDCAPTURE
 
typedef struct IDirectSoundCapture IDirectSoundCapture8
 
typedef struct IDirectSoundCapture * LPDIRECTSOUNDCAPTURE8
 
typedef struct IDirectSoundCapture ** LPLPDIRECTSOUNDCAPTURE8
 
typedef struct IDirectSoundCaptureBuffer * LPDIRECTSOUNDCAPTUREBUFFER
 
typedef struct IDirectSoundCaptureBuffer ** LPLPDIRECTSOUNDCAPTUREBUFFER
 
typedef struct IDirectSoundCaptureBuffer8 * LPDIRECTSOUNDCAPTUREBUFFER8
 
typedef struct IDirectSoundCaptureBuffer8 ** LPLPDIRECTSOUNDCAPTUREBUFFER8
 
typedef struct IDirectSoundFullDuplex * LPDIRECTSOUNDFULLDUPLEX
 
typedef struct IDirectSoundFullDuplex ** LPLPDIRECTSOUNDFULLDUPLEX
 
typedef struct _DSCAPS DSCAPS
 
typedef struct _DSCAPSLPDSCAPS
 
typedef const DSCAPSLPCDSCAPS
 
typedef struct _DSBCAPS DSBCAPS
 
typedef struct _DSBCAPSLPDSBCAPS
 
typedef const DSBCAPSLPCDSBCAPS
 
typedef struct _DSEFFECTDESC DSEFFECTDESC
 
typedef struct _DSEFFECTDESCLPDSEFFECTDESC
 
typedef const DSEFFECTDESCLPCDSEFFECTDESC
 
typedef struct _DSBUFFERDESC1 DSBUFFERDESC1
 
typedef struct _DSBUFFERDESC1LPDSBUFFERDESC1
 
typedef const DSBUFFERDESC1LPCDSBUFFERDESC1
 
typedef struct _DSBUFFERDESC DSBUFFERDESC
 
typedef struct _DSBUFFERDESCLPDSBUFFERDESC
 
typedef const DSBUFFERDESCLPCDSBUFFERDESC
 
typedef struct _DSBPOSITIONNOTIFY DSBPOSITIONNOTIFY
 
typedef struct _DSBPOSITIONNOTIFYLPDSBPOSITIONNOTIFY
 
typedef const DSBPOSITIONNOTIFYLPCDSBPOSITIONNOTIFY
 
typedef struct _DSCEFFECTDESC DSCEFFECTDESC
 
typedef struct _DSCEFFECTDESCLPDSCEFFECTDESC
 
typedef const DSCEFFECTDESCLPCDSCEFFECTDESC
 
typedef struct _DSCBUFFERDESC1 DSCBUFFERDESC1
 
typedef struct _DSCBUFFERDESC1LPDSCBUFFERDESC1
 
typedef struct _DSCBUFFERDESC DSCBUFFERDESC
 
typedef struct _DSCBUFFERDESCLPDSCBUFFERDESC
 
typedef const DSCBUFFERDESCLPCDSCBUFFERDESC
 
typedef struct _DSCCAPS DSCCAPS
 
typedef struct _DSCCAPSLPDSCCAPS
 
typedef const DSCCAPSLPCDSCCAPS
 
typedef struct _DSCBCAPS DSCBCAPS
 
typedef struct _DSCBCAPSLPDSCBCAPS
 
typedef const DSCBCAPSLPCDSCBCAPS
 
typedef const GUIDLPCGUID
 
typedef BOOL(CALLBACKLPDSENUMCALLBACKW) (LPGUID, LPCWSTR, LPCWSTR, LPVOID)
 
typedef BOOL(CALLBACKLPDSENUMCALLBACKA) (LPGUID, LPCSTR, LPCSTR, LPVOID)
 
typedef struct _DS3DLISTENER DS3DLISTENER
 
typedef struct _DS3DLISTENERLPDS3DLISTENER
 
typedef const DS3DLISTENERLPCDS3DLISTENER
 
typedef struct _DS3DBUFFER DS3DBUFFER
 
typedef struct _DS3DBUFFERLPDS3DBUFFER
 
typedef const DS3DBUFFERLPCDS3DBUFFER
 
typedef struct IKsPropertySetLPKSPROPERTYSET
 

Enumerations

enum  {
  DSFXR_PRESENT , DSFXR_LOCHARDWARE , DSFXR_LOCSOFTWARE , DSFXR_UNALLOCATED ,
  DSFXR_FAILED , DSFXR_UNKNOWN , DSFXR_SENDLOOP
}
 

Functions

 DEFINE_GUID (CLSID_DirectSound, 0x47d4d946, 0x62e8, 0x11cf, 0x93, 0xbc, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00)
 
 DEFINE_GUID (CLSID_DirectSound8, 0x3901cc3f, 0x84b5, 0x4fa4, 0xba, 0x35, 0xaa, 0x81, 0x72, 0xb8, 0xa0, 0x9b)
 
 DEFINE_GUID (CLSID_DirectSoundCapture, 0xb0210780, 0x89cd, 0x11d0, 0xaf, 0x08, 0x00, 0xa0, 0xc9, 0x25, 0xcd, 0x16)
 
 DEFINE_GUID (CLSID_DirectSoundCapture8, 0xe4bcac13, 0x7f99, 0x4908, 0x9a, 0x8e, 0x74, 0xe3, 0xbf, 0x24, 0xb6, 0xe1)
 
 DEFINE_GUID (CLSID_DirectSoundFullDuplex, 0xfea4300c, 0x7959, 0x4147, 0xb2, 0x6a, 0x23, 0x77, 0xb9, 0xe7, 0xa9, 0x1d)
 
 DEFINE_GUID (IID_IDirectSound, 0x279AFA83, 0x4981, 0x11CE, 0xA5, 0x21, 0x00, 0x20, 0xAF, 0x0B, 0xE5, 0x60)
 
 DEFINE_GUID (IID_IDirectSound8, 0xC50A7E93, 0xF395, 0x4834, 0x9E, 0xF6, 0x7F, 0xA9, 0x9D, 0xE5, 0x09, 0x66)
 
 DEFINE_GUID (IID_IDirectSoundBuffer, 0x279AFA85, 0x4981, 0x11CE, 0xA5, 0x21, 0x00, 0x20, 0xAF, 0x0B, 0xE5, 0x60)
 
 DEFINE_GUID (IID_IDirectSoundBuffer8, 0x6825A449, 0x7524, 0x4D82, 0x92, 0x0F, 0x50, 0xE3, 0x6A, 0xB3, 0xAB, 0x1E)
 
 DEFINE_GUID (IID_IDirectSoundNotify, 0xB0210783, 0x89cd, 0x11d0, 0xAF, 0x08, 0x00, 0xA0, 0xC9, 0x25, 0xCD, 0x16)
 
 DEFINE_GUID (IID_IDirectSound3DListener, 0x279AFA84, 0x4981, 0x11CE, 0xA5, 0x21, 0x00, 0x20, 0xAF, 0x0B, 0xE5, 0x60)
 
 DEFINE_GUID (IID_IDirectSound3DBuffer, 0x279AFA86, 0x4981, 0x11CE, 0xA5, 0x21, 0x00, 0x20, 0xAF, 0x0B, 0xE5, 0x60)
 
 DEFINE_GUID (IID_IDirectSoundCapture, 0xB0210781, 0x89CD, 0x11D0, 0xAF, 0x08, 0x00, 0xA0, 0xC9, 0x25, 0xCD, 0x16)
 
 DEFINE_GUID (IID_IDirectSoundCaptureBuffer, 0xB0210782, 0x89CD, 0x11D0, 0xAF, 0x08, 0x00, 0xA0, 0xC9, 0x25, 0xCD, 0x16)
 
 DEFINE_GUID (IID_IDirectSoundCaptureBuffer8, 0x00990DF4, 0x0DBB, 0x4872, 0x83, 0x3E, 0x6D, 0x30, 0x3E, 0x80, 0xAE, 0xB6)
 
 DEFINE_GUID (IID_IDirectSoundFullDuplex, 0xEDCB4C7A, 0xDAAB, 0x4216, 0xA4, 0x2E, 0x6C, 0x50, 0x59, 0x6D, 0xDC, 0x1D)
 
 DEFINE_GUID (DSDEVID_DefaultPlayback, 0xDEF00000, 0x9C6D, 0x47Ed, 0xAA, 0xF1, 0x4D, 0xDA, 0x8F, 0x2B, 0x5C, 0x03)
 
 DEFINE_GUID (DSDEVID_DefaultCapture, 0xDEF00001, 0x9C6D, 0x47Ed, 0xAA, 0xF1, 0x4D, 0xDA, 0x8F, 0x2B, 0x5C, 0x03)
 
 DEFINE_GUID (DSDEVID_DefaultVoicePlayback, 0xDEF00002, 0x9C6D, 0x47Ed, 0xAA, 0xF1, 0x4D, 0xDA, 0x8F, 0x2B, 0x5C, 0x03)
 
 DEFINE_GUID (DSDEVID_DefaultVoiceCapture, 0xDEF00003, 0x9C6D, 0x47ED, 0xAA, 0xF1, 0x4D, 0xDA, 0x8F, 0x2B, 0x5C, 0x03)
 
 DEFINE_GUID (DSDEVID_WinePlayback, 0x40316A1D, 0x605B, 0xD611, 0x87, 0xC6, 0x00, 0x80, 0xAD, 0x00, 0x02, 0xFE)
 
HRESULT WINAPI DirectSoundCreate (LPCGUID lpGUID, LPDIRECTSOUND *ppDS, LPUNKNOWN pUnkOuter)
 
HRESULT WINAPI DirectSoundEnumerateA (LPDSENUMCALLBACKA, LPVOID)
 
HRESULT WINAPI DirectSoundEnumerateW (LPDSENUMCALLBACKW, LPVOID)
 
HRESULT WINAPI DirectSoundCaptureCreate (LPCGUID lpGUID, LPDIRECTSOUNDCAPTURE *ppDSC, LPUNKNOWN pUnkOuter)
 
HRESULT WINAPI DirectSoundCaptureEnumerateA (LPDSENUMCALLBACKA, LPVOID)
 
HRESULT WINAPI DirectSoundCaptureEnumerateW (LPDSENUMCALLBACKW, LPVOID)
 
HRESULT WINAPI DirectSoundCreate8 (LPCGUID lpGUID, LPDIRECTSOUND8 *ppDS8, LPUNKNOWN pUnkOuter)
 
HRESULT WINAPI DirectSoundCaptureCreate8 (LPCGUID lpGUID, LPDIRECTSOUNDCAPTURE8 *ppDSC8, LPUNKNOWN pUnkOuter)
 
HRESULT WINAPI DirectSoundFullDuplexCreate (LPCGUID pcGuidCaptureDevice, LPCGUID pcGuidRenderDevice, LPCDSCBUFFERDESC pcDSCBufferDesc, LPCDSBUFFERDESC pcDSBufferDesc, HWND hWnd, DWORD dwLevel, LPDIRECTSOUNDFULLDUPLEX *ppDSFD, LPDIRECTSOUNDCAPTUREBUFFER8 *ppDSCBuffer8, LPDIRECTSOUNDBUFFER8 *ppDSBuffer8, LPUNKNOWN pUnkOuter)
 
HRESULT WINAPI GetDeviceID (LPCGUID lpGuidSrc, LPGUID lpGuidDest)
 
 DECLARE_INTERFACE_ (IDirectSound, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectSound8, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectSoundBuffer, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectSoundBuffer8, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectSoundCapture, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectSoundCaptureBuffer, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectSoundCaptureBuffer8, IDirectSoundCaptureBuffer)
 
 DECLARE_INTERFACE_ (IDirectSoundNotify, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectSound3DListener, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectSound3DBuffer, IUnknown)
 
 DEFINE_GUID (IID_IKsPropertySet, 0x31EFAC30, 0x515C, 0x11D0, 0xA9, 0xAA, 0x00, 0xAA, 0x00, 0x61, 0xBE, 0x93)
 
 DECLARE_INTERFACE_ (IKsPropertySet, IUnknown)
 
 DECLARE_INTERFACE_ (IDirectSoundFullDuplex, IUnknown)
 

Macro Definition Documentation

◆ __LPCGUID_DEFINED__

#define __LPCGUID_DEFINED__

Definition at line 400 of file dsound.h.

◆ _FACDS

#define _FACDS   0x878

Definition at line 113 of file dsound.h.

◆ _IKsPropertySet_

#define _IKsPropertySet_

Definition at line 1123 of file dsound.h.

◆ COM_NO_WINDOWS_H

#define COM_NO_WINDOWS_H

Definition at line 26 of file dsound.h.

◆ D3DCOLOR_DEFINED

#define D3DCOLOR_DEFINED

Definition at line 40 of file dsound.h.

◆ D3DVECTOR_DEFINED

#define D3DVECTOR_DEFINED

Definition at line 49 of file dsound.h.

◆ DIRECTSOUND_VERSION

#define DIRECTSOUND_VERSION   0x0900

Definition at line 23 of file dsound.h.

◆ DirectSoundCaptureEnumerate

#define DirectSoundCaptureEnumerate   WINELIB_NAME_AW(DirectSoundCaptureEnumerate)

Definition at line 415 of file dsound.h.

◆ DirectSoundEnumerate

#define DirectSoundEnumerate   WINELIB_NAME_AW(DirectSoundEnumerate)

Definition at line 411 of file dsound.h.

◆ DirectSoundFullDuplexCreate8

#define DirectSoundFullDuplexCreate8   DirectSoundFullDuplexCreate

Definition at line 422 of file dsound.h.

◆ DS3D_DEFAULTCONEANGLE

#define DS3D_DEFAULTCONEANGLE   360

Definition at line 934 of file dsound.h.

◆ DS3D_DEFAULTCONEOUTSIDEVOLUME

#define DS3D_DEFAULTCONEOUTSIDEVOLUME   DSBVOLUME_MAX

Definition at line 936 of file dsound.h.

◆ DS3D_DEFAULTDISTANCEFACTOR

#define DS3D_DEFAULTDISTANCEFACTOR   1.0f

Definition at line 919 of file dsound.h.

◆ DS3D_DEFAULTDOPPLERFACTOR

#define DS3D_DEFAULTDOPPLERFACTOR   1.0f

Definition at line 927 of file dsound.h.

◆ DS3D_DEFAULTMAXDISTANCE

#define DS3D_DEFAULTMAXDISTANCE   1000000000.0f

Definition at line 930 of file dsound.h.

◆ DS3D_DEFAULTMINDISTANCE

#define DS3D_DEFAULTMINDISTANCE   1.0f

Definition at line 929 of file dsound.h.

◆ DS3D_DEFAULTROLLOFFFACTOR

#define DS3D_DEFAULTROLLOFFFACTOR   1.0f

Definition at line 923 of file dsound.h.

◆ DS3D_DEFERRED

#define DS3D_DEFERRED   0x00000001

Definition at line 915 of file dsound.h.

◆ DS3D_IMMEDIATE

#define DS3D_IMMEDIATE   0x00000000

Definition at line 914 of file dsound.h.

◆ DS3D_MAXCONEANGLE

#define DS3D_MAXCONEANGLE   360

Definition at line 933 of file dsound.h.

◆ DS3D_MAXDISTANCEFACTOR

#define DS3D_MAXDISTANCEFACTOR   FLT_MAX

Definition at line 918 of file dsound.h.

◆ DS3D_MAXDOPPLERFACTOR

#define DS3D_MAXDOPPLERFACTOR   10.0f

Definition at line 926 of file dsound.h.

◆ DS3D_MAXROLLOFFFACTOR

#define DS3D_MAXROLLOFFFACTOR   10.0f

Definition at line 922 of file dsound.h.

◆ DS3D_MINCONEANGLE

#define DS3D_MINCONEANGLE   0

Definition at line 932 of file dsound.h.

◆ DS3D_MINDISTANCEFACTOR

#define DS3D_MINDISTANCEFACTOR   FLT_MIN

Definition at line 917 of file dsound.h.

◆ DS3D_MINDOPPLERFACTOR

#define DS3D_MINDOPPLERFACTOR   0.0f

Definition at line 925 of file dsound.h.

◆ DS3D_MINROLLOFFFACTOR

#define DS3D_MINROLLOFFFACTOR   0.0f

Definition at line 921 of file dsound.h.

◆ DS3DMODE_DISABLE

#define DS3DMODE_DISABLE   0x00000002

Definition at line 912 of file dsound.h.

◆ DS3DMODE_HEADRELATIVE

#define DS3DMODE_HEADRELATIVE   0x00000001

Definition at line 911 of file dsound.h.

◆ DS3DMODE_NORMAL

#define DS3DMODE_NORMAL   0x00000000

Definition at line 910 of file dsound.h.

◆ DS_CERTIFIED

#define DS_CERTIFIED   0x00000000

Definition at line 326 of file dsound.h.

◆ DS_INCOMPLETE

#define DS_INCOMPLETE   MAKE_HRESULT(0, _FACDS, 20)

Definition at line 118 of file dsound.h.

◆ DS_NO_VIRTUALIZATION

#define DS_NO_VIRTUALIZATION   MAKE_HRESULT(0, _FACDS, 10)

Definition at line 117 of file dsound.h.

◆ DS_OK

#define DS_OK   0

Definition at line 116 of file dsound.h.

◆ DS_UNCERTIFIED

#define DS_UNCERTIFIED   0x00000001

Definition at line 327 of file dsound.h.

◆ DSBCAPS_CTRL3D

#define DSBCAPS_CTRL3D   0x00000010

Definition at line 210 of file dsound.h.

◆ DSBCAPS_CTRLALL

#define DSBCAPS_CTRLALL   0x000001F0 /* All control capabilities */

Definition at line 217 of file dsound.h.

◆ DSBCAPS_CTRLDEFAULT

#define DSBCAPS_CTRLDEFAULT   0x000000E0 /* Pan + volume + frequency. */

Definition at line 214 of file dsound.h.

◆ DSBCAPS_CTRLFREQUENCY

#define DSBCAPS_CTRLFREQUENCY   0x00000020

Definition at line 211 of file dsound.h.

◆ DSBCAPS_CTRLFX

#define DSBCAPS_CTRLFX   0x00000200

Definition at line 216 of file dsound.h.

◆ DSBCAPS_CTRLPAN

#define DSBCAPS_CTRLPAN   0x00000040

Definition at line 212 of file dsound.h.

◆ DSBCAPS_CTRLPOSITIONNOTIFY

#define DSBCAPS_CTRLPOSITIONNOTIFY   0x00000100

Definition at line 215 of file dsound.h.

◆ DSBCAPS_CTRLVOLUME

#define DSBCAPS_CTRLVOLUME   0x00000080

Definition at line 213 of file dsound.h.

◆ DSBCAPS_GETCURRENTPOSITION2

#define DSBCAPS_GETCURRENTPOSITION2   0x00010000 /* More accurate play cursor under emulation*/

Definition at line 220 of file dsound.h.

◆ DSBCAPS_GLOBALFOCUS

#define DSBCAPS_GLOBALFOCUS   0x00008000

Definition at line 219 of file dsound.h.

◆ DSBCAPS_LOCDEFER

#define DSBCAPS_LOCDEFER   0x00040000

Definition at line 222 of file dsound.h.

◆ DSBCAPS_LOCHARDWARE

#define DSBCAPS_LOCHARDWARE   0x00000004

Definition at line 208 of file dsound.h.

◆ DSBCAPS_LOCSOFTWARE

#define DSBCAPS_LOCSOFTWARE   0x00000008

Definition at line 209 of file dsound.h.

◆ DSBCAPS_MUTE3DATMAXDISTANCE

#define DSBCAPS_MUTE3DATMAXDISTANCE   0x00020000

Definition at line 221 of file dsound.h.

◆ DSBCAPS_PRIMARYBUFFER

#define DSBCAPS_PRIMARYBUFFER   0x00000001

Definition at line 206 of file dsound.h.

◆ DSBCAPS_STATIC

#define DSBCAPS_STATIC   0x00000002

Definition at line 207 of file dsound.h.

◆ DSBCAPS_STICKYFOCUS

#define DSBCAPS_STICKYFOCUS   0x00004000

Definition at line 218 of file dsound.h.

◆ DSBFREQUENCY_MAX

#define DSBFREQUENCY_MAX   200000

Definition at line 232 of file dsound.h.

◆ DSBFREQUENCY_MIN

#define DSBFREQUENCY_MIN   100

Definition at line 231 of file dsound.h.

◆ DSBFREQUENCY_ORIGINAL

#define DSBFREQUENCY_ORIGINAL   0

Definition at line 233 of file dsound.h.

◆ DSBLOCK_ENTIREBUFFER

#define DSBLOCK_ENTIREBUFFER   0x00000002

Definition at line 204 of file dsound.h.

◆ DSBLOCK_FROMWRITECURSOR

#define DSBLOCK_FROMWRITECURSOR   0x00000001

Definition at line 203 of file dsound.h.

◆ DSBNOTIFICATIONS_MAX

#define DSBNOTIFICATIONS_MAX   100000U

Definition at line 235 of file dsound.h.

◆ DSBPAN_CENTER

#define DSBPAN_CENTER   0

Definition at line 227 of file dsound.h.

◆ DSBPAN_LEFT

#define DSBPAN_LEFT   -10000

Definition at line 226 of file dsound.h.

◆ DSBPAN_RIGHT

#define DSBPAN_RIGHT   10000

Definition at line 228 of file dsound.h.

◆ DSBPLAY_LOCHARDWARE

#define DSBPLAY_LOCHARDWARE   0x00000002

Definition at line 190 of file dsound.h.

◆ DSBPLAY_LOCSOFTWARE

#define DSBPLAY_LOCSOFTWARE   0x00000004

Definition at line 191 of file dsound.h.

◆ DSBPLAY_LOOPING

#define DSBPLAY_LOOPING   0x00000001

Definition at line 189 of file dsound.h.

◆ DSBPLAY_TERMINATEBY_DISTANCE

#define DSBPLAY_TERMINATEBY_DISTANCE   0x000000010

Definition at line 193 of file dsound.h.

◆ DSBPLAY_TERMINATEBY_PRIORITY

#define DSBPLAY_TERMINATEBY_PRIORITY   0x000000020

Definition at line 194 of file dsound.h.

◆ DSBPLAY_TERMINATEBY_TIME

#define DSBPLAY_TERMINATEBY_TIME   0x00000008

Definition at line 192 of file dsound.h.

◆ DSBPN_OFFSETSTOP

#define DSBPN_OFFSETSTOP   -1

Definition at line 876 of file dsound.h.

◆ DSBSIZE_MAX

#define DSBSIZE_MAX   0xFFFFFFF

Definition at line 225 of file dsound.h.

◆ DSBSIZE_MIN

#define DSBSIZE_MIN   4

Definition at line 224 of file dsound.h.

◆ DSBSTATUS_BUFFERLOST

#define DSBSTATUS_BUFFERLOST   0x00000002

Definition at line 197 of file dsound.h.

◆ DSBSTATUS_LOCHARDWARE

#define DSBSTATUS_LOCHARDWARE   0x00000008

Definition at line 199 of file dsound.h.

◆ DSBSTATUS_LOCSOFTWARE

#define DSBSTATUS_LOCSOFTWARE   0x00000010

Definition at line 200 of file dsound.h.

◆ DSBSTATUS_LOOPING

#define DSBSTATUS_LOOPING   0x00000004

Definition at line 198 of file dsound.h.

◆ DSBSTATUS_PLAYING

#define DSBSTATUS_PLAYING   0x00000001

Definition at line 196 of file dsound.h.

◆ DSBSTATUS_TERMINATED

#define DSBSTATUS_TERMINATED   0x00000020

Definition at line 201 of file dsound.h.

◆ DSBVOLUME_MAX

#define DSBVOLUME_MAX   0

Definition at line 229 of file dsound.h.

◆ DSBVOLUME_MIN

#define DSBVOLUME_MIN   -10000

Definition at line 230 of file dsound.h.

◆ DSCAPS_CERTIFIED

#define DSCAPS_CERTIFIED   0x00000040

Definition at line 149 of file dsound.h.

◆ DSCAPS_CONTINUOUSRATE

#define DSCAPS_CONTINUOUSRATE   0x00000010

Definition at line 147 of file dsound.h.

◆ DSCAPS_EMULDRIVER

#define DSCAPS_EMULDRIVER   0x00000020

Definition at line 148 of file dsound.h.

◆ DSCAPS_PRIMARY16BIT

#define DSCAPS_PRIMARY16BIT   0x00000008

Definition at line 146 of file dsound.h.

◆ DSCAPS_PRIMARY8BIT

#define DSCAPS_PRIMARY8BIT   0x00000004

Definition at line 145 of file dsound.h.

◆ DSCAPS_PRIMARYMONO

#define DSCAPS_PRIMARYMONO   0x00000001

Definition at line 143 of file dsound.h.

◆ DSCAPS_PRIMARYSTEREO

#define DSCAPS_PRIMARYSTEREO   0x00000002

Definition at line 144 of file dsound.h.

◆ DSCAPS_SECONDARY16BIT

#define DSCAPS_SECONDARY16BIT   0x00000800

Definition at line 153 of file dsound.h.

◆ DSCAPS_SECONDARY8BIT

#define DSCAPS_SECONDARY8BIT   0x00000400

Definition at line 152 of file dsound.h.

◆ DSCAPS_SECONDARYMONO

#define DSCAPS_SECONDARYMONO   0x00000100

Definition at line 150 of file dsound.h.

◆ DSCAPS_SECONDARYSTEREO

#define DSCAPS_SECONDARYSTEREO   0x00000200

Definition at line 151 of file dsound.h.

◆ DSCBCAPS_CTRLFX

#define DSCBCAPS_CTRLFX   0x00000200

Definition at line 390 of file dsound.h.

◆ DSCBCAPS_WAVEMAPPED

#define DSCBCAPS_WAVEMAPPED   0x80000000

Definition at line 389 of file dsound.h.

◆ DSCBLOCK_ENTIREBUFFER

#define DSCBLOCK_ENTIREBUFFER   0x00000001

Definition at line 392 of file dsound.h.

◆ DSCBPN_OFFSET_STOP

#define DSCBPN_OFFSET_STOP   0xffffffff

Definition at line 394 of file dsound.h.

◆ DSCBSTART_LOOPING

#define DSCBSTART_LOOPING   0x00000001

Definition at line 393 of file dsound.h.

◆ DSCBSTATUS_CAPTURING

#define DSCBSTATUS_CAPTURING   0x00000001

Definition at line 396 of file dsound.h.

◆ DSCBSTATUS_LOOPING

#define DSCBSTATUS_LOOPING   0x00000002

Definition at line 397 of file dsound.h.

◆ DSCCAPS_CERTIFIED

#define DSCCAPS_CERTIFIED   DSCAPS_CERTIFIED

Definition at line 386 of file dsound.h.

◆ DSCCAPS_EMULDRIVER

#define DSCCAPS_EMULDRIVER   DSCAPS_EMULDRIVER

Definition at line 385 of file dsound.h.

◆ DSCCAPS_MULTIPLECAPTURE

#define DSCCAPS_MULTIPLECAPTURE   0x00000001

Definition at line 387 of file dsound.h.

◆ DSCFX_LOCHARDWARE

#define DSCFX_LOCHARDWARE   0x00000001

Definition at line 340 of file dsound.h.

◆ DSCFX_LOCSOFTWARE

#define DSCFX_LOCSOFTWARE   0x00000002

Definition at line 341 of file dsound.h.

◆ DSCFXR_LOCHARDWARE

#define DSCFXR_LOCHARDWARE   0x00000010

Definition at line 343 of file dsound.h.

◆ DSCFXR_LOCSOFTWARE

#define DSCFXR_LOCSOFTWARE   0x00000020

Definition at line 344 of file dsound.h.

◆ DSERR_ACCESSDENIED

#define DSERR_ACCESSDENIED   E_ACCESSDENIED

Definition at line 135 of file dsound.h.

◆ DSERR_ALLOCATED

#define DSERR_ALLOCATED   MAKE_DSHRESULT(10)

Definition at line 119 of file dsound.h.

◆ DSERR_ALREADYINITIALIZED

#define DSERR_ALREADYINITIALIZED   MAKE_DSHRESULT(130)

Definition at line 129 of file dsound.h.

◆ DSERR_BADFORMAT

#define DSERR_BADFORMAT   MAKE_DSHRESULT(100)

Definition at line 126 of file dsound.h.

◆ DSERR_BADSENDBUFFERGUID

#define DSERR_BADSENDBUFFERGUID   MAKE_DSHRESULT(210)

Definition at line 139 of file dsound.h.

◆ DSERR_BUFFERLOST

#define DSERR_BUFFERLOST   MAKE_DSHRESULT(150)

Definition at line 131 of file dsound.h.

◆ DSERR_BUFFERTOOSMALL

#define DSERR_BUFFERTOOSMALL   MAKE_DSHRESULT(180)

Definition at line 136 of file dsound.h.

◆ DSERR_CONTROLUNAVAIL

#define DSERR_CONTROLUNAVAIL   MAKE_DSHRESULT(30)

Definition at line 120 of file dsound.h.

◆ DSERR_DS8_REQUIRED

#define DSERR_DS8_REQUIRED   MAKE_DSHRESULT(190)

Definition at line 137 of file dsound.h.

◆ DSERR_FXUNAVAILABLE

#define DSERR_FXUNAVAILABLE   MAKE_DSHRESULT(220)

Definition at line 140 of file dsound.h.

◆ DSERR_GENERIC

#define DSERR_GENERIC   E_FAIL

Definition at line 123 of file dsound.h.

◆ DSERR_INVALIDCALL

#define DSERR_INVALIDCALL   MAKE_DSHRESULT(50)

Definition at line 122 of file dsound.h.

◆ DSERR_INVALIDPARAM

#define DSERR_INVALIDPARAM   E_INVALIDARG

Definition at line 121 of file dsound.h.

◆ DSERR_NOAGGREGATION

#define DSERR_NOAGGREGATION   CLASS_E_NOAGGREGATION

Definition at line 130 of file dsound.h.

◆ DSERR_NODRIVER

#define DSERR_NODRIVER   MAKE_DSHRESULT(120)

Definition at line 128 of file dsound.h.

◆ DSERR_NOINTERFACE

#define DSERR_NOINTERFACE   E_NOINTERFACE

Definition at line 134 of file dsound.h.

◆ DSERR_OBJECTNOTFOUND

#define DSERR_OBJECTNOTFOUND   MAKE_DSHRESULT(4449)

Definition at line 141 of file dsound.h.

◆ DSERR_OTHERAPPHASPRIO

#define DSERR_OTHERAPPHASPRIO   MAKE_DSHRESULT(160)

Definition at line 132 of file dsound.h.

◆ DSERR_OUTOFMEMORY

#define DSERR_OUTOFMEMORY   E_OUTOFMEMORY

Definition at line 125 of file dsound.h.

◆ DSERR_PRIOLEVELNEEDED

#define DSERR_PRIOLEVELNEEDED   MAKE_DSHRESULT(70)

Definition at line 124 of file dsound.h.

◆ DSERR_SENDLOOP

#define DSERR_SENDLOOP   MAKE_DSHRESULT(200)

Definition at line 138 of file dsound.h.

◆ DSERR_UNINITIALIZED

#define DSERR_UNINITIALIZED   MAKE_DSHRESULT(170)

Definition at line 133 of file dsound.h.

◆ DSERR_UNSUPPORTED

#define DSERR_UNSUPPORTED   E_NOTIMPL

Definition at line 127 of file dsound.h.

◆ DSFX_LOCHARDWARE

#define DSFX_LOCHARDWARE   0x00000001

Definition at line 262 of file dsound.h.

◆ DSFX_LOCSOFTWARE

#define DSFX_LOCSOFTWARE   0x00000002

Definition at line 263 of file dsound.h.

◆ DSSCL_EXCLUSIVE [1/2]

#define DSSCL_EXCLUSIVE   3

Definition at line 249 of file dsound.h.

◆ DSSCL_EXCLUSIVE [2/2]

#define DSSCL_EXCLUSIVE   3

Definition at line 249 of file dsound.h.

◆ DSSCL_NORMAL [1/2]

#define DSSCL_NORMAL   1

Definition at line 247 of file dsound.h.

◆ DSSCL_NORMAL [2/2]

#define DSSCL_NORMAL   1

Definition at line 247 of file dsound.h.

◆ DSSCL_PRIORITY [1/2]

#define DSSCL_PRIORITY   2

Definition at line 248 of file dsound.h.

◆ DSSCL_PRIORITY [2/2]

#define DSSCL_PRIORITY   2

Definition at line 248 of file dsound.h.

◆ DSSCL_WRITEPRIMARY [1/2]

#define DSSCL_WRITEPRIMARY   4

Definition at line 250 of file dsound.h.

◆ DSSCL_WRITEPRIMARY [2/2]

#define DSSCL_WRITEPRIMARY   4

Definition at line 250 of file dsound.h.

◆ DSSPEAKER_5POINT1

#define DSSPEAKER_5POINT1   6

Definition at line 310 of file dsound.h.

◆ DSSPEAKER_5POINT1_BACK

#define DSSPEAKER_5POINT1_BACK   6

Definition at line 311 of file dsound.h.

◆ DSSPEAKER_5POINT1_SURROUND

#define DSSPEAKER_5POINT1_SURROUND   9

Definition at line 315 of file dsound.h.

◆ DSSPEAKER_7POINT1

#define DSSPEAKER_7POINT1   7

Definition at line 312 of file dsound.h.

◆ DSSPEAKER_7POINT1_SURROUND

#define DSSPEAKER_7POINT1_SURROUND   8

Definition at line 314 of file dsound.h.

◆ DSSPEAKER_7POINT1_WIDE

#define DSSPEAKER_7POINT1_WIDE   7

Definition at line 313 of file dsound.h.

◆ DSSPEAKER_COMBINED

#define DSSPEAKER_COMBINED (   c,
  g 
)    ((DWORD)(((BYTE)(c)) | ((DWORD)((BYTE)(g))) << 16))

Definition at line 322 of file dsound.h.

◆ DSSPEAKER_CONFIG

#define DSSPEAKER_CONFIG (   a)    ((BYTE)(a))

Definition at line 323 of file dsound.h.

◆ DSSPEAKER_DIRECTOUT

#define DSSPEAKER_DIRECTOUT   0

Definition at line 304 of file dsound.h.

◆ DSSPEAKER_GEOMETRY

#define DSSPEAKER_GEOMETRY (   a)    ((BYTE)(((DWORD)(a) >> 16) & 0x00FF))

Definition at line 324 of file dsound.h.

◆ DSSPEAKER_GEOMETRY_MAX

#define DSSPEAKER_GEOMETRY_MAX   0x000000B4 /* 180 degrees */

Definition at line 320 of file dsound.h.

◆ DSSPEAKER_GEOMETRY_MIN

#define DSSPEAKER_GEOMETRY_MIN   0x00000005 /* 5 degrees */

Definition at line 317 of file dsound.h.

◆ DSSPEAKER_GEOMETRY_NARROW

#define DSSPEAKER_GEOMETRY_NARROW   0x0000000A /* 10 degrees */

Definition at line 318 of file dsound.h.

◆ DSSPEAKER_GEOMETRY_WIDE

#define DSSPEAKER_GEOMETRY_WIDE   0x00000014 /* 20 degrees */

Definition at line 319 of file dsound.h.

◆ DSSPEAKER_HEADPHONE

#define DSSPEAKER_HEADPHONE   1

Definition at line 305 of file dsound.h.

◆ DSSPEAKER_MONO

#define DSSPEAKER_MONO   2

Definition at line 306 of file dsound.h.

◆ DSSPEAKER_QUAD

#define DSSPEAKER_QUAD   3

Definition at line 307 of file dsound.h.

◆ DSSPEAKER_STEREO

#define DSSPEAKER_STEREO   4

Definition at line 308 of file dsound.h.

◆ DSSPEAKER_SURROUND

#define DSSPEAKER_SURROUND   5

Definition at line 309 of file dsound.h.

◆ DX_SHARED_DEFINES

#define DX_SHARED_DEFINES

Definition at line 57 of file dsound.h.

◆ IDirectSound3DBuffer_AddRef

#define IDirectSound3DBuffer_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 1072 of file dsound.h.

◆ IDirectSound3DBuffer_GetAllParameters

#define IDirectSound3DBuffer_GetAllParameters (   p,
  a 
)    (p)->lpVtbl->GetAllParameters(p,a)

Definition at line 1075 of file dsound.h.

◆ IDirectSound3DBuffer_GetConeAngles

#define IDirectSound3DBuffer_GetConeAngles (   p,
  a,
  b 
)    (p)->lpVtbl->GetConeAngles(p,a,b)

Definition at line 1076 of file dsound.h.

◆ IDirectSound3DBuffer_GetConeOrientation

#define IDirectSound3DBuffer_GetConeOrientation (   p,
  a 
)    (p)->lpVtbl->GetConeOrientation(p,a)

Definition at line 1077 of file dsound.h.

◆ IDirectSound3DBuffer_GetConeOutsideVolume

#define IDirectSound3DBuffer_GetConeOutsideVolume (   p,
  a 
)    (p)->lpVtbl->GetConeOutsideVolume(p,a)

Definition at line 1078 of file dsound.h.

◆ IDirectSound3DBuffer_GetMaxDistance

#define IDirectSound3DBuffer_GetMaxDistance (   p,
  a 
)    (p)->lpVtbl->GetMaxDistance(p,a)

Definition at line 1079 of file dsound.h.

◆ IDirectSound3DBuffer_GetMinDistance

#define IDirectSound3DBuffer_GetMinDistance (   p,
  a 
)    (p)->lpVtbl->GetMinDistance(p,a)

Definition at line 1080 of file dsound.h.

◆ IDirectSound3DBuffer_GetMode

#define IDirectSound3DBuffer_GetMode (   p,
  a 
)    (p)->lpVtbl->GetMode(p,a)

Definition at line 1081 of file dsound.h.

◆ IDirectSound3DBuffer_GetPosition

#define IDirectSound3DBuffer_GetPosition (   p,
  a 
)    (p)->lpVtbl->GetPosition(p,a)

Definition at line 1082 of file dsound.h.

◆ IDirectSound3DBuffer_GetVelocity

#define IDirectSound3DBuffer_GetVelocity (   p,
  a 
)    (p)->lpVtbl->GetVelocity(p,a)

Definition at line 1083 of file dsound.h.

◆ IDirectSound3DBuffer_QueryInterface

#define IDirectSound3DBuffer_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 1071 of file dsound.h.

◆ IDirectSound3DBuffer_Release

#define IDirectSound3DBuffer_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 1073 of file dsound.h.

◆ IDirectSound3DBuffer_SetAllParameters

#define IDirectSound3DBuffer_SetAllParameters (   p,
  a,
  b 
)    (p)->lpVtbl->SetAllParameters(p,a,b)

Definition at line 1084 of file dsound.h.

◆ IDirectSound3DBuffer_SetConeAngles

#define IDirectSound3DBuffer_SetConeAngles (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->SetConeAngles(p,a,b,c)

Definition at line 1085 of file dsound.h.

◆ IDirectSound3DBuffer_SetConeOrientation

#define IDirectSound3DBuffer_SetConeOrientation (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->SetConeOrientation(p,a,b,c,d)

Definition at line 1086 of file dsound.h.

◆ IDirectSound3DBuffer_SetConeOutsideVolume

#define IDirectSound3DBuffer_SetConeOutsideVolume (   p,
  a,
  b 
)    (p)->lpVtbl->SetConeOutsideVolume(p,a,b)

Definition at line 1087 of file dsound.h.

◆ IDirectSound3DBuffer_SetMaxDistance

#define IDirectSound3DBuffer_SetMaxDistance (   p,
  a,
  b 
)    (p)->lpVtbl->SetMaxDistance(p,a,b)

Definition at line 1088 of file dsound.h.

◆ IDirectSound3DBuffer_SetMinDistance

#define IDirectSound3DBuffer_SetMinDistance (   p,
  a,
  b 
)    (p)->lpVtbl->SetMinDistance(p,a,b)

Definition at line 1089 of file dsound.h.

◆ IDirectSound3DBuffer_SetMode

#define IDirectSound3DBuffer_SetMode (   p,
  a,
  b 
)    (p)->lpVtbl->SetMode(p,a,b)

Definition at line 1090 of file dsound.h.

◆ IDirectSound3DBuffer_SetPosition

#define IDirectSound3DBuffer_SetPosition (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->SetPosition(p,a,b,c,d)

Definition at line 1091 of file dsound.h.

◆ IDirectSound3DBuffer_SetVelocity

#define IDirectSound3DBuffer_SetVelocity (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->SetVelocity(p,a,b,c,d)

Definition at line 1092 of file dsound.h.

◆ IDirectSound3DListener_AddRef

#define IDirectSound3DListener_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 980 of file dsound.h.

◆ IDirectSound3DListener_CommitDeferredSettings

#define IDirectSound3DListener_CommitDeferredSettings (   p)    (p)->lpVtbl->CommitDeferredSettings(p)

Definition at line 997 of file dsound.h.

◆ IDirectSound3DListener_GetAllParameters

#define IDirectSound3DListener_GetAllParameters (   p,
  a 
)    (p)->lpVtbl->GetAllParameters(p,a)

Definition at line 983 of file dsound.h.

◆ IDirectSound3DListener_GetDistanceFactor

#define IDirectSound3DListener_GetDistanceFactor (   p,
  a 
)    (p)->lpVtbl->GetDistanceFactor(p,a)

Definition at line 984 of file dsound.h.

◆ IDirectSound3DListener_GetDopplerFactor

#define IDirectSound3DListener_GetDopplerFactor (   p,
  a 
)    (p)->lpVtbl->GetDopplerFactor(p,a)

Definition at line 985 of file dsound.h.

◆ IDirectSound3DListener_GetOrientation

#define IDirectSound3DListener_GetOrientation (   p,
  a,
  b 
)    (p)->lpVtbl->GetOrientation(p,a,b)

Definition at line 986 of file dsound.h.

◆ IDirectSound3DListener_GetPosition

#define IDirectSound3DListener_GetPosition (   p,
  a 
)    (p)->lpVtbl->GetPosition(p,a)

Definition at line 987 of file dsound.h.

◆ IDirectSound3DListener_GetRolloffFactor

#define IDirectSound3DListener_GetRolloffFactor (   p,
  a 
)    (p)->lpVtbl->GetRolloffFactor(p,a)

Definition at line 988 of file dsound.h.

◆ IDirectSound3DListener_GetVelocity

#define IDirectSound3DListener_GetVelocity (   p,
  a 
)    (p)->lpVtbl->GetVelocity(p,a)

Definition at line 989 of file dsound.h.

◆ IDirectSound3DListener_QueryInterface

#define IDirectSound3DListener_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 979 of file dsound.h.

◆ IDirectSound3DListener_Release

#define IDirectSound3DListener_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 981 of file dsound.h.

◆ IDirectSound3DListener_SetAllParameters

#define IDirectSound3DListener_SetAllParameters (   p,
  a,
  b 
)    (p)->lpVtbl->SetAllParameters(p,a,b)

Definition at line 990 of file dsound.h.

◆ IDirectSound3DListener_SetDistanceFactor

#define IDirectSound3DListener_SetDistanceFactor (   p,
  a,
  b 
)    (p)->lpVtbl->SetDistanceFactor(p,a,b)

Definition at line 991 of file dsound.h.

◆ IDirectSound3DListener_SetDopplerFactor

#define IDirectSound3DListener_SetDopplerFactor (   p,
  a,
  b 
)    (p)->lpVtbl->SetDopplerFactor(p,a,b)

Definition at line 992 of file dsound.h.

◆ IDirectSound3DListener_SetOrientation

#define IDirectSound3DListener_SetOrientation (   p,
  a,
  b,
  c,
  d,
  e,
  f,
  g 
)    (p)->lpVtbl->SetOrientation(p,a,b,c,d,e,f,g)

Definition at line 993 of file dsound.h.

◆ IDirectSound3DListener_SetPosition

#define IDirectSound3DListener_SetPosition (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->SetPosition(p,a,b,c,d)

Definition at line 994 of file dsound.h.

◆ IDirectSound3DListener_SetRolloffFactor

#define IDirectSound3DListener_SetRolloffFactor (   p,
  a,
  b 
)    (p)->lpVtbl->SetRolloffFactor(p,a,b)

Definition at line 995 of file dsound.h.

◆ IDirectSound3DListener_SetVelocity

#define IDirectSound3DListener_SetVelocity (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->SetVelocity(p,a,b,c,d)

Definition at line 996 of file dsound.h.

◆ IDirectSound8_AddRef

#define IDirectSound8_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 506 of file dsound.h.

◆ IDirectSound8_Compact

#define IDirectSound8_Compact (   p)    (p)->lpVtbl->Compact(p)

Definition at line 513 of file dsound.h.

◆ IDirectSound8_CreateSoundBuffer

#define IDirectSound8_CreateSoundBuffer (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->CreateSoundBuffer(p,a,b,c)

Definition at line 509 of file dsound.h.

◆ IDirectSound8_DuplicateSoundBuffer

#define IDirectSound8_DuplicateSoundBuffer (   p,
  a,
  b 
)    (p)->lpVtbl->DuplicateSoundBuffer(p,a,b)

Definition at line 511 of file dsound.h.

◆ IDirectSound8_GetCaps

#define IDirectSound8_GetCaps (   p,
  a 
)    (p)->lpVtbl->GetCaps(p,a)

Definition at line 510 of file dsound.h.

◆ IDirectSound8_GetSpeakerConfig

#define IDirectSound8_GetSpeakerConfig (   p,
  a 
)    (p)->lpVtbl->GetSpeakerConfig(p,a)

Definition at line 514 of file dsound.h.

◆ IDirectSound8_Initialize

#define IDirectSound8_Initialize (   p,
  a 
)    (p)->lpVtbl->Initialize(p,a)

Definition at line 516 of file dsound.h.

◆ IDirectSound8_QueryInterface

#define IDirectSound8_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 505 of file dsound.h.

◆ IDirectSound8_Release

#define IDirectSound8_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 507 of file dsound.h.

◆ IDirectSound8_SetCooperativeLevel

#define IDirectSound8_SetCooperativeLevel (   p,
  a,
  b 
)    (p)->lpVtbl->SetCooperativeLevel(p,a,b)

Definition at line 512 of file dsound.h.

◆ IDirectSound8_SetSpeakerConfig

#define IDirectSound8_SetSpeakerConfig (   p,
  a 
)    (p)->lpVtbl->SetSpeakerConfig(p,a)

Definition at line 515 of file dsound.h.

◆ IDirectSound8_VerifyCertification

#define IDirectSound8_VerifyCertification (   p,
  a 
)    (p)->lpVtbl->VerifyCertification(p,a)

Definition at line 518 of file dsound.h.

◆ IDirectSound_AddRef

#define IDirectSound_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 452 of file dsound.h.

◆ IDirectSound_Compact

#define IDirectSound_Compact (   p)    (p)->lpVtbl->Compact(p)

Definition at line 459 of file dsound.h.

◆ IDirectSound_CreateSoundBuffer

#define IDirectSound_CreateSoundBuffer (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->CreateSoundBuffer(p,a,b,c)

Definition at line 455 of file dsound.h.

◆ IDirectSound_DuplicateSoundBuffer

#define IDirectSound_DuplicateSoundBuffer (   p,
  a,
  b 
)    (p)->lpVtbl->DuplicateSoundBuffer(p,a,b)

Definition at line 457 of file dsound.h.

◆ IDirectSound_GetCaps

#define IDirectSound_GetCaps (   p,
  a 
)    (p)->lpVtbl->GetCaps(p,a)

Definition at line 456 of file dsound.h.

◆ IDirectSound_GetSpeakerConfig

#define IDirectSound_GetSpeakerConfig (   p,
  a 
)    (p)->lpVtbl->GetSpeakerConfig(p,a)

Definition at line 460 of file dsound.h.

◆ IDirectSound_Initialize

#define IDirectSound_Initialize (   p,
  a 
)    (p)->lpVtbl->Initialize(p,a)

Definition at line 462 of file dsound.h.

◆ IDirectSound_QueryInterface

#define IDirectSound_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 451 of file dsound.h.

◆ IDirectSound_Release

#define IDirectSound_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 453 of file dsound.h.

◆ IDirectSound_SetCooperativeLevel

#define IDirectSound_SetCooperativeLevel (   p,
  a,
  b 
)    (p)->lpVtbl->SetCooperativeLevel(p,a,b)

Definition at line 458 of file dsound.h.

◆ IDirectSound_SetSpeakerConfig

#define IDirectSound_SetSpeakerConfig (   p,
  a 
)    (p)->lpVtbl->SetSpeakerConfig(p,a)

Definition at line 461 of file dsound.h.

◆ IDirectSoundBuffer8_AcquireResources

#define IDirectSoundBuffer8_AcquireResources (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->AcquireResources(p,a,b,c)

Definition at line 682 of file dsound.h.

◆ IDirectSoundBuffer8_AddRef

#define IDirectSoundBuffer8_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 659 of file dsound.h.

◆ IDirectSoundBuffer8_GetCaps

#define IDirectSoundBuffer8_GetCaps (   p,
  a 
)    (p)->lpVtbl->GetCaps(p,a)

Definition at line 662 of file dsound.h.

◆ IDirectSoundBuffer8_GetCurrentPosition

#define IDirectSoundBuffer8_GetCurrentPosition (   p,
  a,
  b 
)    (p)->lpVtbl->GetCurrentPosition(p,a,b)

Definition at line 663 of file dsound.h.

◆ IDirectSoundBuffer8_GetFormat

#define IDirectSoundBuffer8_GetFormat (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetFormat(p,a,b,c)

Definition at line 664 of file dsound.h.

◆ IDirectSoundBuffer8_GetFrequency

#define IDirectSoundBuffer8_GetFrequency (   p,
  a 
)    (p)->lpVtbl->GetFrequency(p,a)

Definition at line 667 of file dsound.h.

◆ IDirectSoundBuffer8_GetObjectInPath

#define IDirectSoundBuffer8_GetObjectInPath (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->GetObjectInPath(p,a,b,c,d)

Definition at line 683 of file dsound.h.

◆ IDirectSoundBuffer8_GetPan

#define IDirectSoundBuffer8_GetPan (   p,
  a 
)    (p)->lpVtbl->GetPan(p,a)

Definition at line 666 of file dsound.h.

◆ IDirectSoundBuffer8_GetStatus

#define IDirectSoundBuffer8_GetStatus (   p,
  a 
)    (p)->lpVtbl->GetStatus(p,a)

Definition at line 668 of file dsound.h.

◆ IDirectSoundBuffer8_GetVolume

#define IDirectSoundBuffer8_GetVolume (   p,
  a 
)    (p)->lpVtbl->GetVolume(p,a)

Definition at line 665 of file dsound.h.

◆ IDirectSoundBuffer8_Initialize

#define IDirectSoundBuffer8_Initialize (   p,
  a,
  b 
)    (p)->lpVtbl->Initialize(p,a,b)

Definition at line 669 of file dsound.h.

◆ IDirectSoundBuffer8_Lock

#define IDirectSoundBuffer8_Lock (   p,
  a,
  b,
  c,
  d,
  e,
  f,
  g 
)    (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)

Definition at line 670 of file dsound.h.

◆ IDirectSoundBuffer8_Play

#define IDirectSoundBuffer8_Play (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->Play(p,a,b,c)

Definition at line 671 of file dsound.h.

◆ IDirectSoundBuffer8_QueryInterface

#define IDirectSoundBuffer8_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 658 of file dsound.h.

◆ IDirectSoundBuffer8_Release

#define IDirectSoundBuffer8_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 660 of file dsound.h.

◆ IDirectSoundBuffer8_Restore

#define IDirectSoundBuffer8_Restore (   p)    (p)->lpVtbl->Restore(p)

Definition at line 679 of file dsound.h.

◆ IDirectSoundBuffer8_SetCurrentPosition

#define IDirectSoundBuffer8_SetCurrentPosition (   p,
  a 
)    (p)->lpVtbl->SetCurrentPosition(p,a)

Definition at line 672 of file dsound.h.

◆ IDirectSoundBuffer8_SetFormat

#define IDirectSoundBuffer8_SetFormat (   p,
  a 
)    (p)->lpVtbl->SetFormat(p,a)

Definition at line 673 of file dsound.h.

◆ IDirectSoundBuffer8_SetFrequency

#define IDirectSoundBuffer8_SetFrequency (   p,
  a 
)    (p)->lpVtbl->SetFrequency(p,a)

Definition at line 676 of file dsound.h.

◆ IDirectSoundBuffer8_SetFX

#define IDirectSoundBuffer8_SetFX (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->SetFX(p,a,b,c)

Definition at line 681 of file dsound.h.

◆ IDirectSoundBuffer8_SetPan

#define IDirectSoundBuffer8_SetPan (   p,
  a 
)    (p)->lpVtbl->SetPan(p,a)

Definition at line 675 of file dsound.h.

◆ IDirectSoundBuffer8_SetVolume

#define IDirectSoundBuffer8_SetVolume (   p,
  a 
)    (p)->lpVtbl->SetVolume(p,a)

Definition at line 674 of file dsound.h.

◆ IDirectSoundBuffer8_Stop

#define IDirectSoundBuffer8_Stop (   p)    (p)->lpVtbl->Stop(p)

Definition at line 677 of file dsound.h.

◆ IDirectSoundBuffer8_Unlock

#define IDirectSoundBuffer8_Unlock (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->Unlock(p,a,b,c,d)

Definition at line 678 of file dsound.h.

◆ IDirectSoundBuffer_AddRef

#define IDirectSoundBuffer_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 573 of file dsound.h.

◆ IDirectSoundBuffer_GetCaps

#define IDirectSoundBuffer_GetCaps (   p,
  a 
)    (p)->lpVtbl->GetCaps(p,a)

Definition at line 576 of file dsound.h.

◆ IDirectSoundBuffer_GetCurrentPosition

#define IDirectSoundBuffer_GetCurrentPosition (   p,
  a,
  b 
)    (p)->lpVtbl->GetCurrentPosition(p,a,b)

Definition at line 577 of file dsound.h.

◆ IDirectSoundBuffer_GetFormat

#define IDirectSoundBuffer_GetFormat (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetFormat(p,a,b,c)

Definition at line 578 of file dsound.h.

◆ IDirectSoundBuffer_GetFrequency

#define IDirectSoundBuffer_GetFrequency (   p,
  a 
)    (p)->lpVtbl->GetFrequency(p,a)

Definition at line 581 of file dsound.h.

◆ IDirectSoundBuffer_GetPan

#define IDirectSoundBuffer_GetPan (   p,
  a 
)    (p)->lpVtbl->GetPan(p,a)

Definition at line 580 of file dsound.h.

◆ IDirectSoundBuffer_GetStatus

#define IDirectSoundBuffer_GetStatus (   p,
  a 
)    (p)->lpVtbl->GetStatus(p,a)

Definition at line 582 of file dsound.h.

◆ IDirectSoundBuffer_GetVolume

#define IDirectSoundBuffer_GetVolume (   p,
  a 
)    (p)->lpVtbl->GetVolume(p,a)

Definition at line 579 of file dsound.h.

◆ IDirectSoundBuffer_Initialize

#define IDirectSoundBuffer_Initialize (   p,
  a,
  b 
)    (p)->lpVtbl->Initialize(p,a,b)

Definition at line 583 of file dsound.h.

◆ IDirectSoundBuffer_Lock

#define IDirectSoundBuffer_Lock (   p,
  a,
  b,
  c,
  d,
  e,
  f,
  g 
)    (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)

Definition at line 584 of file dsound.h.

◆ IDirectSoundBuffer_Play

#define IDirectSoundBuffer_Play (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->Play(p,a,b,c)

Definition at line 585 of file dsound.h.

◆ IDirectSoundBuffer_QueryInterface

#define IDirectSoundBuffer_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 572 of file dsound.h.

◆ IDirectSoundBuffer_Release

#define IDirectSoundBuffer_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 574 of file dsound.h.

◆ IDirectSoundBuffer_Restore

#define IDirectSoundBuffer_Restore (   p)    (p)->lpVtbl->Restore(p)

Definition at line 593 of file dsound.h.

◆ IDirectSoundBuffer_SetCurrentPosition

#define IDirectSoundBuffer_SetCurrentPosition (   p,
  a 
)    (p)->lpVtbl->SetCurrentPosition(p,a)

Definition at line 586 of file dsound.h.

◆ IDirectSoundBuffer_SetFormat

#define IDirectSoundBuffer_SetFormat (   p,
  a 
)    (p)->lpVtbl->SetFormat(p,a)

Definition at line 587 of file dsound.h.

◆ IDirectSoundBuffer_SetFrequency

#define IDirectSoundBuffer_SetFrequency (   p,
  a 
)    (p)->lpVtbl->SetFrequency(p,a)

Definition at line 590 of file dsound.h.

◆ IDirectSoundBuffer_SetPan

#define IDirectSoundBuffer_SetPan (   p,
  a 
)    (p)->lpVtbl->SetPan(p,a)

Definition at line 589 of file dsound.h.

◆ IDirectSoundBuffer_SetVolume

#define IDirectSoundBuffer_SetVolume (   p,
  a 
)    (p)->lpVtbl->SetVolume(p,a)

Definition at line 588 of file dsound.h.

◆ IDirectSoundBuffer_Stop

#define IDirectSoundBuffer_Stop (   p)    (p)->lpVtbl->Stop(p)

Definition at line 591 of file dsound.h.

◆ IDirectSoundBuffer_Unlock

#define IDirectSoundBuffer_Unlock (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->Unlock(p,a,b,c,d)

Definition at line 592 of file dsound.h.

◆ IDirectSoundCapture_AddRef

#define IDirectSoundCapture_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 735 of file dsound.h.

◆ IDirectSoundCapture_CreateCaptureBuffer

#define IDirectSoundCapture_CreateCaptureBuffer (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->CreateCaptureBuffer(p,a,b,c)

Definition at line 738 of file dsound.h.

◆ IDirectSoundCapture_GetCaps

#define IDirectSoundCapture_GetCaps (   p,
  a 
)    (p)->lpVtbl->GetCaps(p,a)

Definition at line 739 of file dsound.h.

◆ IDirectSoundCapture_Initialize

#define IDirectSoundCapture_Initialize (   p,
  a 
)    (p)->lpVtbl->Initialize(p,a)

Definition at line 740 of file dsound.h.

◆ IDirectSoundCapture_QueryInterface

#define IDirectSoundCapture_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 734 of file dsound.h.

◆ IDirectSoundCapture_Release

#define IDirectSoundCapture_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 736 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_AddRef

#define IDirectSoundCaptureBuffer8_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 836 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_GetCaps

#define IDirectSoundCaptureBuffer8_GetCaps (   p,
  a 
)    (p)->lpVtbl->GetCaps(p,a)

Definition at line 839 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_GetCurrentPosition

#define IDirectSoundCaptureBuffer8_GetCurrentPosition (   p,
  a,
  b 
)    (p)->lpVtbl->GetCurrentPosition(p,a,b)

Definition at line 840 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_GetFormat

#define IDirectSoundCaptureBuffer8_GetFormat (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetFormat(p,a,b,c)

Definition at line 841 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_GetFXStatus

#define IDirectSoundCaptureBuffer8_GetFXStatus (   p,
  a,
  b 
)    (p)->lpVtbl->GetFXStatus(p,a,b)

Definition at line 850 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_GetObjectInPath

#define IDirectSoundCaptureBuffer8_GetObjectInPath (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->GetObjectInPath(p,a,b,c,d)

Definition at line 849 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_GetStatus

#define IDirectSoundCaptureBuffer8_GetStatus (   p,
  a 
)    (p)->lpVtbl->GetStatus(p,a)

Definition at line 842 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_Initialize

#define IDirectSoundCaptureBuffer8_Initialize (   p,
  a,
  b 
)    (p)->lpVtbl->Initialize(p,a,b)

Definition at line 843 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_Lock

#define IDirectSoundCaptureBuffer8_Lock (   p,
  a,
  b,
  c,
  d,
  e,
  f,
  g 
)    (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)

Definition at line 844 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_QueryInterface

#define IDirectSoundCaptureBuffer8_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 835 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_Release

#define IDirectSoundCaptureBuffer8_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 837 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_Start

#define IDirectSoundCaptureBuffer8_Start (   p,
  a 
)    (p)->lpVtbl->Start(p,a)

Definition at line 845 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_Stop

#define IDirectSoundCaptureBuffer8_Stop (   p)    (p)->lpVtbl->Stop(p)

Definition at line 846 of file dsound.h.

◆ IDirectSoundCaptureBuffer8_Unlock

#define IDirectSoundCaptureBuffer8_Unlock (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->Unlock(p,a,b,c,d)

Definition at line 847 of file dsound.h.

◆ IDirectSoundCaptureBuffer_AddRef

#define IDirectSoundCaptureBuffer_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 778 of file dsound.h.

◆ IDirectSoundCaptureBuffer_GetCaps

#define IDirectSoundCaptureBuffer_GetCaps (   p,
  a 
)    (p)->lpVtbl->GetCaps(p,a)

Definition at line 781 of file dsound.h.

◆ IDirectSoundCaptureBuffer_GetCurrentPosition

#define IDirectSoundCaptureBuffer_GetCurrentPosition (   p,
  a,
  b 
)    (p)->lpVtbl->GetCurrentPosition(p,a,b)

Definition at line 782 of file dsound.h.

◆ IDirectSoundCaptureBuffer_GetFormat

#define IDirectSoundCaptureBuffer_GetFormat (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetFormat(p,a,b,c)

Definition at line 783 of file dsound.h.

◆ IDirectSoundCaptureBuffer_GetStatus

#define IDirectSoundCaptureBuffer_GetStatus (   p,
  a 
)    (p)->lpVtbl->GetStatus(p,a)

Definition at line 784 of file dsound.h.

◆ IDirectSoundCaptureBuffer_Initialize

#define IDirectSoundCaptureBuffer_Initialize (   p,
  a,
  b 
)    (p)->lpVtbl->Initialize(p,a,b)

Definition at line 785 of file dsound.h.

◆ IDirectSoundCaptureBuffer_Lock

#define IDirectSoundCaptureBuffer_Lock (   p,
  a,
  b,
  c,
  d,
  e,
  f,
  g 
)    (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)

Definition at line 786 of file dsound.h.

◆ IDirectSoundCaptureBuffer_QueryInterface

#define IDirectSoundCaptureBuffer_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 777 of file dsound.h.

◆ IDirectSoundCaptureBuffer_Release

#define IDirectSoundCaptureBuffer_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 779 of file dsound.h.

◆ IDirectSoundCaptureBuffer_Start

#define IDirectSoundCaptureBuffer_Start (   p,
  a 
)    (p)->lpVtbl->Start(p,a)

Definition at line 787 of file dsound.h.

◆ IDirectSoundCaptureBuffer_Stop

#define IDirectSoundCaptureBuffer_Stop (   p)    (p)->lpVtbl->Stop(p)

Definition at line 788 of file dsound.h.

◆ IDirectSoundCaptureBuffer_Unlock

#define IDirectSoundCaptureBuffer_Unlock (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->Unlock(p,a,b,c,d)

Definition at line 789 of file dsound.h.

◆ IDirectSoundFullDuplex_AddRef

#define IDirectSoundFullDuplex_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 1186 of file dsound.h.

◆ IDirectSoundFullDuplex_Initialize

#define IDirectSoundFullDuplex_Initialize (   p,
  a,
  b,
  c,
  d,
  e,
  f,
  g,
  h 
)    (p)->lpVtbl->Initialize(p,a,b,c,d,e,f,g,h)

Definition at line 1189 of file dsound.h.

◆ IDirectSoundFullDuplex_QueryInterface

#define IDirectSoundFullDuplex_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 1185 of file dsound.h.

◆ IDirectSoundFullDuplex_Release

#define IDirectSoundFullDuplex_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 1187 of file dsound.h.

◆ IDirectSoundNotify_AddRef

#define IDirectSoundNotify_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 893 of file dsound.h.

◆ IDirectSoundNotify_QueryInterface

#define IDirectSoundNotify_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 892 of file dsound.h.

◆ IDirectSoundNotify_Release

#define IDirectSoundNotify_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 894 of file dsound.h.

◆ IDirectSoundNotify_SetNotificationPositions

#define IDirectSoundNotify_SetNotificationPositions (   p,
  a,
  b 
)    (p)->lpVtbl->SetNotificationPositions(p,a,b)

Definition at line 896 of file dsound.h.

◆ IID_IDirectSoundCapture8

#define IID_IDirectSoundCapture8   IID_IDirectSoundCapture

Definition at line 93 of file dsound.h.

◆ IID_IDirectSoundFullDuplex8

#define IID_IDirectSoundFullDuplex8   IID_IDirectSoundFullDuplex

Definition at line 104 of file dsound.h.

◆ IID_IDirectSoundNotify8

#define IID_IDirectSoundNotify8   IID_IDirectSoundNotify

Definition at line 83 of file dsound.h.

◆ IKsPropertySet_AddRef

#define IKsPropertySet_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 1149 of file dsound.h.

◆ IKsPropertySet_Get

#define IKsPropertySet_Get (   p,
  a,
  b,
  c,
  d,
  e,
  f,
  g 
)    (p)->lpVtbl->Get(p,a,b,c,d,e,f,g)

Definition at line 1152 of file dsound.h.

◆ IKsPropertySet_QueryInterface

#define IKsPropertySet_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 1148 of file dsound.h.

◆ IKsPropertySet_QuerySupport

#define IKsPropertySet_QuerySupport (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->QuerySupport(p,a,b,c)

Definition at line 1154 of file dsound.h.

◆ IKsPropertySet_Release

#define IKsPropertySet_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 1150 of file dsound.h.

◆ IKsPropertySet_Set

#define IKsPropertySet_Set (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->Set(p,a,b,c,d,e,f)

Definition at line 1153 of file dsound.h.

◆ INTERFACE [1/12]

#define INTERFACE   IDirectSound

Definition at line 1171 of file dsound.h.

◆ INTERFACE [2/12]

#define INTERFACE   IDirectSound8

Definition at line 1171 of file dsound.h.

◆ INTERFACE [3/12]

#define INTERFACE   IDirectSoundBuffer

Definition at line 1171 of file dsound.h.

◆ INTERFACE [4/12]

#define INTERFACE   IDirectSoundBuffer8

Definition at line 1171 of file dsound.h.

◆ INTERFACE [5/12]

#define INTERFACE   IDirectSoundCapture

Definition at line 1171 of file dsound.h.

◆ INTERFACE [6/12]

#define INTERFACE   IDirectSoundCaptureBuffer

Definition at line 1171 of file dsound.h.

◆ INTERFACE [7/12]

#define INTERFACE   IDirectSoundCaptureBuffer8

Definition at line 1171 of file dsound.h.

◆ INTERFACE [8/12]

#define INTERFACE   IDirectSoundNotify

Definition at line 1171 of file dsound.h.

◆ INTERFACE [9/12]

#define INTERFACE   IDirectSound3DListener

Definition at line 1171 of file dsound.h.

◆ INTERFACE [10/12]

#define INTERFACE   IDirectSound3DBuffer

Definition at line 1171 of file dsound.h.

◆ INTERFACE [11/12]

Definition at line 1171 of file dsound.h.

◆ INTERFACE [12/12]

#define INTERFACE   IDirectSoundFullDuplex

Definition at line 1171 of file dsound.h.

◆ KSPROPERTY_SUPPORT_GET

#define KSPROPERTY_SUPPORT_GET   1

Definition at line 1129 of file dsound.h.

◆ KSPROPERTY_SUPPORT_SET

#define KSPROPERTY_SUPPORT_SET   2

Definition at line 1130 of file dsound.h.

◆ LPD3DVECTOR_DEFINED

#define LPD3DVECTOR_DEFINED

Definition at line 54 of file dsound.h.

◆ MAKE_DSHRESULT

#define MAKE_DSHRESULT (   code)    MAKE_HRESULT(1,_FACDS,code)

Definition at line 114 of file dsound.h.

◆ WINE_NOBUFFER

#define WINE_NOBUFFER   0x80000000

Definition at line 874 of file dsound.h.

Typedef Documentation

◆ D3DCOLOR

typedef DWORD D3DCOLOR

Definition at line 39 of file dsound.h.

◆ D3DVALUE

typedef float D3DVALUE

Definition at line 36 of file dsound.h.

◆ D3DVECTOR

◆ DS3DBUFFER

◆ DS3DLISTENER

◆ DSBCAPS

◆ DSBPOSITIONNOTIFY

◆ DSBUFFERDESC

◆ DSBUFFERDESC1

◆ DSCAPS

◆ DSCBCAPS

◆ DSCBUFFERDESC

◆ DSCBUFFERDESC1

◆ DSCCAPS

◆ DSCEFFECTDESC

◆ DSEFFECTDESC

◆ IDirectSoundCapture8

typedef struct IDirectSoundCapture IDirectSoundCapture8

Definition at line 94 of file dsound.h.

◆ LPCDS3DBUFFER

Definition at line 1038 of file dsound.h.

◆ LPCDS3DLISTENER

Definition at line 949 of file dsound.h.

◆ LPCDSBCAPS

Definition at line 245 of file dsound.h.

◆ LPCDSBPOSITIONNOTIFY

Definition at line 302 of file dsound.h.

◆ LPCDSBUFFERDESC

Definition at line 295 of file dsound.h.

◆ LPCDSBUFFERDESC1

Definition at line 284 of file dsound.h.

◆ LPCDSCAPS

Definition at line 187 of file dsound.h.

◆ LPCDSCBCAPS

Definition at line 383 of file dsound.h.

◆ LPCDSCBUFFERDESC

Definition at line 365 of file dsound.h.

◆ LPCDSCCAPS

Definition at line 374 of file dsound.h.

◆ LPCDSCEFFECTDESC

Definition at line 338 of file dsound.h.

◆ LPCDSEFFECTDESC

Definition at line 260 of file dsound.h.

◆ LPCGUID

typedef const GUID* LPCGUID

Definition at line 401 of file dsound.h.

◆ LPD3DCOLOR

typedef DWORD * LPD3DCOLOR

Definition at line 39 of file dsound.h.

◆ LPD3DVALUE

typedef float * LPD3DVALUE

Definition at line 36 of file dsound.h.

◆ LPD3DVECTOR

Definition at line 53 of file dsound.h.

◆ LPDIRECTSOUND

typedef struct IDirectSound* LPDIRECTSOUND

Definition at line 70 of file dsound.h.

◆ LPDIRECTSOUND3DBUFFER

typedef struct IDirectSound3DBuffer* LPDIRECTSOUND3DBUFFER

Definition at line 89 of file dsound.h.

◆ LPDIRECTSOUND3DLISTENER

typedef struct IDirectSound3DListener* LPDIRECTSOUND3DLISTENER

Definition at line 86 of file dsound.h.

◆ LPDIRECTSOUND8

typedef struct IDirectSound8* LPDIRECTSOUND8

Definition at line 73 of file dsound.h.

◆ LPDIRECTSOUNDBUFFER

typedef struct IDirectSoundBuffer* LPDIRECTSOUNDBUFFER

Definition at line 76 of file dsound.h.

◆ LPDIRECTSOUNDBUFFER8

typedef struct IDirectSoundBuffer8* LPDIRECTSOUNDBUFFER8

Definition at line 79 of file dsound.h.

◆ LPDIRECTSOUNDCAPTURE

typedef struct IDirectSoundCapture* LPDIRECTSOUNDCAPTURE

Definition at line 92 of file dsound.h.

◆ LPDIRECTSOUNDCAPTURE8

typedef struct IDirectSoundCapture * LPDIRECTSOUNDCAPTURE8

Definition at line 94 of file dsound.h.

◆ LPDIRECTSOUNDCAPTUREBUFFER

typedef struct IDirectSoundCaptureBuffer* LPDIRECTSOUNDCAPTUREBUFFER

Definition at line 97 of file dsound.h.

◆ LPDIRECTSOUNDCAPTUREBUFFER8

typedef struct IDirectSoundCaptureBuffer8* LPDIRECTSOUNDCAPTUREBUFFER8

Definition at line 100 of file dsound.h.

◆ LPDIRECTSOUNDFULLDUPLEX

typedef struct IDirectSoundFullDuplex* LPDIRECTSOUNDFULLDUPLEX

Definition at line 103 of file dsound.h.

◆ LPDIRECTSOUNDNOTIFY

typedef struct IDirectSoundNotify* LPDIRECTSOUNDNOTIFY

Definition at line 82 of file dsound.h.

◆ LPDS3DBUFFER

◆ LPDS3DLISTENER

◆ LPDSBCAPS

◆ LPDSBPOSITIONNOTIFY

◆ LPDSBUFFERDESC

◆ LPDSBUFFERDESC1

◆ LPDSCAPS

◆ LPDSCBCAPS

◆ LPDSCBUFFERDESC

◆ LPDSCBUFFERDESC1

◆ LPDSCCAPS

◆ LPDSCEFFECTDESC

◆ LPDSEFFECTDESC

◆ LPDSENUMCALLBACKA

typedef BOOL(CALLBACK * LPDSENUMCALLBACKA) (LPGUID, LPCSTR, LPCSTR, LPVOID)

Definition at line 405 of file dsound.h.

◆ LPDSENUMCALLBACKW

typedef BOOL(CALLBACK * LPDSENUMCALLBACKW) (LPGUID, LPCWSTR, LPCWSTR, LPVOID)

Definition at line 404 of file dsound.h.

◆ LPKSPROPERTYSET

Definition at line 1125 of file dsound.h.

◆ LPLPDIRECTSOUND

typedef struct IDirectSound ** LPLPDIRECTSOUND

Definition at line 70 of file dsound.h.

◆ LPLPDIRECTSOUND3DBUFFER

typedef struct IDirectSound3DBuffer ** LPLPDIRECTSOUND3DBUFFER

Definition at line 89 of file dsound.h.

◆ LPLPDIRECTSOUND3DLISTENER

typedef struct IDirectSound3DListener ** LPLPDIRECTSOUND3DLISTENER

Definition at line 86 of file dsound.h.

◆ LPLPDIRECTSOUND8

typedef struct IDirectSound8 ** LPLPDIRECTSOUND8

Definition at line 73 of file dsound.h.

◆ LPLPDIRECTSOUNDBUFFER

typedef struct IDirectSoundBuffer ** LPLPDIRECTSOUNDBUFFER

Definition at line 76 of file dsound.h.

◆ LPLPDIRECTSOUNDBUFFER8

typedef struct IDirectSoundBuffer8 ** LPLPDIRECTSOUNDBUFFER8

Definition at line 79 of file dsound.h.

◆ LPLPDIRECTSOUNDCAPTURE

typedef struct IDirectSoundCapture ** LPLPDIRECTSOUNDCAPTURE

Definition at line 92 of file dsound.h.

◆ LPLPDIRECTSOUNDCAPTURE8

typedef struct IDirectSoundCapture ** LPLPDIRECTSOUNDCAPTURE8

Definition at line 94 of file dsound.h.

◆ LPLPDIRECTSOUNDCAPTUREBUFFER

typedef struct IDirectSoundCaptureBuffer ** LPLPDIRECTSOUNDCAPTUREBUFFER

Definition at line 97 of file dsound.h.

◆ LPLPDIRECTSOUNDCAPTUREBUFFER8

typedef struct IDirectSoundCaptureBuffer8 ** LPLPDIRECTSOUNDCAPTUREBUFFER8

Definition at line 100 of file dsound.h.

◆ LPLPDIRECTSOUNDFULLDUPLEX

typedef struct IDirectSoundFullDuplex ** LPLPDIRECTSOUNDFULLDUPLEX

Definition at line 103 of file dsound.h.

◆ LPLPDIRECTSOUNDNOTIFY

typedef struct IDirectSoundNotify ** LPLPDIRECTSOUNDNOTIFY

Definition at line 82 of file dsound.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DSFXR_PRESENT 
DSFXR_LOCHARDWARE 
DSFXR_LOCSOFTWARE 
DSFXR_UNALLOCATED 
DSFXR_FAILED 
DSFXR_UNKNOWN 
DSFXR_SENDLOOP 

Definition at line 265 of file dsound.h.

266{
274};
@ DSFXR_LOCSOFTWARE
Definition: dsound.h:269
@ DSFXR_FAILED
Definition: dsound.h:271
@ DSFXR_LOCHARDWARE
Definition: dsound.h:268
@ DSFXR_UNALLOCATED
Definition: dsound.h:270
@ DSFXR_UNKNOWN
Definition: dsound.h:272
@ DSFXR_SENDLOOP
Definition: dsound.h:273
@ DSFXR_PRESENT
Definition: dsound.h:267

Function Documentation

◆ DECLARE_INTERFACE_() [1/12]

DECLARE_INTERFACE_ ( IDirectSound  ,
IUnknown   
)

Definition at line 431 of file dsound.h.

432{
433 /*** IUnknown methods ***/
437 /*** IDirectSound methods ***/
438 STDMETHOD(CreateSoundBuffer)(THIS_ LPCDSBUFFERDESC lpcDSBufferDesc, LPLPDIRECTSOUNDBUFFER lplpDirectSoundBuffer, IUnknown *pUnkOuter) PURE;
439 STDMETHOD(GetCaps)(THIS_ LPDSCAPS lpDSCaps) PURE;
440 STDMETHOD(DuplicateSoundBuffer)(THIS_ LPDIRECTSOUNDBUFFER lpDsbOriginal, LPLPDIRECTSOUNDBUFFER lplpDsbDuplicate) PURE;
441 STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwLevel) PURE;
442 STDMETHOD(Compact)(THIS) PURE;
443 STDMETHOD(GetSpeakerConfig)(THIS_ LPDWORD lpdwSpeakerConfig) PURE;
444 STDMETHOD(SetSpeakerConfig)(THIS_ DWORD dwSpeakerConfig) PURE;
446};
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ BOOLEAN Release
Definition: cdrom.h:920
struct IDirectSoundBuffer * LPDIRECTSOUNDBUFFER
Definition: dsound.h:76
struct IDirectSoundBuffer ** LPLPDIRECTSOUNDBUFFER
Definition: dsound.h:76
unsigned long DWORD
Definition: ntddk_ex.h:95
REFIID riid
Definition: atlbase.h:39
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
#define REFIID
Definition: guiddef.h:118
uint32_t * LPDWORD
Definition: typedefs.h:59
uint32_t ULONG
Definition: typedefs.h:59
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
static void Initialize()
Definition: xlate.c:212

◆ DECLARE_INTERFACE_() [2/12]

DECLARE_INTERFACE_ ( IDirectSound3DBuffer  ,
IUnknown   
)

Definition at line 1041 of file dsound.h.

1042{
1043 /*** IUnknown methods ***/
1047 /*** IDirectSound3DBuffer methods ***/
1048 STDMETHOD(GetAllParameters)(THIS_ LPDS3DBUFFER lpDs3dBuffer) PURE;
1049 STDMETHOD(GetConeAngles)(THIS_ LPDWORD lpdwInsideConeAngle, LPDWORD lpdwOutsideConeAngle) PURE;
1050 STDMETHOD(GetConeOrientation)(THIS_ LPD3DVECTOR lpvOrientation) PURE;
1051 STDMETHOD(GetConeOutsideVolume)(THIS_ LPLONG lplConeOutsideVolume) PURE;
1052 STDMETHOD(GetMaxDistance)(THIS_ LPD3DVALUE lpflMaxDistance) PURE;
1053 STDMETHOD(GetMinDistance)(THIS_ LPD3DVALUE lpflMinDistance) PURE;
1054 STDMETHOD(GetMode)(THIS_ LPDWORD lpwdMode) PURE;
1056 STDMETHOD(GetVelocity)(THIS_ LPD3DVECTOR lpvVelocity) PURE;
1057 STDMETHOD(SetAllParameters)(THIS_ LPCDS3DBUFFER lpcDs3dBuffer, DWORD dwApply) PURE;
1058 STDMETHOD(SetConeAngles)(THIS_ DWORD dwInsideConeAngle, DWORD dwOutsideConeAngle, DWORD dwApply) PURE;
1059 STDMETHOD(SetConeOrientation)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE;
1060 STDMETHOD(SetConeOutsideVolume)(THIS_ LONG lConeOutsideVolume, DWORD dwApply) PURE;
1061 STDMETHOD(SetMaxDistance)(THIS_ D3DVALUE flMaxDistance, DWORD dwApply) PURE;
1062 STDMETHOD(SetMinDistance)(THIS_ D3DVALUE flMinDistance, DWORD dwApply) PURE;
1063 STDMETHOD(SetMode)(THIS_ DWORD dwMode, DWORD dwApply) PURE;
1064 STDMETHOD(SetPosition)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE;
1065 STDMETHOD(SetVelocity)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE;
1066};
float D3DVALUE
Definition: d3dtypes.h:89
float * LPD3DVALUE
Definition: d3dtypes.h:89
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLdouble GLdouble z
Definition: glext.h:5874
DWORD GetPosition(DWORD private_handle, PMMTIME time, DWORD time_size)
long LONG
Definition: pedump.c:60
int32_t * LPLONG
Definition: typedefs.h:58

◆ DECLARE_INTERFACE_() [3/12]

DECLARE_INTERFACE_ ( IDirectSound3DListener  ,
IUnknown   
)

Definition at line 952 of file dsound.h.

953{
954 /*** IUnknown methods ***/
958 /*** IDirectSound3DListener methods ***/
959 STDMETHOD(GetAllParameters)(THIS_ LPDS3DLISTENER lpListener) PURE;
960 STDMETHOD(GetDistanceFactor)(THIS_ LPD3DVALUE lpflDistanceFactor) PURE;
961 STDMETHOD(GetDopplerFactor)(THIS_ LPD3DVALUE lpflDopplerFactor) PURE;
962 STDMETHOD(GetOrientation)(THIS_ LPD3DVECTOR lpvOrientFront, LPD3DVECTOR lpvOrientTop) PURE;
964 STDMETHOD(GetRolloffFactor)(THIS_ LPD3DVALUE lpflRolloffFactor) PURE;
965 STDMETHOD(GetVelocity)(THIS_ LPD3DVECTOR lpvVelocity) PURE;
966 STDMETHOD(SetAllParameters)(THIS_ LPCDS3DLISTENER lpcListener, DWORD dwApply) PURE;
967 STDMETHOD(SetDistanceFactor)(THIS_ D3DVALUE flDistanceFactor, DWORD dwApply) PURE;
968 STDMETHOD(SetDopplerFactor)(THIS_ D3DVALUE flDopplerFactor, DWORD dwApply) PURE;
969 STDMETHOD(SetOrientation)(THIS_ D3DVALUE xFront, D3DVALUE yFront, D3DVALUE zFront, D3DVALUE xTop, D3DVALUE yTop, D3DVALUE zTop, DWORD dwApply) PURE;
970 STDMETHOD(SetPosition)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE;
971 STDMETHOD(SetRolloffFactor)(THIS_ D3DVALUE flRolloffFactor, DWORD dwApply) PURE;
972 STDMETHOD(SetVelocity)(THIS_ D3DVALUE x, D3DVALUE y, D3DVALUE z, DWORD dwApply) PURE;
973 STDMETHOD(CommitDeferredSettings)(THIS) PURE;
974};

◆ DECLARE_INTERFACE_() [4/12]

DECLARE_INTERFACE_ ( IDirectSound8  ,
IUnknown   
)

Definition at line 484 of file dsound.h.

485{
486 /*** IUnknown methods ***/
490 /*** IDirectSound8 methods ***/
491 STDMETHOD(CreateSoundBuffer)(THIS_ LPCDSBUFFERDESC lpcDSBufferDesc, LPLPDIRECTSOUNDBUFFER lplpDirectSoundBuffer, IUnknown *pUnkOuter) PURE;
492 STDMETHOD(GetCaps)(THIS_ LPDSCAPS lpDSCaps) PURE;
493 STDMETHOD(DuplicateSoundBuffer)(THIS_ LPDIRECTSOUNDBUFFER lpDsbOriginal, LPLPDIRECTSOUNDBUFFER lplpDsbDuplicate) PURE;
494 STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dwLevel) PURE;
495 STDMETHOD(Compact)(THIS) PURE;
496 STDMETHOD(GetSpeakerConfig)(THIS_ LPDWORD lpdwSpeakerConfig) PURE;
497 STDMETHOD(SetSpeakerConfig)(THIS_ DWORD dwSpeakerConfig) PURE;
499 STDMETHOD(VerifyCertification)(THIS_ LPDWORD pdwCertified) PURE;
500};

◆ DECLARE_INTERFACE_() [5/12]

DECLARE_INTERFACE_ ( IDirectSoundBuffer  ,
IUnknown   
)

Definition at line 542 of file dsound.h.

543{
544 /*** IUnknown methods ***/
548 /*** IDirectSoundBuffer methods ***/
549 STDMETHOD(GetCaps)(THIS_ LPDSBCAPS lpDSBufferCaps) PURE;
550 STDMETHOD(GetCurrentPosition)(THIS_ LPDWORD lpdwCurrentPlayCursor, LPDWORD lpdwCurrentWriteCursor) PURE;
551 STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX lpwfxFormat, DWORD dwSizeAllocated, LPDWORD lpdwSizeWritten) PURE;
552 STDMETHOD(GetVolume)(THIS_ LPLONG lplVolume) PURE;
553 STDMETHOD(GetPan)(THIS_ LPLONG lplpan) PURE;
554 STDMETHOD(GetFrequency)(THIS_ LPDWORD lpdwFrequency) PURE;
555 STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE;
556 STDMETHOD(Initialize)(THIS_ LPDIRECTSOUND lpDirectSound, LPCDSBUFFERDESC lpcDSBufferDesc) PURE;
557 STDMETHOD(Lock)(THIS_ DWORD dwOffset, DWORD dwBytes, LPVOID *ppvAudioPtr1, LPDWORD pdwAudioBytes1, LPVOID *ppvAudioPtr2, LPDWORD pdwAudioBytes2, DWORD dwFlags) PURE;
558 STDMETHOD(Play)(THIS_ DWORD dwReserved1, DWORD dwReserved2, DWORD dwFlags) PURE;
559 STDMETHOD(SetCurrentPosition)(THIS_ DWORD dwNewPosition) PURE;
560 STDMETHOD(SetFormat)(THIS_ LPCWAVEFORMATEX lpcfxFormat) PURE;
561 STDMETHOD(SetVolume)(THIS_ LONG lVolume) PURE;
562 STDMETHOD(SetPan)(THIS_ LONG lPan) PURE;
563 STDMETHOD(SetFrequency)(THIS_ DWORD dwFrequency) PURE;
565 STDMETHOD(Unlock)(THIS_ LPVOID pvAudioPtr1, DWORD dwAudioBytes1, LPVOID pvAudioPtr2, DWORD dwAudioPtr2) PURE;
566 STDMETHOD(Restore)(THIS) PURE;
567};
#define GetStatus(BaseIoAddress, Status)
Definition: atapi.h:328
struct IDirectSound * LPDIRECTSOUND
Definition: dsound.h:70
_In_opt_ PVOID _Out_ BOOLEAN * Stop
Definition: ldrtypes.h:241
_In_ DWORD _In_ DWORD dwOffset
Definition: ntgdi.h:2033
@ Unlock
Definition: ntsecapi.h:294
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWAITLOCK * Lock
Definition: wdfsync.h:127
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176

◆ DECLARE_INTERFACE_() [6/12]

DECLARE_INTERFACE_ ( IDirectSoundBuffer8  ,
IUnknown   
)

Definition at line 625 of file dsound.h.

626{
627 /*** IUnknown methods ***/
631 /*** IDirectSoundBuffer8 methods ***/
632 STDMETHOD(GetCaps)(THIS_ LPDSBCAPS lpDSBufferCaps) PURE;
633 STDMETHOD(GetCurrentPosition)(THIS_ LPDWORD lpdwCurrentPlayCursor, LPDWORD lpdwCurrentWriteCursor) PURE;
634 STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX lpwfxFormat, DWORD dwSizeAllocated, LPDWORD lpdwSizeWritten) PURE;
635 STDMETHOD(GetVolume)(THIS_ LPLONG lplVolume) PURE;
636 STDMETHOD(GetPan)(THIS_ LPLONG lplpan) PURE;
637 STDMETHOD(GetFrequency)(THIS_ LPDWORD lpdwFrequency) PURE;
638 STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE;
639 STDMETHOD(Initialize)(THIS_ LPDIRECTSOUND lpDirectSound, LPCDSBUFFERDESC lpcDSBufferDesc) PURE;
640 STDMETHOD(Lock)(THIS_ DWORD dwOffset, DWORD dwBytes, LPVOID *ppvAudioPtr1, LPDWORD pdwAudioBytes1, LPVOID *ppvAudioPtr2, LPDWORD pdwAudioBytes2, DWORD dwFlags) PURE;
641 STDMETHOD(Play)(THIS_ DWORD dwReserved1, DWORD dwReserved2, DWORD dwFlags) PURE;
642 STDMETHOD(SetCurrentPosition)(THIS_ DWORD dwNewPosition) PURE;
643 STDMETHOD(SetFormat)(THIS_ LPCWAVEFORMATEX lpcfxFormat) PURE;
644 STDMETHOD(SetVolume)(THIS_ LONG lVolume) PURE;
645 STDMETHOD(SetPan)(THIS_ LONG lPan) PURE;
646 STDMETHOD(SetFrequency)(THIS_ DWORD dwFrequency) PURE;
648 STDMETHOD(Unlock)(THIS_ LPVOID pvAudioPtr1, DWORD dwAudioBytes1, LPVOID pvAudioPtr2, DWORD dwAudioPtr2) PURE;
649 STDMETHOD(Restore)(THIS) PURE;
650 STDMETHOD(SetFX)(THIS_ DWORD dwEffectsCount, LPDSEFFECTDESC pDSFXDesc, LPDWORD pdwResultCodes) PURE;
651 STDMETHOD(AcquireResources)(THIS_ DWORD dwFlags, DWORD dwEffectsCount, LPDWORD pdwResultCodes) PURE;
652 STDMETHOD(GetObjectInPath)(THIS_ REFGUID rguidObject, DWORD dwIndex, REFGUID rguidInterface, LPVOID *ppObject) PURE;
653};
Definition: scsiwmi.h:51

◆ DECLARE_INTERFACE_() [7/12]

DECLARE_INTERFACE_ ( IDirectSoundCapture  ,
IUnknown   
)

Definition at line 719 of file dsound.h.

720{
721 /*** IUnknown methods ***/
725 /*** IDirectSoundCapture methods ***/
726 STDMETHOD(CreateCaptureBuffer)(THIS_ LPCDSCBUFFERDESC lpcDSCBufferDesc,LPDIRECTSOUNDCAPTUREBUFFER *lplpDSCaptureBuffer, LPUNKNOWN pUnk) PURE;
727 STDMETHOD(GetCaps)(THIS_ LPDSCCAPS lpDSCCaps) PURE;
729};
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
Definition: dplayx.c:30
struct IDirectSoundCaptureBuffer * LPDIRECTSOUNDCAPTUREBUFFER
Definition: dsound.h:97
static LPUNKNOWN
Definition: ndr_ole.c:49

◆ DECLARE_INTERFACE_() [8/12]

DECLARE_INTERFACE_ ( IDirectSoundCaptureBuffer  ,
IUnknown   
)

Definition at line 756 of file dsound.h.

757{
758 /*** IUnknown methods ***/
762 /*** IDirectSoundCaptureBuffer methods ***/
763 STDMETHOD(GetCaps)(THIS_ LPDSCBCAPS lpDSCBCaps) PURE;
764 STDMETHOD(GetCurrentPosition)(THIS_ LPDWORD lpdwCapturePosition,LPDWORD lpdwReadPosition) PURE;
765 STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX lpwfxFormat, DWORD dwSizeAllocated, LPDWORD lpdwSizeWritten) PURE;
766 STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE;
768 STDMETHOD(Lock)(THIS_ DWORD dwReadCusor, DWORD dwReadBytes, LPVOID *lplpvAudioPtr1, LPDWORD lpdwAudioBytes1, LPVOID *lplpvAudioPtr2, LPDWORD lpdwAudioBytes2, DWORD dwFlags) PURE;
771 STDMETHOD(Unlock)(THIS_ LPVOID lpvAudioPtr1, DWORD dwAudioBytes1, LPVOID lpvAudioPtr2, DWORD dwAudioBytes2) PURE;
772};
struct IDirectSoundCapture * LPDIRECTSOUNDCAPTURE
Definition: dsound.h:92
@ Start
Definition: partlist.h:33

◆ DECLARE_INTERFACE_() [9/12]

DECLARE_INTERFACE_ ( IDirectSoundCaptureBuffer8  ,
IDirectSoundCaptureBuffer   
)

Definition at line 811 of file dsound.h.

812{
813 /*** IUnknown methods ***/
817 /*** IDirectSoundCaptureBuffer methods ***/
818 STDMETHOD(GetCaps)(THIS_ LPDSCBCAPS lpDSCBCaps) PURE;
819 STDMETHOD(GetCurrentPosition)(THIS_ LPDWORD lpdwCapturePosition,LPDWORD lpdwReadPosition) PURE;
820 STDMETHOD(GetFormat)(THIS_ LPWAVEFORMATEX lpwfxFormat, DWORD dwSizeAllocated, LPDWORD lpdwSizeWritten) PURE;
821 STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE;
823 STDMETHOD(Lock)(THIS_ DWORD dwReadCusor, DWORD dwReadBytes, LPVOID *lplpvAudioPtr1, LPDWORD lpdwAudioBytes1, LPVOID *lplpvAudioPtr2, LPDWORD lpdwAudioBytes2, DWORD dwFlags) PURE;
826 STDMETHOD(Unlock)(THIS_ LPVOID lpvAudioPtr1, DWORD dwAudioBytes1, LPVOID lpvAudioPtr2, DWORD dwAudioBytes2) PURE;
827 /*** IDirectSoundCaptureBuffer8 methods ***/
828 STDMETHOD(GetObjectInPath)(THIS_ REFGUID rguidObject, DWORD dwIndex, REFGUID rguidInterface, LPVOID *ppObject) PURE;
829 STDMETHOD(GetFXStatus)(THIS_ DWORD dwFXCount, LPDWORD pdwFXStatus) PURE;
830};

◆ DECLARE_INTERFACE_() [10/12]

DECLARE_INTERFACE_ ( IDirectSoundFullDuplex  ,
IUnknown   
)

Definition at line 1172 of file dsound.h.

1173{
1174 /*** IUnknown methods ***/
1178 /*** IDirectSoundFullDuplex methods ***/
1179 STDMETHOD(Initialize)(THIS_ LPCGUID pCaptureGuid,LPCGUID pRendererGuid,LPCDSCBUFFERDESC lpDscBufferDesc,LPCDSBUFFERDESC lpDsBufferDesc,HWND hWnd,DWORD dwLevel,LPLPDIRECTSOUNDCAPTUREBUFFER8 lplpDirectSoundCaptureBuffer8,LPLPDIRECTSOUNDBUFFER8 lplpDirectSoundBuffer8) PURE;
1180};
HWND hWnd
Definition: settings.c:17
struct IDirectSoundBuffer8 ** LPLPDIRECTSOUNDBUFFER8
Definition: dsound.h:79
struct IDirectSoundCaptureBuffer8 ** LPLPDIRECTSOUNDCAPTUREBUFFER8
Definition: dsound.h:100

◆ DECLARE_INTERFACE_() [11/12]

DECLARE_INTERFACE_ ( IDirectSoundNotify  ,
IUnknown   
)

Definition at line 879 of file dsound.h.

880{
881 /*** IUnknown methods ***/
885 /*** IDirectSoundNotify methods ***/
886 STDMETHOD(SetNotificationPositions)(THIS_ DWORD cPositionNotifies, LPCDSBPOSITIONNOTIFY lpcPositionNotifies) PURE;
887};

◆ DECLARE_INTERFACE_() [12/12]

DECLARE_INTERFACE_ ( IKsPropertySet  ,
IUnknown   
)

Definition at line 1133 of file dsound.h.

1134{
1135 /*** IUnknown methods ***/
1139 /*** IKsPropertySet methods ***/
1142 STDMETHOD(QuerySupport)(THIS_ REFGUID rgid,ULONG x1,ULONG *px2) PURE;
1143};
static LPINTERNAL_BSTR Get(const BSTR lpszString)
Definition: vartype.c:4895
static BOOL Set
Definition: pageheap.c:10
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3710
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3708

◆ DEFINE_GUID() [1/22]

DEFINE_GUID ( CLSID_DirectSound  ,
0x47d4d946  ,
0x62e8  ,
0x11cf  ,
0x93  ,
0xbc  ,
0x44  ,
0x45  ,
0x53  ,
0x54  ,
0x00  ,
0x00   
)

◆ DEFINE_GUID() [2/22]

DEFINE_GUID ( CLSID_DirectSound8  ,
0x3901cc3f  ,
0x84b5  ,
0x4fa4  ,
0xba  ,
0x35  ,
0xaa  ,
0x81  ,
0x72  ,
0xb8  ,
0xa0  ,
0x9b   
)

◆ DEFINE_GUID() [3/22]

DEFINE_GUID ( CLSID_DirectSoundCapture  ,
0xb0210780  ,
0x89cd  ,
0x11d0  ,
0xaf  ,
0x08  ,
0x00  ,
0xa0  ,
0xc9  ,
0x25  ,
0xcd  ,
0x16   
)

◆ DEFINE_GUID() [4/22]

DEFINE_GUID ( CLSID_DirectSoundCapture8  ,
0xe4bcac13  ,
0x7f99  ,
0x4908  ,
0x9a  ,
0x8e  ,
0x74  ,
0xe3  ,
0xbf  ,
0x24  ,
0xb6  ,
0xe1   
)

◆ DEFINE_GUID() [5/22]

DEFINE_GUID ( CLSID_DirectSoundFullDuplex  ,
0xfea4300c  ,
0x7959  ,
0x4147  ,
0xb2  ,
0x6a  ,
0x23  ,
0x77  ,
0xb9  ,
0xe7  ,
0xa9  ,
0x1d   
)

◆ DEFINE_GUID() [6/22]

DEFINE_GUID ( DSDEVID_DefaultCapture  ,
0xDEF00001  ,
0x9C6D  ,
0x47Ed  ,
0xAA  ,
0xF1  ,
0x4D  ,
0xDA  ,
0x8F  ,
0x2B  ,
0x5C  ,
0x03   
)

◆ DEFINE_GUID() [7/22]

DEFINE_GUID ( DSDEVID_DefaultPlayback  ,
0xDEF00000  ,
0x9C6D  ,
0x47Ed  ,
0xAA  ,
0xF1  ,
0x4D  ,
0xDA  ,
0x8F  ,
0x2B  ,
0x5C  ,
0x03   
)

◆ DEFINE_GUID() [8/22]

DEFINE_GUID ( DSDEVID_DefaultVoiceCapture  ,
0xDEF00003  ,
0x9C6D  ,
0x47ED  ,
0xAA  ,
0xF1  ,
0x4D  ,
0xDA  ,
0x8F  ,
0x2B  ,
0x5C  ,
0x03   
)

◆ DEFINE_GUID() [9/22]

DEFINE_GUID ( DSDEVID_DefaultVoicePlayback  ,
0xDEF00002  ,
0x9C6D  ,
0x47Ed  ,
0xAA  ,
0xF1  ,
0x4D  ,
0xDA  ,
0x8F  ,
0x2B  ,
0x5C  ,
0x03   
)

◆ DEFINE_GUID() [10/22]

DEFINE_GUID ( DSDEVID_WinePlayback  ,
0x40316A1D  ,
0x605B  ,
0xD611  ,
0x87  ,
0xC6  ,
0x00  ,
0x80  ,
0xAD  ,
0x00  ,
0x02  ,
0xFE   
)

◆ DEFINE_GUID() [11/22]

DEFINE_GUID ( IID_IDirectSound  ,
0x279AFA83  ,
0x4981  ,
0x11CE  ,
0xA5  ,
0x21  ,
0x00  ,
0x20  ,
0xAF  ,
0x0B  ,
0xE5  ,
0x60   
)

◆ DEFINE_GUID() [12/22]

DEFINE_GUID ( IID_IDirectSound3DBuffer  ,
0x279AFA86  ,
0x4981  ,
0x11CE  ,
0xA5  ,
0x21  ,
0x00  ,
0x20  ,
0xAF  ,
0x0B  ,
0xE5  ,
0x60   
)

◆ DEFINE_GUID() [13/22]

DEFINE_GUID ( IID_IDirectSound3DListener  ,
0x279AFA84  ,
0x4981  ,
0x11CE  ,
0xA5  ,
0x21  ,
0x00  ,
0x20  ,
0xAF  ,
0x0B  ,
0xE5  ,
0x60   
)

◆ DEFINE_GUID() [14/22]

DEFINE_GUID ( IID_IDirectSound8  ,
0xC50A7E93  ,
0xF395  ,
0x4834  ,
0x9E  ,
0xF6  ,
0x7F  ,
0xA9  ,
0x9D  ,
0xE5  ,
0x09  ,
0x66   
)

◆ DEFINE_GUID() [15/22]

DEFINE_GUID ( IID_IDirectSoundBuffer  ,
0x279AFA85  ,
0x4981  ,
0x11CE  ,
0xA5  ,
0x21  ,
0x00  ,
0x20  ,
0xAF  ,
0x0B  ,
0xE5  ,
0x60   
)

◆ DEFINE_GUID() [16/22]

DEFINE_GUID ( IID_IDirectSoundBuffer8  ,
0x6825A449  ,
0x7524  ,
0x4D82  ,
0x92  ,
0x0F  ,
0x50  ,
0xE3  ,
0x6A  ,
0xB3  ,
0xAB  ,
0x1E   
)

◆ DEFINE_GUID() [17/22]

DEFINE_GUID ( IID_IDirectSoundCapture  ,
0xB0210781  ,
0x89CD  ,
0x11D0  ,
0xAF  ,
0x08  ,
0x00  ,
0xA0  ,
0xC9  ,
0x25  ,
0xCD  ,
0x16   
)

◆ DEFINE_GUID() [18/22]

DEFINE_GUID ( IID_IDirectSoundCaptureBuffer  ,
0xB0210782  ,
0x89CD  ,
0x11D0  ,
0xAF  ,
0x08  ,
0x00  ,
0xA0  ,
0xC9  ,
0x25  ,
0xCD  ,
0x16   
)

◆ DEFINE_GUID() [19/22]

DEFINE_GUID ( IID_IDirectSoundCaptureBuffer8  ,
0x00990DF4  ,
0x0DBB  ,
0x4872  ,
0x83  ,
0x3E  ,
0x6D  ,
0x30  ,
0x3E  ,
0x80  ,
0xAE  ,
0xB6   
)

◆ DEFINE_GUID() [20/22]

DEFINE_GUID ( IID_IDirectSoundFullDuplex  ,
0xEDCB4C7A  ,
0xDAAB  ,
0x4216  ,
0xA4  ,
0x2E  ,
0x6C  ,
0x50  ,
0x59  ,
0x6D  ,
0xDC  ,
0x1D   
)

◆ DEFINE_GUID() [21/22]

DEFINE_GUID ( IID_IDirectSoundNotify  ,
0xB0210783  ,
0x89cd  ,
0x11d0  ,
0xAF  ,
0x08  ,
0x00  ,
0xA0  ,
0xC9  ,
0x25  ,
0xCD  ,
0x16   
)

◆ DEFINE_GUID() [22/22]

DEFINE_GUID ( IID_IKsPropertySet  ,
0x31EFAC30  ,
0x515C  ,
0x11D0  ,
0xA9  ,
0xAA  ,
0x00  ,
0xAA  ,
0x00  ,
0x61  ,
0xBE  ,
0x93   
)

◆ DirectSoundCaptureCreate()

HRESULT WINAPI DirectSoundCaptureCreate ( LPCGUID  lpGUID,
LPDIRECTSOUNDCAPTURE ppDSC,
LPUNKNOWN  pUnkOuter 
)

Definition at line 322 of file capture.c.

326{
327 return InternalDirectSoundCaptureCreate(lpcGUID, (LPDIRECTSOUNDCAPTURE8*)ppDSC, pUnkOuter);
328}
HRESULT InternalDirectSoundCaptureCreate(LPCGUID lpcGUID, LPDIRECTSOUNDCAPTURE8 *ppDS, IUnknown *pUnkOuter)
Definition: capture.c:237
struct IDirectSoundCapture * LPDIRECTSOUNDCAPTURE8
Definition: dsound.h:94

◆ DirectSoundCaptureCreate8()

HRESULT WINAPI DirectSoundCaptureCreate8 ( LPCGUID  lpGUID,
LPDIRECTSOUNDCAPTURE8 ppDSC8,
LPUNKNOWN  pUnkOuter 
)

Definition at line 332 of file capture.c.

336{
337 return InternalDirectSoundCaptureCreate(lpcGUID, ppDSC8, pUnkOuter);
338}

◆ DirectSoundCaptureEnumerateA()

HRESULT WINAPI DirectSoundCaptureEnumerateA ( LPDSENUMCALLBACKA  lpDSEnumCallback,
LPVOID  lpContext 
)

Definition at line 219 of file enum.c.

222{
223 return DSoundEnumerate(lpDSEnumCallback, NULL, lpContext, FALSE);
224}
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
HRESULT DSoundEnumerate(LPDSENUMCALLBACKA lpDSEnumCallbackA, LPDSENUMCALLBACKW lpDSEnumCallbackW, LPVOID lpContext, BOOL bPlayback)
Definition: enum.c:106

◆ DirectSoundCaptureEnumerateW()

HRESULT WINAPI DirectSoundCaptureEnumerateW ( LPDSENUMCALLBACKW  lpDSEnumCallback,
LPVOID  lpContext 
)

Definition at line 228 of file enum.c.

231{
232 return DSoundEnumerate(NULL, lpDSEnumCallback, lpContext, FALSE);
233}

Referenced by build_directsound_tree(), and DirectSoundCaptureEnumerateA().

◆ DirectSoundCreate()

HRESULT WINAPI DirectSoundCreate ( LPCGUID  lpGUID,
LPDIRECTSOUND ppDS,
LPUNKNOWN  pUnkOuter 
)

◆ DirectSoundCreate8()

HRESULT WINAPI DirectSoundCreate8 ( LPCGUID  lpGUID,
LPDIRECTSOUND8 ppDS8,
LPUNKNOWN  pUnkOuter 
)

◆ DirectSoundEnumerateA()

HRESULT WINAPI DirectSoundEnumerateA ( LPDSENUMCALLBACKA  lpDSEnumCallback,
LPVOID  lpContext 
)

Definition at line 201 of file enum.c.

204{
205 return DSoundEnumerate(lpDSEnumCallback, NULL, lpContext, TRUE);
206}
#define TRUE
Definition: types.h:120

◆ DirectSoundEnumerateW()

HRESULT WINAPI DirectSoundEnumerateW ( LPDSENUMCALLBACKW  lpDSEnumCallback,
LPVOID  lpContext 
)

Definition at line 210 of file enum.c.

213{
214 return DSoundEnumerate(NULL, lpDSEnumCallback, lpContext, TRUE);
215}

Referenced by build_directsound_tree(), DEVENUM_ICreateDevEnum_CreateClassEnumerator(), DirectSoundEnumerateA(), InitializeDirectSoundPage(), and START_TEST().

◆ DirectSoundFullDuplexCreate()

HRESULT WINAPI DirectSoundFullDuplexCreate ( LPCGUID  pcGuidCaptureDevice,
LPCGUID  pcGuidRenderDevice,
LPCDSCBUFFERDESC  pcDSCBufferDesc,
LPCDSBUFFERDESC  pcDSBufferDesc,
HWND  hWnd,
DWORD  dwLevel,
LPDIRECTSOUNDFULLDUPLEX ppDSFD,
LPDIRECTSOUNDCAPTUREBUFFER8 ppDSCBuffer8,
LPDIRECTSOUNDBUFFER8 ppDSBuffer8,
LPUNKNOWN  pUnkOuter 
)

Definition at line 14 of file stubs.c.

25{
27 return DSERR_INVALIDPARAM;
28}
#define UNIMPLEMENTED
Definition: stubs.c:6
#define DSERR_INVALIDPARAM
Definition: dsound.h:121

◆ GetDeviceID()

HRESULT WINAPI GetDeviceID ( LPCGUID  lpGuidSrc,
LPGUID  lpGuidDest 
)

Definition at line 53 of file dsound.c.

54{
58
59 if (!pGuidSrc || !pGuidDest)
60 {
61 /* invalid param */
62 return DSERR_INVALIDPARAM;
63 }
64
65 /* sanity check */
66 ASSERT(!IsEqualGUID(pGuidSrc, &GUID_NULL));
67
68 if (IsEqualGUID(&DSDEVID_DefaultPlayback, pGuidSrc) ||
69 IsEqualGUID(&DSDEVID_DefaultVoicePlayback, pGuidSrc))
70 {
73 {
74 /* hack */
75 DPRINT1("Failed to get DRVM_MAPPER_PREFERRED_GET, using device 0\n");
76 DeviceID = 0;
77 }
78
80 {
81 /* device not found */
82 return DSERR_INVALIDPARAM;
83 }
84
85 /* copy device guid */
86 RtlMoveMemory(pGuidDest, &Filter->DeviceGuid[1], sizeof(GUID));
87 return DS_OK;
88 }
89 else if (IsEqualGUID(&DSDEVID_DefaultCapture, pGuidSrc) ||
90 IsEqualGUID(&DSDEVID_DefaultVoiceCapture, pGuidSrc))
91 {
94 {
95 /* hack */
96 DPRINT1("Failed to get DRVM_MAPPER_PREFERRED_GET, for record using device 0\n");
97 DeviceID = 0;
98 }
99
101 {
102 /* device not found */
103 return DSERR_INVALIDPARAM;
104 }
105
106 /* copy device guid */
107 RtlMoveMemory(pGuidDest, &Filter->DeviceGuid[0], sizeof(GUID));
108 return DS_OK;
109 }
110
111 if (!FindDeviceByGuid(pGuidSrc, &Filter))
112 {
113 /* unknown guid */
114 return DSERR_INVALIDPARAM;
115 }
116
117 /* done */
118 return DS_OK;
119}
#define DPRINT1
Definition: precomp.h:8
#define UlongToHandle(ul)
Definition: basetsd.h:97
BOOL FindDeviceByMappedId(IN ULONG DeviceID, LPFILTERINFO *Filter, BOOL bPlayback)
Definition: devicelist.c:442
BOOL FindDeviceByGuid(LPCGUID pGuidSrc, LPFILTERINFO *Filter)
Definition: devicelist.c:470
#define DS_OK
Definition: dsound.h:116
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
Definition: fltkernel.h:1801
#define ULONG_MAX
Definition: limits.h:44
#define GUID_NULL
Definition: ks.h:106
#define DRVM_MAPPER_PREFERRED_GET
Definition: mmsys.h:39
UINT MMRESULT
Definition: mmsystem.h:962
#define WAVE_MAPPER
Definition: mmsystem.h:187
#define MMSYSERR_NOERROR
Definition: mmsystem.h:96
#define ASSERT(a)
Definition: mode.c:44
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
uint32_t DWORD_PTR
Definition: typedefs.h:65
#define RtlMoveMemory(Destination, Source, Length)
Definition: typedefs.h:264
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING DeviceID
Definition: wdfpdo.h:278
UINT WINAPI waveInMessage(HWAVEIN hWaveIn, UINT uMessage, DWORD_PTR dwParam1, DWORD_PTR dwParam2)
Definition: winmm.c:2813
UINT WINAPI waveOutMessage(HWAVEOUT hWaveOut, UINT uMessage, DWORD_PTR dwParam1, DWORD_PTR dwParam2)
Definition: winmm.c:2538
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:409
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170

Referenced by CDirectSoundCapture_fnInitialize(), DirectSoundCaptureDevice_Initialize(), DirectSoundCaptureEnumerateW(), DirectSoundDevice_Initialize(), DirectSoundEnumerateW(), DSPROPERTY_DescriptionW(), IDirectSound8_fnInitialize(), and KSPropertySetImpl_Get().