ReactOS 0.4.16-dev-297-gc569aee
wave.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _WAVE_DD_VOLUME
 
struct  WAVEOVL
 
struct  tag_WAVEALLOC
 
struct  _AUX_DD_VOLUME
 

Macros

#define WAVE_DD_STOP   0x0001
 
#define WAVE_DD_PLAY   0x0002
 
#define WAVE_DD_RECORD   0x0003
 
#define WAVE_DD_RESET   0x0004
 
#define WAVE_DD_IDLE   0x0000
 
#define WAVE_DD_STOPPED   0x0001
 
#define WAVE_DD_PLAYING   0x0002
 
#define WAVE_DD_RECORDING   0x0003
 

Typedefs

typedef struct _WAVE_DD_VOLUME WAVE_DD_VOLUME
 
typedef struct _WAVE_DD_VOLUMEPWAVE_DD_VOLUME
 
typedef struct WAVEOVLPWAVEOVL
 
typedef struct tag_WAVEALLOC WAVEALLOC
 
typedef struct tag_WAVEALLOCPWAVEALLOC
 
typedef struct _AUX_DD_VOLUME AUX_DD_VOLUME
 
typedef struct _AUX_DD_VOLUMEPAUX_DD_VOLUME
 

Enumerations

enum  WAVETHREADFUNCTION {
  WaveThreadInvalid , WaveThreadAddBuffer , WaveThreadSetState , WaveThreadSetData ,
  WaveThreadGetData , WaveThreadBreakLoop , WaveThreadClose , WaveThreadTerminate
}
 

Functions

MMRESULT GetDeviceCapabilities (DWORD ID, UINT DeviceType, LPBYTE pCaps, DWORD Size)
 
DWORD AuxGetAudio (DWORD dwID, PBYTE pVolume, DWORD sizeVolume)
 
DWORD AuxSetAudio (DWORD dwID, PBYTE pVolume, DWORD sizeVolume)
 

Macro Definition Documentation

◆ WAVE_DD_IDLE

#define WAVE_DD_IDLE   0x0000

Definition at line 16 of file wave.h.

◆ WAVE_DD_PLAY

#define WAVE_DD_PLAY   0x0002

Definition at line 11 of file wave.h.

◆ WAVE_DD_PLAYING

#define WAVE_DD_PLAYING   0x0002

Definition at line 18 of file wave.h.

◆ WAVE_DD_RECORD

#define WAVE_DD_RECORD   0x0003

Definition at line 12 of file wave.h.

◆ WAVE_DD_RECORDING

#define WAVE_DD_RECORDING   0x0003

Definition at line 19 of file wave.h.

◆ WAVE_DD_RESET

#define WAVE_DD_RESET   0x0004

Definition at line 13 of file wave.h.

◆ WAVE_DD_STOP

#define WAVE_DD_STOP   0x0001

Definition at line 10 of file wave.h.

◆ WAVE_DD_STOPPED

#define WAVE_DD_STOPPED   0x0001

Definition at line 17 of file wave.h.

Typedef Documentation

◆ AUX_DD_VOLUME

◆ PAUX_DD_VOLUME

◆ PWAVE_DD_VOLUME

◆ PWAVEALLOC

◆ PWAVEOVL

typedef struct WAVEOVL * PWAVEOVL

◆ WAVE_DD_VOLUME

◆ WAVEALLOC

Enumeration Type Documentation

◆ WAVETHREADFUNCTION

Enumerator
WaveThreadInvalid 
WaveThreadAddBuffer 
WaveThreadSetState 
WaveThreadSetData 
WaveThreadGetData 
WaveThreadBreakLoop 
WaveThreadClose 
WaveThreadTerminate 

Definition at line 23 of file wave.h.

23 {
WAVETHREADFUNCTION
Definition: wave.h:23
@ WaveThreadTerminate
Definition: wave.h:31
@ WaveThreadInvalid
Definition: wave.h:24
@ WaveThreadBreakLoop
Definition: wave.h:29
@ WaveThreadSetState
Definition: wave.h:26
@ WaveThreadAddBuffer
Definition: wave.h:25
@ WaveThreadClose
Definition: wave.h:30
@ WaveThreadGetData
Definition: wave.h:28
@ WaveThreadSetData
Definition: wave.h:27

Function Documentation

◆ AuxGetAudio()

DWORD AuxGetAudio ( DWORD  dwID,
PBYTE  pVolume,
DWORD  sizeVolume 
)

Definition at line 69 of file auxil.c.

70{
74
77 return Result;
78
79
82
83
85
86 return Result;
87 }
MMRESULT OpenDevice(DeviceInfo **private_data, MIDIOPENDESC *open_desc, DWORD flags)
Definition: beepmidi.c:264
BOOL WINAPI DeviceIoControl(IN HANDLE hDevice, IN DWORD dwIoControlCode, IN LPVOID lpInBuffer OPTIONAL, IN DWORD nInBufferSize OPTIONAL, OUT LPVOID lpOutBuffer OPTIONAL, IN DWORD nOutBufferSize OPTIONAL, OUT LPDWORD lpBytesReturned OPTIONAL, IN LPOVERLAPPED lpOverlapped OPTIONAL)
Definition: deviceio.c:136
#define NULL
Definition: types.h:112
#define CloseHandle
Definition: compat.h:739
#define GENERIC_READ
Definition: compat.h:135
DWORD TranslateStatus(void)
Definition: utils.c:30
unsigned long DWORD
Definition: ntddk_ex.h:95
_Inout_ PUSB_DEVICE_HANDLE DeviceHandle
Definition: hubbusif.h:121
#define IOCTL_AUX_GET_VOLUME
Definition: mmdef.h:82
@ AuxDevice
Definition: mmdrv.h:47
UINT MMRESULT
Definition: mmsystem.h:962
#define MMSYSERR_NOERROR
Definition: mmsystem.h:96
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesReturned
Definition: wdfiotarget.h:1052
_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

Referenced by auxMessage().

◆ AuxSetAudio()

DWORD AuxSetAudio ( DWORD  dwID,
PBYTE  pVolume,
DWORD  sizeVolume 
)

Definition at line 89 of file auxil.c.

90{
94
97 return Result;
98
101
102
104
105 return Result;
106 }
#define IOCTL_AUX_SET_VOLUME
Definition: mmdef.h:81

Referenced by auxMessage().

◆ GetDeviceCapabilities()

MMRESULT GetDeviceCapabilities ( DWORD  ID,
UINT  DeviceType,
LPBYTE  pCaps,
DWORD  Size 
)