ReactOS  0.4.14-dev-317-g96040ec
dsdriver.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DSDRIVERDESC
 
struct  _DSDRIVERCAPS
 
struct  _DSVOLUMEPAN
 
union  _DSPROPERTY
 
struct  _DSCDRIVERCAPS
 

Macros

#define DSDDESC_DOMMSYSTEMOPEN   0x00000001
 
#define DSDDESC_DOMMSYSTEMSETFORMAT   0x00000002
 
#define DSDDESC_USESYSTEMMEMORY   0x00000004
 
#define DSDDESC_DONTNEEDPRIMARYLOCK   0x00000008
 
#define DSDDESC_DONTNEEDSECONDARYLOCK   0x00000010
 
#define DSDDESC_DONTNEEDWRITELEAD   0x00000020
 
#define DSDHEAP_NOHEAP   0
 
#define DSDHEAP_CREATEHEAP   1
 
#define DSDHEAP_USEDIRECTDRAWHEAP   2
 
#define DSDHEAP_PRIVATEHEAP   3
 
#define INTERFACE   IDsDriver
 
#define IDsDriver_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDsDriver_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDsDriver_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDsDriver_GetDriverDesc(p, a)   (p)->lpVtbl->GetDriverDesc(p,a)
 
#define IDsDriver_Open(p)   (p)->lpVtbl->Open(p)
 
#define IDsDriver_Close(p)   (p)->lpVtbl->Close(p)
 
#define IDsDriver_GetCaps(p, a)   (p)->lpVtbl->GetCaps(p,a)
 
#define IDsDriver_CreateSoundBuffer(p, a, b, c, d, e, f)   (p)->lpVtbl->CreateSoundBuffer(p,a,b,c,d,e,f)
 
#define IDsDriver_DuplicateSoundBuffer(p, a, b)   (p)->lpVtbl->DuplicateSoundBuffer(p,a,b)
 
#define INTERFACE   IDsDriverBuffer
 
#define IDsDriverBuffer_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDsDriverBuffer_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDsDriverBuffer_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDsDriverBuffer_Lock(p, a, b, c, d, e, f, g)   (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
 
#define IDsDriverBuffer_Unlock(p, a, b, c, d)   (p)->lpVtbl->Unlock(p,a,b,c,d)
 
#define IDsDriverBuffer_SetFormat(p, a)   (p)->lpVtbl->SetFormat(p,a)
 
#define IDsDriverBuffer_SetFrequency(p, a)   (p)->lpVtbl->SetFrequency(p,a)
 
#define IDsDriverBuffer_SetVolumePan(p, a)   (p)->lpVtbl->SetVolumePan(p,a)
 
#define IDsDriverBuffer_SetPosition(p, a)   (p)->lpVtbl->SetPosition(p,a)
 
#define IDsDriverBuffer_GetPosition(p, a, b)   (p)->lpVtbl->GetPosition(p,a,b)
 
#define IDsDriverBuffer_Play(p, a, b, c)   (p)->lpVtbl->Play(p,a,b,c)
 
#define IDsDriverBuffer_Stop(p)   (p)->lpVtbl->Stop(p)
 
#define INTERFACE   IDsDriverPropertySet
 
#define IDsDriverPropertySet_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDsDriverPropertySet_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDsDriverPropertySet_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDsDriverPropertySet_Get(p, a, b, c, d, e, f)   (p)->lpVtbl->Get(p,a,b,c,d,e,f)
 
#define IDsDriverPropertySet_Set(p, a, b, c, d, e)   (p)->lpVtbl->Set(p,a,b,c,d,e)
 
#define IDsDriverPropertySet_QuerySupport(p, a, b, c)   (p)->lpVtbl->QuerySupport(p,a,b,c)
 
#define INTERFACE   IDsDriverNotify
 
#define IDsDriverNotify_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDsDriverNotify_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDsDriverNotify_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDsDriverNotify_SetNotificationPositions(p, a, b)   (p)->lpVtbl->SetNotificationPositions(p,a,b)
 
#define INTERFACE   IDsCaptureDriver
 
#define IDsCaptureDriver_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDsCaptureDriver_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDsCaptureDriver_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDsCaptureDriver_GetDriverDesc(p, a)   (p)->lpVtbl->GetDriverDesc(p,a)
 
#define IDsCaptureDriver_Open(p)   (p)->lpVtbl->Open(p)
 
#define IDsCaptureDriver_Close(p)   (p)->lpVtbl->Close(p)
 
#define IDsCaptureDriver_GetCaps(p, a)   (p)->lpVtbl->GetCaps(p,a)
 
#define IDsCaptureDriver_CreateCaptureBuffer(p, a, b, c, d, e, f)   (p)->lpVtbl->CreateCaptureBuffer(p,a,b,c,d,e,f)
 
#define INTERFACE   IDsCaptureDriverBuffer
 
#define IDsCaptureDriverBuffer_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDsCaptureDriverBuffer_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDsCaptureDriverBuffer_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDsCaptureDriverBuffer_Lock(p, a, b, c, d, e, f, g)   (p)->lpVtbl->Lock(p,a,b,c,d,e,f,g)
 
#define IDsCaptureDriverBuffer_Unlock(p, a, b, c, d)   (p)->lpVtbl->Unlock(p,a,b,c,d)
 
#define IDsCaptureDriverBuffer_SetFormat(p, a)   (p)->lpVtbl->SetFormat(p,a)
 
#define IDsCaptureDriverBuffer_GetPosition(p, a, b)   (p)->lpVtbl->GetPosition(p,a,b)
 
#define IDsCaptureDriverBuffer_GetStatus(p, a)   (p)->lpVtbl->GetStatus(p,a)
 
#define IDsCaptureDriverBuffer_Start(p, a)   (p)->lpVtbl->Start(p,a)
 
#define IDsCaptureDriverBuffer_Stop(p)   (p)->lpVtbl->Stop(p)
 

Typedefs

typedef struct IDsDriver * PIDSDRIVER
 
typedef struct IDsDriverBuffer * PIDSDRIVERBUFFER
 
typedef struct IDsDriverPropertySet * PIDSDRIVERPROPERTYSET
 
typedef struct IDsDriverNotify * PIDSDRIVERNOTIFY
 
typedef struct IDsCaptureDriver * PIDSCDRIVER
 
typedef struct IDsCaptureDriverBuffer * PIDSCDRIVERBUFFER
 
typedef struct _DSDRIVERDESC DSDRIVERDESC
 
typedef struct _DSDRIVERDESCPDSDRIVERDESC
 
typedef struct _DSDRIVERCAPS DSDRIVERCAPS
 
typedef struct _DSDRIVERCAPSPDSDRIVERCAPS
 
typedef struct _DSVOLUMEPAN DSVOLUMEPAN
 
typedef struct _DSVOLUMEPANPDSVOLUMEPAN
 
typedef union _DSPROPERTY DSPROPERTY
 
typedef union _DSPROPERTYPDSPROPERTY
 
typedef struct _DSCDRIVERCAPS DSCDRIVERCAPS
 
typedef struct _DSCDRIVERCAPSPDSCDRIVERCAPS
 

Enumerations

enum  DSPROPERTY_DIRECTSOUND3DLISTENER {
  DSPROPERTY_DIRECTSOUND3DLISTENER_ALL, DSPROPERTY_DIRECTSOUND3DLISTENER_POSITION, DSPROPERTY_DIRECTSOUND3DLISTENER_VELOCITY, DSPROPERTY_DIRECTSOUND3DLISTENER_ORIENTATION,
  DSPROPERTY_DIRECTSOUND3DLISTENER_DISTANCEFACTOR, DSPROPERTY_DIRECTSOUND3DLISTENER_ROLLOFFFACTOR, DSPROPERTY_DIRECTSOUND3DLISTENER_DOPPLERFACTOR, DSPROPERTY_DIRECTSOUND3DLISTENER_BATCH,
  DSPROPERTY_DIRECTSOUND3DLISTENER_ALLOCATION
}
 
enum  DSPROPERTY_DIRECTSOUND3DBUFFER {
  DSPROPERTY_DIRECTSOUND3DBUFFER_ALL, DSPROPERTY_DIRECTSOUND3DBUFFER_POSITION, DSPROPERTY_DIRECTSOUND3DBUFFER_VELOCITY, DSPROPERTY_DIRECTSOUND3DBUFFER_CONEANGLES,
  DSPROPERTY_DIRECTSOUND3DBUFFER_CONEORIENTATION, DSPROPERTY_DIRECTSOUND3DBUFFER_CONEOUTSIDEVOLUME, DSPROPERTY_DIRECTSOUND3DBUFFER_MINDISTANCE, DSPROPERTY_DIRECTSOUND3DBUFFER_MAXDISTANCE,
  DSPROPERTY_DIRECTSOUND3DBUFFER_MODE
}
 
enum  DSPROPERTY_DIRECTSOUNDSPEAKERCONFIG { DSPROPERTY_DIRECTSOUNDSPEAKERCONFIG_SPEAKERCONFIG }
 

Functions

 DEFINE_GUID (IID_IDsDriver, 0x8C4233C0l, 0xB4CC, 0x11CE, 0x92, 0x94, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00)
 
 DEFINE_GUID (IID_IDsDriverBuffer, 0x8C4233C1l, 0xB4CC, 0x11CE, 0x92, 0x94, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00)
 
 DEFINE_GUID (IID_IDsDriverPropertySet, 0x0F6F2E8E0, 0xD842, 0x11D0, 0x8F, 0x75, 0x00, 0xC0, 0x4F, 0xC2, 0x8A, 0xCA)
 
 DEFINE_GUID (IID_IDsDriverNotify, 0x00363EF44, 0x3B57, 0x11D3, 0xAC, 0x79, 0x00, 0x10, 0x5A, 0x01, 0x7f, 0xe1)
 
 DEFINE_GUID (IID_IDsCaptureDriver, 0x03DD10C47, 0x74FB, 0x11D3, 0x90, 0x49, 0xCB, 0xB4, 0xB3, 0x2E, 0xAA, 0x08)
 
 DEFINE_GUID (IID_IDsCaptureDriverBuffer, 0x03DD10C48, 0x74FB, 0x11D3, 0x90, 0x49, 0xCB, 0xB4, 0xB3, 0x2E, 0xAA, 0x08)
 
 DECLARE_INTERFACE_ (IDsDriver, IUnknown)
 
 DECLARE_INTERFACE_ (IDsDriverBuffer, IUnknown)
 
 DECLARE_INTERFACE_ (IDsDriverPropertySet, IUnknown)
 
 DEFINE_GUID (DSPROPSETID_DirectSound3DListener, 0x6D047B40, 0x7AF9, 0x11D0, 0x92, 0x94, 0x44, 0x45, 0x53, 0x54, 0x0, 0x0)
 
 DEFINE_GUID (DSPROPSETID_DirectSound3DBuffer, 0x6D047B41, 0x7AF9, 0x11D0, 0x92, 0x94, 0x44, 0x45, 0x53, 0x54, 0x0, 0x0)
 
 DEFINE_GUID (DSPROPSETID_DirectSoundSpeakerConfig, 0x6D047B42, 0x7AF9, 0x11D0, 0x92, 0x94, 0x44, 0x45, 0x53, 0x54, 0x0, 0x0)
 
 DECLARE_INTERFACE_ (IDsDriverNotify, IUnknown)
 
 DECLARE_INTERFACE_ (IDsCaptureDriver, IUnknown)
 
 DECLARE_INTERFACE_ (IDsCaptureDriverBuffer, IUnknown)
 

Macro Definition Documentation

◆ DSDDESC_DOMMSYSTEMOPEN

#define DSDDESC_DOMMSYSTEMOPEN   0x00000001

Definition at line 50 of file dsdriver.h.

◆ DSDDESC_DOMMSYSTEMSETFORMAT

#define DSDDESC_DOMMSYSTEMSETFORMAT   0x00000002

Definition at line 51 of file dsdriver.h.

◆ DSDDESC_DONTNEEDPRIMARYLOCK

#define DSDDESC_DONTNEEDPRIMARYLOCK   0x00000008

Definition at line 53 of file dsdriver.h.

◆ DSDDESC_DONTNEEDSECONDARYLOCK

#define DSDDESC_DONTNEEDSECONDARYLOCK   0x00000010

Definition at line 54 of file dsdriver.h.

◆ DSDDESC_DONTNEEDWRITELEAD

#define DSDDESC_DONTNEEDWRITELEAD   0x00000020

Definition at line 55 of file dsdriver.h.

◆ DSDDESC_USESYSTEMMEMORY

#define DSDDESC_USESYSTEMMEMORY   0x00000004

Definition at line 52 of file dsdriver.h.

◆ DSDHEAP_CREATEHEAP

#define DSDHEAP_CREATEHEAP   1

Definition at line 58 of file dsdriver.h.

◆ DSDHEAP_NOHEAP

#define DSDHEAP_NOHEAP   0

Definition at line 57 of file dsdriver.h.

◆ DSDHEAP_PRIVATEHEAP

#define DSDHEAP_PRIVATEHEAP   3

Definition at line 60 of file dsdriver.h.

◆ DSDHEAP_USEDIRECTDRAWHEAP

#define DSDHEAP_USEDIRECTDRAWHEAP   2

Definition at line 59 of file dsdriver.h.

◆ IDsCaptureDriver_AddRef

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

Definition at line 316 of file dsdriver.h.

◆ IDsCaptureDriver_Close

#define IDsCaptureDriver_Close (   p)    (p)->lpVtbl->Close(p)

Definition at line 321 of file dsdriver.h.

◆ IDsCaptureDriver_CreateCaptureBuffer

#define IDsCaptureDriver_CreateCaptureBuffer (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->CreateCaptureBuffer(p,a,b,c,d,e,f)

Definition at line 323 of file dsdriver.h.

◆ IDsCaptureDriver_GetCaps

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

Definition at line 322 of file dsdriver.h.

◆ IDsCaptureDriver_GetDriverDesc

#define IDsCaptureDriver_GetDriverDesc (   p,
  a 
)    (p)->lpVtbl->GetDriverDesc(p,a)

Definition at line 319 of file dsdriver.h.

◆ IDsCaptureDriver_Open

#define IDsCaptureDriver_Open (   p)    (p)->lpVtbl->Open(p)

Definition at line 320 of file dsdriver.h.

◆ IDsCaptureDriver_QueryInterface

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

Definition at line 315 of file dsdriver.h.

◆ IDsCaptureDriver_Release

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

Definition at line 317 of file dsdriver.h.

◆ IDsCaptureDriverBuffer_AddRef

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

Definition at line 350 of file dsdriver.h.

◆ IDsCaptureDriverBuffer_GetPosition

#define IDsCaptureDriverBuffer_GetPosition (   p,
  a,
  b 
)    (p)->lpVtbl->GetPosition(p,a,b)

Definition at line 356 of file dsdriver.h.

◆ IDsCaptureDriverBuffer_GetStatus

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

Definition at line 357 of file dsdriver.h.

◆ IDsCaptureDriverBuffer_Lock

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

Definition at line 353 of file dsdriver.h.

◆ IDsCaptureDriverBuffer_QueryInterface

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

Definition at line 349 of file dsdriver.h.

◆ IDsCaptureDriverBuffer_Release

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

Definition at line 351 of file dsdriver.h.

◆ IDsCaptureDriverBuffer_SetFormat

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

Definition at line 355 of file dsdriver.h.

◆ IDsCaptureDriverBuffer_Start

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

Definition at line 358 of file dsdriver.h.

◆ IDsCaptureDriverBuffer_Stop

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

Definition at line 359 of file dsdriver.h.

◆ IDsCaptureDriverBuffer_Unlock

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

Definition at line 354 of file dsdriver.h.

◆ IDsDriver_AddRef

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

Definition at line 156 of file dsdriver.h.

◆ IDsDriver_Close

#define IDsDriver_Close (   p)    (p)->lpVtbl->Close(p)

Definition at line 161 of file dsdriver.h.

◆ IDsDriver_CreateSoundBuffer

#define IDsDriver_CreateSoundBuffer (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->CreateSoundBuffer(p,a,b,c,d,e,f)

Definition at line 163 of file dsdriver.h.

◆ IDsDriver_DuplicateSoundBuffer

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

Definition at line 164 of file dsdriver.h.

◆ IDsDriver_GetCaps

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

Definition at line 162 of file dsdriver.h.

◆ IDsDriver_GetDriverDesc

#define IDsDriver_GetDriverDesc (   p,
  a 
)    (p)->lpVtbl->GetDriverDesc(p,a)

Definition at line 159 of file dsdriver.h.

◆ IDsDriver_Open

#define IDsDriver_Open (   p)    (p)->lpVtbl->Open(p)

Definition at line 160 of file dsdriver.h.

◆ IDsDriver_QueryInterface

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

Definition at line 155 of file dsdriver.h.

◆ IDsDriver_Release

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

Definition at line 157 of file dsdriver.h.

◆ IDsDriverBuffer_AddRef

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

Definition at line 193 of file dsdriver.h.

◆ IDsDriverBuffer_GetPosition

#define IDsDriverBuffer_GetPosition (   p,
  a,
  b 
)    (p)->lpVtbl->GetPosition(p,a,b)

Definition at line 202 of file dsdriver.h.

◆ IDsDriverBuffer_Lock

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

Definition at line 196 of file dsdriver.h.

◆ IDsDriverBuffer_Play

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

Definition at line 203 of file dsdriver.h.

◆ IDsDriverBuffer_QueryInterface

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

Definition at line 192 of file dsdriver.h.

◆ IDsDriverBuffer_Release

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

Definition at line 194 of file dsdriver.h.

◆ IDsDriverBuffer_SetFormat

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

Definition at line 198 of file dsdriver.h.

◆ IDsDriverBuffer_SetFrequency

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

Definition at line 199 of file dsdriver.h.

◆ IDsDriverBuffer_SetPosition

#define IDsDriverBuffer_SetPosition (   p,
  a 
)    (p)->lpVtbl->SetPosition(p,a)

Definition at line 201 of file dsdriver.h.

◆ IDsDriverBuffer_SetVolumePan

#define IDsDriverBuffer_SetVolumePan (   p,
  a 
)    (p)->lpVtbl->SetVolumePan(p,a)

Definition at line 200 of file dsdriver.h.

◆ IDsDriverBuffer_Stop

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

Definition at line 204 of file dsdriver.h.

◆ IDsDriverBuffer_Unlock

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

Definition at line 197 of file dsdriver.h.

◆ IDsDriverNotify_AddRef

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

Definition at line 288 of file dsdriver.h.

◆ IDsDriverNotify_QueryInterface

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

Definition at line 287 of file dsdriver.h.

◆ IDsDriverNotify_Release

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

Definition at line 289 of file dsdriver.h.

◆ IDsDriverNotify_SetNotificationPositions

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

Definition at line 291 of file dsdriver.h.

◆ IDsDriverPropertySet_AddRef

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

Definition at line 227 of file dsdriver.h.

◆ IDsDriverPropertySet_Get

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

Definition at line 230 of file dsdriver.h.

◆ IDsDriverPropertySet_QueryInterface

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

Definition at line 226 of file dsdriver.h.

◆ IDsDriverPropertySet_QuerySupport

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

Definition at line 232 of file dsdriver.h.

◆ IDsDriverPropertySet_Release

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

Definition at line 228 of file dsdriver.h.

◆ IDsDriverPropertySet_Set

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

Definition at line 231 of file dsdriver.h.

◆ INTERFACE [1/6]

#define INTERFACE   IDsDriver

Definition at line 329 of file dsdriver.h.

◆ INTERFACE [2/6]

#define INTERFACE   IDsDriverBuffer

Definition at line 329 of file dsdriver.h.

◆ INTERFACE [3/6]

#define INTERFACE   IDsDriverPropertySet

Definition at line 329 of file dsdriver.h.

◆ INTERFACE [4/6]

#define INTERFACE   IDsDriverNotify

Definition at line 329 of file dsdriver.h.

◆ INTERFACE [5/6]

#define INTERFACE   IDsCaptureDriver

Definition at line 329 of file dsdriver.h.

◆ INTERFACE [6/6]

#define INTERFACE   IDsCaptureDriverBuffer

Definition at line 329 of file dsdriver.h.

Typedef Documentation

◆ DSCDRIVERCAPS

◆ DSDRIVERCAPS

◆ DSDRIVERDESC

◆ DSPROPERTY

typedef union _DSPROPERTY DSPROPERTY

◆ DSVOLUMEPAN

◆ PDSCDRIVERCAPS

◆ PDSDRIVERCAPS

◆ PDSDRIVERDESC

◆ PDSPROPERTY

typedef union _DSPROPERTY* PDSPROPERTY

◆ PDSVOLUMEPAN

◆ PIDSCDRIVER

typedef struct IDsCaptureDriver* PIDSCDRIVER

Definition at line 45 of file dsdriver.h.

◆ PIDSCDRIVERBUFFER

typedef struct IDsCaptureDriverBuffer* PIDSCDRIVERBUFFER

Definition at line 48 of file dsdriver.h.

◆ PIDSDRIVER

typedef struct IDsDriver* PIDSDRIVER

Definition at line 33 of file dsdriver.h.

◆ PIDSDRIVERBUFFER

typedef struct IDsDriverBuffer* PIDSDRIVERBUFFER

Definition at line 36 of file dsdriver.h.

◆ PIDSDRIVERNOTIFY

typedef struct IDsDriverNotify* PIDSDRIVERNOTIFY

Definition at line 42 of file dsdriver.h.

◆ PIDSDRIVERPROPERTYSET

typedef struct IDsDriverPropertySet* PIDSDRIVERPROPERTYSET

Definition at line 39 of file dsdriver.h.

Enumeration Type Documentation

◆ DSPROPERTY_DIRECTSOUND3DBUFFER

Enumerator
DSPROPERTY_DIRECTSOUND3DBUFFER_ALL 
DSPROPERTY_DIRECTSOUND3DBUFFER_POSITION 
DSPROPERTY_DIRECTSOUND3DBUFFER_VELOCITY 
DSPROPERTY_DIRECTSOUND3DBUFFER_CONEANGLES 
DSPROPERTY_DIRECTSOUND3DBUFFER_CONEORIENTATION 
DSPROPERTY_DIRECTSOUND3DBUFFER_CONEOUTSIDEVOLUME 
DSPROPERTY_DIRECTSOUND3DBUFFER_MINDISTANCE 
DSPROPERTY_DIRECTSOUND3DBUFFER_MAXDISTANCE 
DSPROPERTY_DIRECTSOUND3DBUFFER_MODE 

Definition at line 251 of file dsdriver.h.

◆ DSPROPERTY_DIRECTSOUND3DLISTENER

Enumerator
DSPROPERTY_DIRECTSOUND3DLISTENER_ALL 
DSPROPERTY_DIRECTSOUND3DLISTENER_POSITION 
DSPROPERTY_DIRECTSOUND3DLISTENER_VELOCITY 
DSPROPERTY_DIRECTSOUND3DLISTENER_ORIENTATION 
DSPROPERTY_DIRECTSOUND3DLISTENER_DISTANCEFACTOR 
DSPROPERTY_DIRECTSOUND3DLISTENER_ROLLOFFFACTOR 
DSPROPERTY_DIRECTSOUND3DLISTENER_DOPPLERFACTOR 
DSPROPERTY_DIRECTSOUND3DLISTENER_BATCH 
DSPROPERTY_DIRECTSOUND3DLISTENER_ALLOCATION 

Definition at line 237 of file dsdriver.h.

◆ DSPROPERTY_DIRECTSOUNDSPEAKERCONFIG

Enumerator
DSPROPERTY_DIRECTSOUNDSPEAKERCONFIG_SPEAKERCONFIG 

Definition at line 265 of file dsdriver.h.

Function Documentation

◆ DECLARE_INTERFACE_() [1/6]

DECLARE_INTERFACE_ ( IDsDriver  ,
IUnknown   
)

Definition at line 137 of file dsdriver.h.

138 {
139  /*** IUnknown methods ***/
143  /*** IDsDriver methods ***/
144  STDMETHOD(GetDriverDesc)(THIS_ PDSDRIVERDESC pDsDriverDesc) PURE;
147  STDMETHOD(GetCaps)(THIS_ PDSDRIVERCAPS pDsDrvCaps) PURE;
148  STDMETHOD(CreateSoundBuffer)(THIS_ LPWAVEFORMATEX pwfx,DWORD dwFlags,DWORD dwCardAddress,LPDWORD pdwcbBufferSize,LPBYTE *ppbBuffer,LPVOID *ppvObj) PURE;
149  STDMETHOD(DuplicateSoundBuffer)(THIS_ PIDSDRIVERBUFFER pIDsDriverBuffer,LPVOID *ppvObj) PURE;
150 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
#define Open
Definition: syshdrs.h:62
unsigned char * LPBYTE
Definition: typedefs.h:52
LONG HRESULT
Definition: typedefs.h:77
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
REFIID LPVOID * ppvObject
Definition: precomp.h:44
struct IDsDriverBuffer * PIDSDRIVERBUFFER
Definition: dsdriver.h:36
Definition: sacdrv.h:267
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
uint32_t * LPDWORD
Definition: typedefs.h:57
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [2/6]

DECLARE_INTERFACE_ ( IDsDriverBuffer  ,
IUnknown   
)

Definition at line 171 of file dsdriver.h.

172 {
173  /*** IUnknown methods ***/
177  /*** IDsDriverBuffer methods ***/
178  STDMETHOD(Lock)(THIS_ LPVOID *ppvAudio1,LPDWORD pdwLen1,LPVOID *pdwAudio2,LPDWORD pdwLen2,DWORD dwWritePosition,DWORD dwWriteLen,DWORD dwFlags) PURE;
179  STDMETHOD(Unlock)(THIS_ LPVOID pvAudio1,DWORD dwLen1,LPVOID pvAudio2,DWORD dwLen2) PURE;
180  STDMETHOD(SetFormat)(THIS_ LPWAVEFORMATEX pwfxToSet) PURE;
181  STDMETHOD(SetFrequency)(THIS_ DWORD dwFrequency) PURE;
182  STDMETHOD(SetVolumePan)(THIS_ PDSVOLUMEPAN pDsVolumePan) PURE;
183  STDMETHOD(SetPosition)(THIS_ DWORD dwNewPosition) PURE;
184  STDMETHOD(GetPosition)(THIS_ LPDWORD lpdwCurrentPlayCursor,LPDWORD lpdwCurrentWriteCursor) PURE;
185  STDMETHOD(Play)(THIS_ DWORD dwReserved1,DWORD dwReserved2,DWORD dwFlags) PURE;
187 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ PVOID _Out_ BOOLEAN * Stop
Definition: ldrtypes.h:241
LONG HRESULT
Definition: typedefs.h:77
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
REFIID LPVOID * ppvObject
Definition: precomp.h:44
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment IN PNDIS_RW_LOCK Lock
Definition: CrNtStubs.h:75
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
uint32_t * LPDWORD
Definition: typedefs.h:57
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
DWORD GetPosition(DWORD private_handle, PMMTIME time, DWORD time_size)

◆ DECLARE_INTERFACE_() [3/6]

DECLARE_INTERFACE_ ( IDsDriverPropertySet  ,
IUnknown   
)

Definition at line 211 of file dsdriver.h.

212 {
213  /*** IUnknown methods ***/
217  /*** IDsDriverPropertySet methods ***/
218  STDMETHOD(Get)(THIS_ PDSPROPERTY pDsProperty,LPVOID pPropertyParams,ULONG cbPropertyParams,LPVOID pPropertyData,ULONG cbPropertyData,PULONG pcbReturnedData) PURE;
219  STDMETHOD(Set)(THIS_ PDSPROPERTY pDsProperty,LPVOID pPropertyParams,ULONG cbPropertyParams,LPVOID pPropertyData,ULONG cbPropertyData) PURE;
220  STDMETHOD(QuerySupport)(THIS_ REFGUID PropertySetId,ULONG PropertyId,PULONG pSupport) PURE;
221 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
Definition: scsiwmi.h:51
_In_ BOOLEAN Release
Definition: classpnp.h:929
_In_ PSTORAGE_PROPERTY_ID PropertyId
Definition: classpnp.h:966
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
static BOOL Set
Definition: pageheap.c:10
#define STDMETHOD(m)
Definition: basetyps.h:62
LONG HRESULT
Definition: typedefs.h:77
REFIID LPVOID * ppvObject
Definition: precomp.h:44
unsigned int * PULONG
Definition: retypes.h:1
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
STDMETHOD() Get(THIS_ IN REFGUID PropSet, IN ULONG Id, IN LPVOID InstanceData, IN ULONG InstanceLength, OUT LPVOID PropertyData, IN ULONG DataLength, OUT ULONG *BytesReturned) PURE
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [4/6]

DECLARE_INTERFACE_ ( IDsDriverNotify  ,
IUnknown   
)

Definition at line 274 of file dsdriver.h.

275 {
276  /*** IUnknown methods ***/
280  /*** IDsDriverNotify methods ***/
281  STDMETHOD(SetNotificationPositions)(THIS_ DWORD dwPositionNotifies,LPCDSBPOSITIONNOTIFY pcPositionNotifies) PURE;
282 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
LONG HRESULT
Definition: typedefs.h:77
unsigned long DWORD
Definition: ntddk_ex.h:95
REFIID LPVOID * ppvObject
Definition: precomp.h:44
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [5/6]

DECLARE_INTERFACE_ ( IDsCaptureDriver  ,
IUnknown   
)

Definition at line 298 of file dsdriver.h.

299 {
300  /*** IUnknown methods ***/
304  /*** IDsCaptureDriver methods ***/
305  STDMETHOD(GetDriverDesc)(THIS_ PDSDRIVERDESC pDsDriverDesc) PURE;
308  STDMETHOD(GetCaps)(THIS_ PDSCDRIVERCAPS pDsDrvCaps) PURE;
309  STDMETHOD(CreateCaptureBuffer)(THIS_ LPWAVEFORMATEX pwfx,DWORD dwFlags,DWORD dwCardAddress,LPDWORD pdwcbBufferSize,LPBYTE *ppbBuffer,LPVOID *ppvObj) PURE;
310 };
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
#define Open
Definition: syshdrs.h:62
unsigned char * LPBYTE
Definition: typedefs.h:52
LONG HRESULT
Definition: typedefs.h:77
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
REFIID LPVOID * ppvObject
Definition: precomp.h:44
Definition: sacdrv.h:267
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
uint32_t * LPDWORD
Definition: typedefs.h:57
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [6/6]

DECLARE_INTERFACE_ ( IDsCaptureDriverBuffer  ,
IUnknown   
)

Definition at line 330 of file dsdriver.h.

331 {
332  /*** IUnknown methods ***/
336  /*** IDsCaptureDriverBuffer methods ***/
337  STDMETHOD(Lock)(THIS_ LPVOID *ppvAudio1,LPDWORD pdwLen1,LPVOID *ppvAudio2,LPDWORD pdwLen2,DWORD dwWritePosition,DWORD dwWriteLen,DWORD dwFlags) PURE;
338  STDMETHOD(Unlock)(THIS_ LPVOID pvAudio1,DWORD dwLen1,LPVOID pvAudio2,DWORD dwLen2) PURE;
339  STDMETHOD(SetFormat)(THIS_ LPWAVEFORMATEX pwfxToSet) PURE;
340  STDMETHOD(GetPosition)(THIS_ LPDWORD lpdwCurrentPlayCursor,LPDWORD lpdwCurrentWriteCursor) PURE;
341  STDMETHOD(GetStatus)(THIS_ LPDWORD lpdwStatus) PURE;
344 };
#define REFIID
Definition: guiddef.h:118
#define GetStatus(BaseIoAddress, Status)
Definition: atapi.h:328
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ PVOID _Out_ BOOLEAN * Stop
Definition: ldrtypes.h:241
LONG HRESULT
Definition: typedefs.h:77
unsigned long DWORD
Definition: ntddk_ex.h:95
Definition: partlist.h:33
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
REFIID LPVOID * ppvObject
Definition: precomp.h:44
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment IN PNDIS_RW_LOCK Lock
Definition: CrNtStubs.h:75
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
uint32_t * LPDWORD
Definition: typedefs.h:57
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
DWORD GetPosition(DWORD private_handle, PMMTIME time, DWORD time_size)

◆ DEFINE_GUID() [1/9]

DEFINE_GUID ( IID_IDsDriver  ,
0x8C4233C0l  ,
0xB4CC  ,
0x11CE  ,
0x92  ,
0x94  ,
0x44  ,
0x45  ,
0x53  ,
0x54  ,
0x00  ,
0x00   
)

◆ DEFINE_GUID() [2/9]

DEFINE_GUID ( IID_IDsDriverBuffer  ,
0x8C4233C1l  ,
0xB4CC  ,
0x11CE  ,
0x92  ,
0x94  ,
0x44  ,
0x45  ,
0x53  ,
0x54  ,
0x00  ,
0x00   
)

◆ DEFINE_GUID() [3/9]

DEFINE_GUID ( IID_IDsDriverPropertySet  ,
0x0F6F2E8E0  ,
0xD842  ,
0x11D0  ,
0x8F  ,
0x75  ,
0x00  ,
0xC0  ,
0x4F  ,
0xC2  ,
0x8A  ,
0xCA   
)

◆ DEFINE_GUID() [4/9]

DEFINE_GUID ( IID_IDsDriverNotify  ,
0x00363EF44  ,
0x3B57  ,
0x11D3  ,
0xAC  ,
0x79  ,
0x00  ,
0x10  ,
0x5A  ,
0x01  ,
0x7f  ,
0xe1   
)

◆ DEFINE_GUID() [5/9]

DEFINE_GUID ( IID_IDsCaptureDriver  ,
0x03DD10C47  ,
0x74FB  ,
0x11D3  ,
0x90  ,
0x49  ,
0xCB  ,
0xB4  ,
0xB3  ,
0x2E  ,
0xAA  ,
0x08   
)

◆ DEFINE_GUID() [6/9]

DEFINE_GUID ( IID_IDsCaptureDriverBuffer  ,
0x03DD10C48  ,
0x74FB  ,
0x11D3  ,
0x90  ,
0x49  ,
0xCB  ,
0xB4  ,
0xB3  ,
0x2E  ,
0xAA  ,
0x08   
)

◆ DEFINE_GUID() [7/9]

DEFINE_GUID ( DSPROPSETID_DirectSound3DListener  ,
0x6D047B40  ,
0x7AF9  ,
0x11D0  ,
0x92  ,
0x94  ,
0x44  ,
0x45  ,
0x53  ,
0x54  ,
0x0  ,
0x0   
)

◆ DEFINE_GUID() [8/9]

DEFINE_GUID ( DSPROPSETID_DirectSound3DBuffer  ,
0x6D047B41  ,
0x7AF9  ,
0x11D0  ,
0x92  ,
0x94  ,
0x44  ,
0x45  ,
0x53  ,
0x54  ,
0x0  ,
0x0   
)

◆ DEFINE_GUID() [9/9]

DEFINE_GUID ( DSPROPSETID_DirectSoundSpeakerConfig  ,
0x6D047B42  ,
0x7AF9  ,
0x11D0  ,
0x92  ,
0x94  ,
0x44  ,
0x45  ,
0x53  ,
0x54  ,
0x0  ,
0x0   
)