ReactOS 0.4.16-dev-311-g9382aa2
mmioctl.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WAVE_OUT_DEVICE_NAME   L"\\Device\\WaveOut"
 
#define WAVE_IN_DEVICE_NAME   L"\\Device\\WaveIn"
 
#define MIDI_OUT_DEVICE_NAME   L"\\Device\\MidiOut"
 
#define MIDI_IN_DEVICE_NAME   L"\\Device\\MidiIn"
 
#define AUX_DEVICE_NAME   L"\\Device\\MMAux"
 
#define IOCTL_SOUND_BASE   FILE_DEVICE_SOUND
 
#define IOCTL_WAVE_BASE   0x0000
 
#define IOCTL_MIDI_BASE   0x0080
 
#define IOCTL_AUX_BASE   0x0100
 
#define IOCTL_WAVE_QUERY_FORMAT    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_WAVE_SET_FORMAT    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0002, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_WAVE_GET_CAPABILITIES    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0003, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_WAVE_SET_STATE    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0004, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_WAVE_GET_STATE    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0005, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_WAVE_GET_POSITION    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0006, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_WAVE_SET_VOLUME    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0007, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_WAVE_GET_VOLUME    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0008, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_WAVE_SET_PITCH    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0009, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_WAVE_GET_PITCH    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x000A, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_WAVE_SET_PLAYBACK_RATE    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x000B, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_WAVE_GET_PLAYBACK_RATE    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x000C, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_WAVE_PLAY    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x000D, METHOD_IN_DIRECT, FILE_WRITE_ACCESS)
 
#define IOCTL_WAVE_RECORD    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x000E, METHOD_OUT_DIRECT, FILE_WRITE_ACCESS)
 
#define IOCTL_WAVE_BREAK_LOOP    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x000F, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_WAVE_SET_LOW_PRIORITY    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0010, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_MIDI_GET_CAPABILITIES    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_MIDI_BASE + 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_MIDI_SET_STATE    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_MIDI_BASE + 0x0002, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_MIDI_GET_STATE    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_MIDI_BASE + 0x0003, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_MIDI_SET_VOLUME    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_MIDI_BASE + 0x0004, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_MIDI_GET_VOLUME    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_MIDI_BASE + 0x0005, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_MIDI_PLAY    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_MIDI_BASE + 0x0006, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_MIDI_RECORD    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_MIDI_BASE + 0x0007, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_MIDI_CACHE_PATCHES    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_MIDI_BASE + 0x0008, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_MIDI_CACHE_DRUM_PATCHES    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_MIDI_BASE + 0x0009, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_AUX_GET_CAPABILITIES    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_AUX_BASE + 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_AUX_SET_VOLUME    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_AUX_BASE + 0x0002, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_AUX_GET_VOLUME    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_AUX_BASE + 0x0003, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_SOUND_GET_CHANGED_VOLUME    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_AUX_BASE + 0x0004, METHOD_BUFFERED, FILE_READ_ACCESS)
 

Macro Definition Documentation

◆ AUX_DEVICE_NAME

#define AUX_DEVICE_NAME   L"\\Device\\MMAux"

Definition at line 26 of file mmioctl.h.

◆ IOCTL_AUX_BASE

#define IOCTL_AUX_BASE   0x0100

Definition at line 36 of file mmioctl.h.

◆ IOCTL_AUX_GET_CAPABILITIES

#define IOCTL_AUX_GET_CAPABILITIES    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_AUX_BASE + 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 128 of file mmioctl.h.

◆ IOCTL_AUX_GET_VOLUME

Definition at line 134 of file mmioctl.h.

◆ IOCTL_AUX_SET_VOLUME

Definition at line 131 of file mmioctl.h.

◆ IOCTL_MIDI_BASE

#define IOCTL_MIDI_BASE   0x0080

Definition at line 35 of file mmioctl.h.

◆ IOCTL_MIDI_CACHE_DRUM_PATCHES

#define IOCTL_MIDI_CACHE_DRUM_PATCHES    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_MIDI_BASE + 0x0009, METHOD_BUFFERED, FILE_WRITE_ACCESS)

Definition at line 120 of file mmioctl.h.

◆ IOCTL_MIDI_CACHE_PATCHES

#define IOCTL_MIDI_CACHE_PATCHES    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_MIDI_BASE + 0x0008, METHOD_BUFFERED, FILE_WRITE_ACCESS)

Definition at line 117 of file mmioctl.h.

◆ IOCTL_MIDI_GET_CAPABILITIES

#define IOCTL_MIDI_GET_CAPABILITIES    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_MIDI_BASE + 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 96 of file mmioctl.h.

◆ IOCTL_MIDI_GET_STATE

Definition at line 102 of file mmioctl.h.

◆ IOCTL_MIDI_GET_VOLUME

Definition at line 108 of file mmioctl.h.

◆ IOCTL_MIDI_PLAY

Definition at line 111 of file mmioctl.h.

◆ IOCTL_MIDI_RECORD

Definition at line 114 of file mmioctl.h.

◆ IOCTL_MIDI_SET_STATE

Definition at line 99 of file mmioctl.h.

◆ IOCTL_MIDI_SET_VOLUME

Definition at line 105 of file mmioctl.h.

◆ IOCTL_SOUND_BASE

#define IOCTL_SOUND_BASE   FILE_DEVICE_SOUND

Definition at line 33 of file mmioctl.h.

◆ IOCTL_SOUND_GET_CHANGED_VOLUME

#define IOCTL_SOUND_GET_CHANGED_VOLUME    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_AUX_BASE + 0x0004, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 137 of file mmioctl.h.

◆ IOCTL_WAVE_BASE

#define IOCTL_WAVE_BASE   0x0000

Definition at line 34 of file mmioctl.h.

◆ IOCTL_WAVE_BREAK_LOOP

Definition at line 85 of file mmioctl.h.

◆ IOCTL_WAVE_GET_CAPABILITIES

#define IOCTL_WAVE_GET_CAPABILITIES    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0003, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 49 of file mmioctl.h.

◆ IOCTL_WAVE_GET_PITCH

Definition at line 70 of file mmioctl.h.

◆ IOCTL_WAVE_GET_PLAYBACK_RATE

#define IOCTL_WAVE_GET_PLAYBACK_RATE    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x000C, METHOD_BUFFERED, FILE_WRITE_ACCESS)

Definition at line 76 of file mmioctl.h.

◆ IOCTL_WAVE_GET_POSITION

Definition at line 58 of file mmioctl.h.

◆ IOCTL_WAVE_GET_STATE

Definition at line 55 of file mmioctl.h.

◆ IOCTL_WAVE_GET_VOLUME

Definition at line 64 of file mmioctl.h.

◆ IOCTL_WAVE_PLAY

Definition at line 79 of file mmioctl.h.

◆ IOCTL_WAVE_QUERY_FORMAT

#define IOCTL_WAVE_QUERY_FORMAT    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 43 of file mmioctl.h.

◆ IOCTL_WAVE_RECORD

Definition at line 82 of file mmioctl.h.

◆ IOCTL_WAVE_SET_FORMAT

Definition at line 46 of file mmioctl.h.

◆ IOCTL_WAVE_SET_LOW_PRIORITY

#define IOCTL_WAVE_SET_LOW_PRIORITY    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x0010, METHOD_BUFFERED, FILE_WRITE_ACCESS)

Definition at line 88 of file mmioctl.h.

◆ IOCTL_WAVE_SET_PITCH

Definition at line 67 of file mmioctl.h.

◆ IOCTL_WAVE_SET_PLAYBACK_RATE

#define IOCTL_WAVE_SET_PLAYBACK_RATE    CTL_CODE(IOCTL_SOUND_BASE, IOCTL_WAVE_BASE + 0x000B, METHOD_BUFFERED, FILE_WRITE_ACCESS)

Definition at line 73 of file mmioctl.h.

◆ IOCTL_WAVE_SET_STATE

Definition at line 52 of file mmioctl.h.

◆ IOCTL_WAVE_SET_VOLUME

Definition at line 61 of file mmioctl.h.

◆ MIDI_IN_DEVICE_NAME

#define MIDI_IN_DEVICE_NAME   L"\\Device\\MidiIn"

Definition at line 25 of file mmioctl.h.

◆ MIDI_OUT_DEVICE_NAME

#define MIDI_OUT_DEVICE_NAME   L"\\Device\\MidiOut"

Definition at line 24 of file mmioctl.h.

◆ WAVE_IN_DEVICE_NAME

#define WAVE_IN_DEVICE_NAME   L"\\Device\\WaveIn"

Definition at line 23 of file mmioctl.h.

◆ WAVE_OUT_DEVICE_NAME

#define WAVE_OUT_DEVICE_NAME   L"\\Device\\WaveOut"

Definition at line 22 of file mmioctl.h.