ReactOS 0.4.16-dev-237-gd6eebaa
sndnames.h
Go to the documentation of this file.
1/*
2 ReactOS Sound System
3 NT4 audio device and registry key names
4
5 Author:
6 Andrew Greenwood (silverblade@reactos.org)
7
8 History:
9 14 Feb 2009 - Split from ntddsnd.h
10
11 These were enhancements to the original NT4 DDK audio device header
12 files.
13*/
14
15#ifndef SNDNAMES_H
16#define SNDNAMES_H
17
18/*
19 Base device names (NT4)
20
21 Each device name should be given a numerical suffix identifying that
22 unique device, eg:
23
24 \Device\WaveOut0 - First wave output device
25 \Device\WaveOut1 - Second wave output device
26*/
27
28#define DD_WAVE_IN_DEVICE_NAME "\\Device\\WaveIn"
29#define DD_WAVE_IN_DEVICE_NAME_U L"\\Device\\WaveIn"
30#define DD_WAVE_IN_DOS_DEVICE_NAME "\\DosDevices\\WaveIn"
31#define DD_WAVE_IN_DOS_DEVICE_NAME_U L"\\DosDevices\\WaveIn"
32#define DD_WAVE_IN_WIN32_DEVICE_NAME "\\\\.\\WaveIn"
33#define DD_WAVE_IN_WIN32_DEVICE_NAME_U L"\\\\.\\WaveIn"
34
35#define DD_WAVE_OUT_DEVICE_NAME "\\Device\\WaveOut"
36#define DD_WAVE_OUT_DEVICE_NAME_U L"\\Device\\WaveOut"
37#define DD_WAVE_OUT_DOS_DEVICE_NAME "\\DosDevices\\WaveOut"
38#define DD_WAVE_OUT_DOS_DEVICE_NAME_U L"\\DosDevices\\WaveOut"
39#define DD_WAVE_OUT_WIN32_DEVICE_NAME "\\\\.\\WaveOut"
40#define DD_WAVE_OUT_WIN32_DEVICE_NAME_U L"\\\\.\\WaveOut"
41
42#define DD_MIDI_IN_DEVICE_NAME "\\Device\\MidiIn"
43#define DD_MIDI_IN_DEVICE_NAME_U L"\\Device\\MidiIn"
44#define DD_MIDI_IN_DOS_DEVICE_NAME "\\DosDevices\\MidiIn"
45#define DD_MIDI_IN_DOS_DEVICE_NAME_U L"\\DosDevices\\MidiIn"
46#define DD_MIDI_IN_WIN32_DEVICE_NAME "\\\\.\\MidiIn"
47#define DD_MIDI_IN_WIN32_DEVICE_NAME_U L"\\\\.\\MidiIn"
48
49#define DD_MIDI_OUT_DEVICE_NAME "\\Device\\MidiOut"
50#define DD_MIDI_OUT_DEVICE_NAME_U L"\\Device\\MidiOut"
51#define DD_MIDI_OUT_DOS_DEVICE_NAME "\\DosDevices\\MidiOut"
52#define DD_MIDI_OUT_DOS_DEVICE_NAME_U L"\\DosDevices\\MidiOut"
53#define DD_MIDI_OUT_WIN32_DEVICE_NAME "\\\\.\\MidiOut"
54#define DD_MIDI_OUT_WIN32_DEVICE_NAME_U L"\\\\.\\MidiOut"
55
56#define DD_MIX_DEVICE_NAME "\\Device\\MMMix"
57#define DD_MIX_DEVICE_NAME_U L"\\Device\\MMMix"
58#define DD_MIX_DOS_DEVICE_NAME "\\DosDevices\\MMMix"
59#define DD_MIX_DOS_DEVICE_NAME_U L"\\DosDevices\\MMMix"
60#define DD_MIX_WIN32_DEVICE_NAME "\\\\.\\MMMix"
61#define DD_MIX_WIN32_DEVICE_NAME_U L"\\\\.\\MMMix"
62
63#define DD_AUX_DEVICE_NAME "\\Device\\MMAux"
64#define DD_AUX_DEVICE_NAME_U L"\\Device\\MMAux"
65#define DD_AUX_DOS_DEVICE_NAME "\\DosDevices\\MMAux"
66#define DD_AUX_DOS_DEVICE_NAME_U L"\\DosDevices\\MMAux"
67#define DD_AUX_WIN32_DEVICE_NAME "\\\\.\\MMAux"
68#define DD_AUX_WIN32_DEVICE_NAME_U L"\\\\.\\MMAux"
69
70
71/*
72 Registry keys (NT4)
73*/
74
75#define REG_SERVICES_KEY_NAME_U L"System\\CurrentControlSet\\Services"
76#define REG_PARAMETERS_KEY_NAME_U L"Parameters"
77#define REG_DEVICE_KEY_NAME_U L"Device"
78#define REG_DEVICES_KEY_NAME_U L"Devices"
79
80#endif