ReactOS  0.4.14-dev-854-gb9426a3
interfaces.hpp File Reference
#include <portcls.h>
#include <stdunk.h>
Include dependency graph for interfaces.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CMI8738Info
 
struct  VolumeTable
 

Macros

#define MAXLEN_DMA_BUFFER   0x18000
 
#define MAX_OUTPUT_STREAMS   1
 
#define MAX_INPUT_STREAMS   1
 
#define MAX_AC3_INPUT_STREAMS   1
 
#define MIN_CHANNELS   2
 
#define MAX_CHANNELS_PCM   8
 
#define MIN_BITS_PER_SAMPLE_PCM   16
 
#define MAX_BITS_PER_SAMPLE_PCM   32
 
#define MIN_SAMPLE_RATE   44100
 
#define MAX_SAMPLE_RATE   96000
 
#define MAX_SAMPLE_RATE_MULTI   48000
 
#define MAX_CHANNELS_AC3   2
 
#define MIN_BITS_PER_SAMPLE_AC3   16
 
#define MAX_BITS_PER_SAMPLE_AC3   16
 
#define MIN_SAMPLE_RATE_AC3   48000
 
#define MAX_SAMPLE_RATE_AC3   48000
 
#define MAX_CHANNELS_WMA   2
 
#define MIN_BITS_PER_SAMPLE_WMA   16
 
#define MAX_BITS_PER_SAMPLE_WMA   16
 
#define MIN_SAMPLE_RATE_WMA   44100
 
#define MAX_SAMPLE_RATE_WMA   48000
 
#define PCM_OUT_STREAM   0
 
#define PCM_IN_STREAM   1
 
#define AC3_OUT_STREAM   2
 
#define CHAN_LEFT   0
 
#define CHAN_RIGHT   1
 
#define CHAN_MASTER   (-1)
 
#define IN_CHANNEL   0
 
#define OUT_CHANNEL   1
 
#define UInt32   ULONG
 
#define UInt16   USHORT
 
#define UInt8   BYTE
 
#define Int32   LONG
 
#define KSSTATE_STOP_AC3   (KSSTATE)5
 
#define KSSTATE_RUN_AC3   (KSSTATE)6
 
#define STATIC_PRODUCT_CM8738   0x9db14e9a, 0x7be7, 0x480d, {0xa2, 0xfa, 0x32, 0x93, 0x24, 0x89, 0xde, 0x9c}
 
#define PRODUCT_CM8738   DEFINE_GUIDNAMED(PRODUCT_CM8738)
 
#define STATIC_COMPONENT_CM8738   0x9db14e9a, 0x7be7, 0x480d, {0xa2, 0xfa, 0x32, 0x93, 0x24, 0x89, 0xde, 0x9d}
 
#define COMPONENT_CM8738   DEFINE_GUIDNAMED(COMPONENT_CM8738)
 
#define STATIC_MANUFACTURER_CM8738   0x9db14e9a, 0x7be7, 0x480d, {0xa2, 0xfa, 0x32, 0x93, 0x24, 0x89, 0xde, 0x9e}
 
#define MANUFACTURER_CM8738   DEFINE_GUIDNAMED(MANUFACTURER_CM8738)
 
#define CMIPCI_VERSION   0x00
 
#define STATIC_CMINAME_IEC_5V   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF0}
 
#define CMINAME_IEC_5V   DEFINE_GUIDNAMED(CMINAME_IEC_5V)
 
#define STATIC_CMINAME_IEC_OUT   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF1}
 
#define CMINAME_IEC_OUT   DEFINE_GUIDNAMED(CMINAME_IEC_OUT)
 
#define STATIC_CMINAME_IEC_INVERSE   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF2}
 
#define CMINAME_IEC_INVERSE   DEFINE_GUIDNAMED(CMINAME_IEC_INVERSE)
 
#define STATIC_CMINAME_IEC_MONITOR   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF3}
 
#define CMINAME_IEC_MONITOR   DEFINE_GUIDNAMED(CMINAME_IEC_MONITOR)
 
#define STATIC_CMINAME_DAC   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF4}
 
#define CMINAME_DAC   DEFINE_GUIDNAMED(CMINAME_DAC)
 
#define STATIC_CMINAME_IEC_SELECT   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF5}
 
#define CMINAME_IEC_SELECT   DEFINE_GUIDNAMED(CMINAME_IEC_SELECT)
 
#define STATIC_CMINAME_XCHG_FB   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF6}
 
#define CMINAME_XCHG_FB   DEFINE_GUIDNAMED(CMINAME_XCHG_FB)
 
#define STATIC_CMINAME_BASS2LINE   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF7}
 
#define CMINAME_BASS2LINE   DEFINE_GUIDNAMED(CMINAME_BASS2LINE)
 
#define STATIC_CMINAME_CENTER2LINE   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF8}
 
#define CMINAME_CENTER2LINE   DEFINE_GUIDNAMED(CMINAME_CENTER2LINE)
 
#define STATIC_CMINAME_IEC_COPYRIGHT   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF9}
 
#define CMINAME_IEC_COPYRIGHT   DEFINE_GUIDNAMED(CMINAME_IEC_COPYRIGHT)
 
#define STATIC_CMINAME_IEC_POLVALID   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xFA}
 
#define CMINAME_IEC_POLVALID   DEFINE_GUIDNAMED(CMINAME_IEC_POLVALID)
 
#define STATIC_CMINAME_IEC_LOOP   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xFB}
 
#define CMINAME_IEC_LOOP   DEFINE_GUIDNAMED(CMINAME_IEC_LOOP)
 
#define STATIC_CMINAME_REAR2LINE   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xFC}
 
#define CMINAME_REAR2LINE   DEFINE_GUIDNAMED(CMINAME_REAR2LINE)
 
#define STATIC_CMINAME_CENTER2MIC   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xFD}
 
#define CMINAME_CENTER2MIC   DEFINE_GUIDNAMED(CMINAME_CENTER2MIC)
 

Typedefs

typedef ICMITopology * PCMITOPOLOGY
 
typedef IMiniportWaveCMI * PCMIWAVE
 
typedef struct CMI8738Info CMI8738Info
 
typedef CMI8738InfoPCMI8738Info
 
typedef struct VolumeTable VolumeTable
 
typedef ICMIAdapter * PCMIADAPTER
 

Enumerations

enum  {
  PIN_WAVEOUT_SOURCE = 0, PIN_SPDIFIN_SOURCE, PIN_MIC_SOURCE, PIN_CD_SOURCE,
  PIN_LINEIN_SOURCE, PIN_AUX_SOURCE, PIN_DAC_SOURCE, PIN_LINEOUT_DEST,
  PIN_WAVEIN_DEST, PIN_SPDIF_AC3_SOURCE, PIN_SPDIF_AC3_DEST, PIN_INVALID
}
 
enum  {
  KSNODE_TOPO_WAVEOUT_VOLUME = 0, KSNODE_TOPO_WAVEOUT_MUTE, KSNODE_TOPO_MICOUT_VOLUME, KSNODE_TOPO_LINEOUT_MIX,
  KSNODE_TOPO_LINEOUT_VOLUME, KSNODE_TOPO_WAVEIN_SUM, KSNODE_TOPO_CD_VOLUME, KSNODE_TOPO_LINEIN_VOLUME,
  KSNODE_TOPO_AUX_VOLUME, KSNODE_TOPO_MICIN_VOLUME, KSNODE_TOPO_MICIN_LOUDNESS, KSNODE_TOPO_MICOUT_LOUDNESS,
  KSNODE_TOPO_CD_MUTE, KSNODE_TOPO_LINEIN_MUTE, KSNODE_TOPO_MICOUT_MUTE, KSNODE_TOPO_AUX_MUTE,
  KSNODE_TOPO_LINEIN_MUTE_IN, KSNODE_TOPO_MIC_MUTE_IN, KSNODE_TOPO_AUX_MUTE_IN, KSNODE_TOPO_CD_MUTE_IN,
  KSNODE_TOPO_WAVEOUT_MUTE_IN, KSNODE_TOPO_IEC_5V, KSNODE_TOPO_IEC_OUT, KSNODE_TOPO_IEC_INVERSE,
  KSNODE_TOPO_IEC_MONITOR, KSNODE_TOPO_IEC_SELECT, KSNODE_TOPO_SPDIF_AC3_MUTE, KSNODE_TOPO_SPDIF_AC3_MUX,
  KSNODE_TOPO_XCHG_FB, KSNODE_TOPO_BASS2LINE, KSNODE_TOPO_CENTER2LINE, KSNODE_TOPO_IEC_COPYRIGHT,
  KSNODE_TOPO_IEC_POLVALID, KSNODE_TOPO_IEC_LOOP, KSNODE_TOPO_REAR2LINE, KSNODE_TOPO_CENTER2MIC,
  KSNODE_TOPO_MASTER_MUTE_DUMMY, KSNODE_TOPO_INVALID
}
 
enum  {
  PIN_WAVE_CAPTURE_SINK = 0, PIN_WAVE_CAPTURE_SOURCE, PIN_WAVE_RENDER_SINK, PIN_WAVE_RENDER_SOURCE,
  PIN_WAVE_AC3_RENDER_SINK, PIN_WAVE_AC3_RENDER_SOURCE, PIN_WAVE_INVALID
}
 
enum  {
  KSNODE_WAVE_ADC = 0, KSNODE_WAVE_VOLUME1, KSNODE_WAVE_3D_EFFECTS, KSNODE_WAVE_SUPERMIX,
  KSNODE_WAVE_VOLUME2, KSNODE_WAVE_SRC, KSNODE_WAVE_SUM, KSNODE_WAVE_DAC,
  KSNODE_WAVE_SPDIF, KSNODE_WAVE_INVALID
}
 

Functions

 DECLARE_INTERFACE_ (ICMITopology, IMiniportTopology)
 
 DECLARE_INTERFACE_ (IMiniportWaveCMI, IUnknown)
 
 DECLARE_INTERFACE_ (ICMIAdapter, IUnknown)
 
 DEFINE_GUID (IID_ICMIAdapter, 0x34b338a2, 0xbb40, 0x4ecd, 0xb9, 0x7a, 0xae, 0xb0, 0x3f, 0x32, 0x58, 0x25)
 
 DEFINE_GUID (IID_ICMITopolgy, 0x60bb55cf, 0xc960, 0x4ddf, 0xb7, 0xa4, 0x24, 0x39, 0x78, 0xb2, 0xfe, 0x7b)
 
 DEFINE_GUID (IID_IMiniportWaveCMI, 0xe8698236, 0xd854, 0x4da7, 0xbf, 0x31, 0x83, 0x32, 0xc6, 0x14, 0xce, 0x91)
 
 DEFINE_GUIDSTRUCT ("9DB14E9A-7BE7-480d-A2FA-32932489DE9C", PRODUCT_CM8738)
 
 DEFINE_GUIDSTRUCT ("9DB14E9A-7BE7-480d-A2FA-32932489DE9D", COMPONENT_CM8738)
 
 DEFINE_GUIDSTRUCT ("9DB14E9A-7BE7-480d-A2FA-32932489DE9E", MANUFACTURER_CM8738)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF0", CMINAME_IEC_5V)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF1", CMINAME_IEC_OUT)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF2", CMINAME_IEC_INVERSE)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF3", CMINAME_IEC_MONITOR)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF4", CMINAME_DAC)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF5", CMINAME_IEC_SELECT)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF6", CMINAME_XCHG_FB)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF7", CMINAME_BASS2LINE)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF8", CMINAME_CENTER2LINE)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF9", CMINAME_IEC_COPYRIGHT)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFA", CMINAME_IEC_POLVALID)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFB", CMINAME_IEC_LOOP)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFC", CMINAME_REAR2LINE)
 
 DEFINE_GUIDSTRUCT ("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFD", CMINAME_CENTER2MIC)
 

Macro Definition Documentation

◆ AC3_OUT_STREAM

#define AC3_OUT_STREAM   2

Definition at line 64 of file interfaces.hpp.

◆ CHAN_LEFT

#define CHAN_LEFT   0

Definition at line 66 of file interfaces.hpp.

◆ CHAN_MASTER

#define CHAN_MASTER   (-1)

Definition at line 68 of file interfaces.hpp.

◆ CHAN_RIGHT

#define CHAN_RIGHT   1

Definition at line 67 of file interfaces.hpp.

◆ CMINAME_BASS2LINE

#define CMINAME_BASS2LINE   DEFINE_GUIDNAMED(CMINAME_BASS2LINE)

Definition at line 341 of file interfaces.hpp.

◆ CMINAME_CENTER2LINE

#define CMINAME_CENTER2LINE   DEFINE_GUIDNAMED(CMINAME_CENTER2LINE)

Definition at line 347 of file interfaces.hpp.

◆ CMINAME_CENTER2MIC

#define CMINAME_CENTER2MIC   DEFINE_GUIDNAMED(CMINAME_CENTER2MIC)

Definition at line 377 of file interfaces.hpp.

◆ CMINAME_DAC

#define CMINAME_DAC   DEFINE_GUIDNAMED(CMINAME_DAC)

Definition at line 323 of file interfaces.hpp.

◆ CMINAME_IEC_5V

#define CMINAME_IEC_5V   DEFINE_GUIDNAMED(CMINAME_IEC_5V)

Definition at line 299 of file interfaces.hpp.

◆ CMINAME_IEC_COPYRIGHT

#define CMINAME_IEC_COPYRIGHT   DEFINE_GUIDNAMED(CMINAME_IEC_COPYRIGHT)

Definition at line 353 of file interfaces.hpp.

◆ CMINAME_IEC_INVERSE

#define CMINAME_IEC_INVERSE   DEFINE_GUIDNAMED(CMINAME_IEC_INVERSE)

Definition at line 311 of file interfaces.hpp.

◆ CMINAME_IEC_LOOP

#define CMINAME_IEC_LOOP   DEFINE_GUIDNAMED(CMINAME_IEC_LOOP)

Definition at line 365 of file interfaces.hpp.

◆ CMINAME_IEC_MONITOR

#define CMINAME_IEC_MONITOR   DEFINE_GUIDNAMED(CMINAME_IEC_MONITOR)

Definition at line 317 of file interfaces.hpp.

◆ CMINAME_IEC_OUT

#define CMINAME_IEC_OUT   DEFINE_GUIDNAMED(CMINAME_IEC_OUT)

Definition at line 305 of file interfaces.hpp.

◆ CMINAME_IEC_POLVALID

#define CMINAME_IEC_POLVALID   DEFINE_GUIDNAMED(CMINAME_IEC_POLVALID)

Definition at line 359 of file interfaces.hpp.

◆ CMINAME_IEC_SELECT

#define CMINAME_IEC_SELECT   DEFINE_GUIDNAMED(CMINAME_IEC_SELECT)

Definition at line 329 of file interfaces.hpp.

◆ CMINAME_REAR2LINE

#define CMINAME_REAR2LINE   DEFINE_GUIDNAMED(CMINAME_REAR2LINE)

Definition at line 371 of file interfaces.hpp.

◆ CMINAME_XCHG_FB

#define CMINAME_XCHG_FB   DEFINE_GUIDNAMED(CMINAME_XCHG_FB)

Definition at line 335 of file interfaces.hpp.

◆ CMIPCI_VERSION

#define CMIPCI_VERSION   0x00

Definition at line 292 of file interfaces.hpp.

◆ COMPONENT_CM8738

#define COMPONENT_CM8738   DEFINE_GUIDNAMED(COMPONENT_CM8738)

Definition at line 283 of file interfaces.hpp.

◆ IN_CHANNEL

#define IN_CHANNEL   0

Definition at line 70 of file interfaces.hpp.

◆ Int32

#define Int32   LONG

Definition at line 76 of file interfaces.hpp.

◆ KSSTATE_RUN_AC3

#define KSSTATE_RUN_AC3   (KSSTATE)6

Definition at line 79 of file interfaces.hpp.

◆ KSSTATE_STOP_AC3

#define KSSTATE_STOP_AC3   (KSSTATE)5

Definition at line 78 of file interfaces.hpp.

◆ MANUFACTURER_CM8738

#define MANUFACTURER_CM8738   DEFINE_GUIDNAMED(MANUFACTURER_CM8738)

Definition at line 289 of file interfaces.hpp.

◆ MAX_AC3_INPUT_STREAMS

#define MAX_AC3_INPUT_STREAMS   1

Definition at line 37 of file interfaces.hpp.

◆ MAX_BITS_PER_SAMPLE_AC3

#define MAX_BITS_PER_SAMPLE_AC3   16

Definition at line 51 of file interfaces.hpp.

◆ MAX_BITS_PER_SAMPLE_PCM

#define MAX_BITS_PER_SAMPLE_PCM   32

Definition at line 43 of file interfaces.hpp.

◆ MAX_BITS_PER_SAMPLE_WMA

#define MAX_BITS_PER_SAMPLE_WMA   16

Definition at line 58 of file interfaces.hpp.

◆ MAX_CHANNELS_AC3

#define MAX_CHANNELS_AC3   2

Definition at line 49 of file interfaces.hpp.

◆ MAX_CHANNELS_PCM

#define MAX_CHANNELS_PCM   8

Definition at line 41 of file interfaces.hpp.

◆ MAX_CHANNELS_WMA

#define MAX_CHANNELS_WMA   2

Definition at line 56 of file interfaces.hpp.

◆ MAX_INPUT_STREAMS

#define MAX_INPUT_STREAMS   1

Definition at line 36 of file interfaces.hpp.

◆ MAX_OUTPUT_STREAMS

#define MAX_OUTPUT_STREAMS   1

Definition at line 35 of file interfaces.hpp.

◆ MAX_SAMPLE_RATE

#define MAX_SAMPLE_RATE   96000

Definition at line 45 of file interfaces.hpp.

◆ MAX_SAMPLE_RATE_AC3

#define MAX_SAMPLE_RATE_AC3   48000

Definition at line 53 of file interfaces.hpp.

◆ MAX_SAMPLE_RATE_MULTI

#define MAX_SAMPLE_RATE_MULTI   48000

Definition at line 46 of file interfaces.hpp.

◆ MAX_SAMPLE_RATE_WMA

#define MAX_SAMPLE_RATE_WMA   48000

Definition at line 60 of file interfaces.hpp.

◆ MAXLEN_DMA_BUFFER

#define MAXLEN_DMA_BUFFER   0x18000

Definition at line 34 of file interfaces.hpp.

◆ MIN_BITS_PER_SAMPLE_AC3

#define MIN_BITS_PER_SAMPLE_AC3   16

Definition at line 50 of file interfaces.hpp.

◆ MIN_BITS_PER_SAMPLE_PCM

#define MIN_BITS_PER_SAMPLE_PCM   16

Definition at line 42 of file interfaces.hpp.

◆ MIN_BITS_PER_SAMPLE_WMA

#define MIN_BITS_PER_SAMPLE_WMA   16

Definition at line 57 of file interfaces.hpp.

◆ MIN_CHANNELS

#define MIN_CHANNELS   2

Definition at line 40 of file interfaces.hpp.

◆ MIN_SAMPLE_RATE

#define MIN_SAMPLE_RATE   44100

Definition at line 44 of file interfaces.hpp.

◆ MIN_SAMPLE_RATE_AC3

#define MIN_SAMPLE_RATE_AC3   48000

Definition at line 52 of file interfaces.hpp.

◆ MIN_SAMPLE_RATE_WMA

#define MIN_SAMPLE_RATE_WMA   44100

Definition at line 59 of file interfaces.hpp.

◆ OUT_CHANNEL

#define OUT_CHANNEL   1

Definition at line 71 of file interfaces.hpp.

◆ PCM_IN_STREAM

#define PCM_IN_STREAM   1

Definition at line 63 of file interfaces.hpp.

◆ PCM_OUT_STREAM

#define PCM_OUT_STREAM   0

Definition at line 62 of file interfaces.hpp.

◆ PRODUCT_CM8738

#define PRODUCT_CM8738   DEFINE_GUIDNAMED(PRODUCT_CM8738)

Definition at line 277 of file interfaces.hpp.

◆ STATIC_CMINAME_BASS2LINE

#define STATIC_CMINAME_BASS2LINE   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF7}

Definition at line 338 of file interfaces.hpp.

◆ STATIC_CMINAME_CENTER2LINE

#define STATIC_CMINAME_CENTER2LINE   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF8}

Definition at line 344 of file interfaces.hpp.

◆ STATIC_CMINAME_CENTER2MIC

#define STATIC_CMINAME_CENTER2MIC   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xFD}

Definition at line 374 of file interfaces.hpp.

◆ STATIC_CMINAME_DAC

#define STATIC_CMINAME_DAC   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF4}

Definition at line 320 of file interfaces.hpp.

◆ STATIC_CMINAME_IEC_5V

#define STATIC_CMINAME_IEC_5V   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF0}

Definition at line 296 of file interfaces.hpp.

◆ STATIC_CMINAME_IEC_COPYRIGHT

#define STATIC_CMINAME_IEC_COPYRIGHT   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF9}

Definition at line 350 of file interfaces.hpp.

◆ STATIC_CMINAME_IEC_INVERSE

#define STATIC_CMINAME_IEC_INVERSE   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF2}

Definition at line 308 of file interfaces.hpp.

◆ STATIC_CMINAME_IEC_LOOP

#define STATIC_CMINAME_IEC_LOOP   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xFB}

Definition at line 362 of file interfaces.hpp.

◆ STATIC_CMINAME_IEC_MONITOR

#define STATIC_CMINAME_IEC_MONITOR   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF3}

Definition at line 314 of file interfaces.hpp.

◆ STATIC_CMINAME_IEC_OUT

#define STATIC_CMINAME_IEC_OUT   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF1}

Definition at line 302 of file interfaces.hpp.

◆ STATIC_CMINAME_IEC_POLVALID

#define STATIC_CMINAME_IEC_POLVALID   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xFA}

Definition at line 356 of file interfaces.hpp.

◆ STATIC_CMINAME_IEC_SELECT

#define STATIC_CMINAME_IEC_SELECT   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF5}

Definition at line 326 of file interfaces.hpp.

◆ STATIC_CMINAME_REAR2LINE

#define STATIC_CMINAME_REAR2LINE   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xFC}

Definition at line 368 of file interfaces.hpp.

◆ STATIC_CMINAME_XCHG_FB

#define STATIC_CMINAME_XCHG_FB   0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xF6}

Definition at line 332 of file interfaces.hpp.

◆ STATIC_COMPONENT_CM8738

#define STATIC_COMPONENT_CM8738   0x9db14e9a, 0x7be7, 0x480d, {0xa2, 0xfa, 0x32, 0x93, 0x24, 0x89, 0xde, 0x9d}

Definition at line 280 of file interfaces.hpp.

◆ STATIC_MANUFACTURER_CM8738

#define STATIC_MANUFACTURER_CM8738   0x9db14e9a, 0x7be7, 0x480d, {0xa2, 0xfa, 0x32, 0x93, 0x24, 0x89, 0xde, 0x9e}

Definition at line 286 of file interfaces.hpp.

◆ STATIC_PRODUCT_CM8738

#define STATIC_PRODUCT_CM8738   0x9db14e9a, 0x7be7, 0x480d, {0xa2, 0xfa, 0x32, 0x93, 0x24, 0x89, 0xde, 0x9c}

Definition at line 274 of file interfaces.hpp.

◆ UInt16

Definition at line 74 of file interfaces.hpp.

◆ UInt32

Definition at line 73 of file interfaces.hpp.

◆ UInt8

#define UInt8   BYTE

Definition at line 75 of file interfaces.hpp.

Typedef Documentation

◆ CMI8738Info

◆ PCMI8738Info

Definition at line 151 of file interfaces.hpp.

◆ PCMIADAPTER

typedef ICMIAdapter* PCMIADAPTER

Definition at line 260 of file interfaces.hpp.

◆ PCMITOPOLOGY

typedef ICMITopology* PCMITOPOLOGY

Definition at line 111 of file interfaces.hpp.

◆ PCMIWAVE

typedef IMiniportWaveCMI* PCMIWAVE

Definition at line 130 of file interfaces.hpp.

◆ VolumeTable

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
PIN_WAVEOUT_SOURCE 
PIN_SPDIFIN_SOURCE 
PIN_MIC_SOURCE 
PIN_CD_SOURCE 
PIN_LINEIN_SOURCE 
PIN_AUX_SOURCE 
PIN_DAC_SOURCE 
PIN_LINEOUT_DEST 
PIN_WAVEIN_DEST 
PIN_SPDIF_AC3_SOURCE 
PIN_SPDIF_AC3_DEST 
PIN_INVALID 

Definition at line 380 of file interfaces.hpp.

◆ anonymous enum

anonymous enum
Enumerator
KSNODE_TOPO_WAVEOUT_VOLUME 
KSNODE_TOPO_WAVEOUT_MUTE 
KSNODE_TOPO_MICOUT_VOLUME 
KSNODE_TOPO_LINEOUT_MIX 
KSNODE_TOPO_LINEOUT_VOLUME 
KSNODE_TOPO_WAVEIN_SUM 
KSNODE_TOPO_CD_VOLUME 
KSNODE_TOPO_LINEIN_VOLUME 
KSNODE_TOPO_AUX_VOLUME 
KSNODE_TOPO_MICIN_VOLUME 
KSNODE_TOPO_MICIN_LOUDNESS 
KSNODE_TOPO_MICOUT_LOUDNESS 
KSNODE_TOPO_CD_MUTE 
KSNODE_TOPO_LINEIN_MUTE 
KSNODE_TOPO_MICOUT_MUTE 
KSNODE_TOPO_AUX_MUTE 
KSNODE_TOPO_LINEIN_MUTE_IN 
KSNODE_TOPO_MIC_MUTE_IN 
KSNODE_TOPO_AUX_MUTE_IN 
KSNODE_TOPO_CD_MUTE_IN 
KSNODE_TOPO_WAVEOUT_MUTE_IN 
KSNODE_TOPO_IEC_5V 
KSNODE_TOPO_IEC_OUT 
KSNODE_TOPO_IEC_INVERSE 
KSNODE_TOPO_IEC_MONITOR 
KSNODE_TOPO_IEC_SELECT 
KSNODE_TOPO_SPDIF_AC3_MUTE 
KSNODE_TOPO_SPDIF_AC3_MUX 
KSNODE_TOPO_XCHG_FB 
KSNODE_TOPO_BASS2LINE 
KSNODE_TOPO_CENTER2LINE 
KSNODE_TOPO_IEC_COPYRIGHT 
KSNODE_TOPO_IEC_POLVALID 
KSNODE_TOPO_IEC_LOOP 
KSNODE_TOPO_REAR2LINE 
KSNODE_TOPO_CENTER2MIC 
KSNODE_TOPO_MASTER_MUTE_DUMMY 
KSNODE_TOPO_INVALID 

Definition at line 398 of file interfaces.hpp.

399 {
437 
439 };

◆ anonymous enum

anonymous enum
Enumerator
PIN_WAVE_CAPTURE_SINK 
PIN_WAVE_CAPTURE_SOURCE 
PIN_WAVE_RENDER_SINK 
PIN_WAVE_RENDER_SOURCE 
PIN_WAVE_AC3_RENDER_SINK 
PIN_WAVE_AC3_RENDER_SOURCE 
PIN_WAVE_INVALID 

Definition at line 442 of file interfaces.hpp.

◆ anonymous enum

anonymous enum
Enumerator
KSNODE_WAVE_ADC 
KSNODE_WAVE_VOLUME1 
KSNODE_WAVE_3D_EFFECTS 
KSNODE_WAVE_SUPERMIX 
KSNODE_WAVE_VOLUME2 
KSNODE_WAVE_SRC 
KSNODE_WAVE_SUM 
KSNODE_WAVE_DAC 
KSNODE_WAVE_SPDIF 
KSNODE_WAVE_INVALID 

Definition at line 455 of file interfaces.hpp.

Function Documentation

◆ DECLARE_INTERFACE_() [1/3]

DECLARE_INTERFACE_ ( ICMITopology  ,
IMiniportTopology   
)

Definition at line 82 of file interfaces.hpp.

83 {
84  STDMETHOD_(NTSTATUS,GetDescription)
85  ( THIS_
86  PPCFILTER_DESCRIPTOR* OutFilterDescriptor
87  ) PURE;
88  STDMETHOD_(NTSTATUS,DataRangeIntersection)
89  ( THIS_
90  ULONG PinId,
91  PKSDATARANGE DataRange,
92  PKSDATARANGE MatchingDataRange,
94  PVOID ResultantFormat,
95  PULONG ResultantFormatLength
96  ) PURE;
98  ( THIS_
99  PUNKNOWN UnknownAdapter,
102  ) PURE;
103  STDMETHOD_(NTSTATUS,loadMixerSettingsFromMemory)
104  ( THIS_
105  void
106  ) PURE;
107  STDMETHOD_(NTSTATUS,storeMixerSettingsToMemory)
108  ( THIS_
109  void
110  ) PURE;
111 };
CPPORT Port[4]
Definition: headless.c:34
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
#define THIS_
Definition: basetyps.h:65
IPortTopology * PPORTTOPOLOGY
Definition: portcls.h:1403
LONG NTSTATUS
Definition: precomp.h:26
_Must_inspect_result_ _In_ PFILE_OBJECT _In_ ULONG _In_ ULONG _In_ ULONG OutputBufferLength
Definition: fltkernel.h:1374
const MUI_LANGUAGE_RESOURCE ResourceList[]
Definition: muilanguages.h:414
IResourceList * PRESOURCELIST
Definition: portcls.h:442
unsigned int * PULONG
Definition: retypes.h:1
#define PURE
Definition: basetyps.h:64
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [2/3]

DECLARE_INTERFACE_ ( IMiniportWaveCMI  ,
IUnknown   
)

Definition at line 115 of file interfaces.hpp.

116 {
117  STDMETHOD_(void,ServiceWaveISR)
118  ( THIS_
119  ULONG channel
120  ) PURE;
121 
122  STDMETHOD_(void,powerUp)
123  ( THIS_
124  void
125  ) PURE;
126  STDMETHOD_(void,powerDown)
127  ( THIS_
128  void
129  ) PURE;
130 };
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
#define THIS_
Definition: basetyps.h:65
#define PURE
Definition: basetyps.h:64
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [3/3]

DECLARE_INTERFACE_ ( ICMIAdapter  ,
IUnknown   
)

Definition at line 165 of file interfaces.hpp.

166 {
168  ( THIS_
171  ) PURE;
172  STDMETHOD_(PINTERRUPTSYNC,getInterruptSync)
173  ( THIS_
174  void
175  ) PURE;
176  STDMETHOD_(PDEVICE_OBJECT,getDeviceObject)
177  ( THIS_
178  void
179  ) PURE;
180  STDMETHOD_(PCMI8738Info,getCMI8738Info)
181  ( THIS_
182  void
183  ) PURE;
184  STDMETHOD_(UInt8, readUInt8)
185  ( THIS_
186  UInt8 reg
187  ) PURE;
188  STDMETHOD_(void, writeUInt8)
189  ( THIS_
190  UInt8 reg,
191  UInt8 value
192  ) PURE;
193  STDMETHOD_(void, setUInt8Bit)
194  ( THIS_
195  UInt8 reg,
196  UInt8 flag
197  ) PURE;
198  STDMETHOD_(void, clearUInt8Bit)
199  ( THIS_
200  UInt8 reg,
201  UInt8 flag
202  ) PURE;
203  STDMETHOD_(UInt16, readUInt16)
204  ( THIS_
205  UInt8 reg
206  ) PURE;
207  STDMETHOD_(void, writeUInt16)
208  ( THIS_
209  UInt8 reg,
210  UInt16 value
211  ) PURE;
212  STDMETHOD_(UInt32, readUInt32)
213  ( THIS_
214  UInt8 reg
215  ) PURE;
216  STDMETHOD_(void, writeUInt32)
217  ( THIS_
218  UInt8 reg,
219  UInt32 value
220  ) PURE;
221  STDMETHOD_(void, setUInt32Bit)
222  ( THIS_
223  UInt8 reg,
224  UInt32 flag
225  ) PURE;
226  STDMETHOD_(void, clearUInt32Bit)
227  ( THIS_
228  UInt8 reg,
229  UInt32 flag
230  ) PURE;
231  STDMETHOD_(UInt8, readMixer)
232  ( THIS_
233  UInt8 index
234  ) PURE;
235  STDMETHOD_(void, writeMixer)
236  ( THIS_
237  UInt8 index,
238  UInt8 value
239  ) PURE;
240  STDMETHOD_(void, setMixerBit)
241  ( THIS_
242  UInt8 index,
243  UInt8 flag
244  ) PURE;
245  STDMETHOD_(void, clearMixerBit)
246  ( THIS_
247  UInt8 index,
248  UInt8 flag
249  ) PURE;
250  STDMETHOD_(void,resetMixer)
251  ( THIS_
252  ) PURE;
253  STDMETHOD_(NTSTATUS,activateMPU)
254  ( THIS_
255  ULONG* MPUBase
256  ) PURE;
257  STDMETHOD_(NTSTATUS,loadSBMixerFromMemory)
258  ( THIS_
259  ) PURE;
260 };
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
#define THIS_
Definition: basetyps.h:65
DWORD UInt32
Definition: chm_lib.c:104
LONG NTSTATUS
Definition: precomp.h:26
#define UInt8
Definition: interfaces.hpp:75
USHORT UInt16
Definition: chm_lib.c:102
const MUI_LANGUAGE_RESOURCE ResourceList[]
Definition: muilanguages.h:414
static int init
Definition: wintirpc.c:33
#define index(s, c)
Definition: various.h:29
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean flag
Definition: glfuncs.h:52
GLsizei const GLfloat * value
Definition: glext.h:6069
IResourceList * PRESOURCELIST
Definition: portcls.h:442
IN PDEVICE_OBJECT DeviceObject
Definition: fatprocs.h:1560
#define PURE
Definition: basetyps.h:64
static int reg
Definition: i386-dis.c:1275
IInterruptSync * PINTERRUPTSYNC
Definition: portcls.h:878
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DEFINE_GUID() [1/3]

DEFINE_GUID ( IID_ICMIAdapter  ,
0x34b338a2  ,
0xbb40  ,
0x4ecd  ,
0xb9  ,
0x7a  ,
0xae  ,
0xb0  ,
0x3f  ,
0x32  ,
0x58  ,
0x25   
)

◆ DEFINE_GUID() [2/3]

DEFINE_GUID ( IID_ICMITopolgy  ,
0x60bb55cf  ,
0xc960  ,
0x4ddf  ,
0xb7  ,
0xa4  ,
0x24  ,
0x39  ,
0x78  ,
0xb2  ,
0xfe  ,
0x7b   
)

◆ DEFINE_GUID() [3/3]

DEFINE_GUID ( IID_IMiniportWaveCMI  ,
0xe8698236  ,
0xd854  ,
0x4da7  ,
0xbf  ,
0x31  ,
0x83  ,
0x32  ,
0xc6  ,
0x14  ,
0xce  ,
0x91   
)

◆ DEFINE_GUIDSTRUCT() [1/17]

DEFINE_GUIDSTRUCT ( "9DB14E9A-7BE7-480d-A2FA-32932489DE9C"  ,
PRODUCT_CM8738   
)

◆ DEFINE_GUIDSTRUCT() [2/17]

DEFINE_GUIDSTRUCT ( "9DB14E9A-7BE7-480d-A2FA-32932489DE9D"  ,
COMPONENT_CM8738   
)

◆ DEFINE_GUIDSTRUCT() [3/17]

DEFINE_GUIDSTRUCT ( "9DB14E9A-7BE7-480d-A2FA-32932489DE9E"  ,
MANUFACTURER_CM8738   
)

◆ DEFINE_GUIDSTRUCT() [4/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF0"  ,
CMINAME_IEC_5V   
)

◆ DEFINE_GUIDSTRUCT() [5/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF1"  ,
CMINAME_IEC_OUT   
)

◆ DEFINE_GUIDSTRUCT() [6/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF2"  ,
CMINAME_IEC_INVERSE   
)

◆ DEFINE_GUIDSTRUCT() [7/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF3"  ,
CMINAME_IEC_MONITOR   
)

◆ DEFINE_GUIDSTRUCT() [8/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF4"  ,
CMINAME_DAC   
)

◆ DEFINE_GUIDSTRUCT() [9/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF5"  ,
CMINAME_IEC_SELECT   
)

◆ DEFINE_GUIDSTRUCT() [10/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF6"  ,
CMINAME_XCHG_FB   
)

◆ DEFINE_GUIDSTRUCT() [11/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF7"  ,
CMINAME_BASS2LINE   
)

◆ DEFINE_GUIDSTRUCT() [12/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF8"  ,
CMINAME_CENTER2LINE   
)

◆ DEFINE_GUIDSTRUCT() [13/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DF9"  ,
CMINAME_IEC_COPYRIGHT   
)

◆ DEFINE_GUIDSTRUCT() [14/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFA"  ,
CMINAME_IEC_POLVALID   
)

◆ DEFINE_GUIDSTRUCT() [15/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFB"  ,
CMINAME_IEC_LOOP   
)

◆ DEFINE_GUIDSTRUCT() [16/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFC"  ,
CMINAME_REAR2LINE   
)

◆ DEFINE_GUIDSTRUCT() [17/17]

DEFINE_GUIDSTRUCT ( "2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFD"  ,
CMINAME_CENTER2MIC   
)