summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/ntddsnd.h
blob: b3ad9884d5c79f9faefabcf00e366e4a20ebc19b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*++ BUILD Version: 0001    // Increment this if a change has global effects

Copyright (c) 1990-1993  Microsoft Corporation

Module Name:

    ntddsnd.h

Abstract:

    This is the include file that defines all the common
    constants and types for sound devices.

Author:

    Nigel Thompson (NigelT) 17-May-91

Revision History:

--*/

#ifndef _NTDDSND_
#define _NTDDSND_

//
// Define the IOCTL base values for sound devices and each class
// of sound device
//

#define IOCTL_SOUND_BASE                  FILE_DEVICE_SOUND
#define IOCTL_WAVE_BASE 0x0000
#define IOCTL_MIDI_BASE 0x0080

//
// Define some useful limits
//

#define SOUND_MAX_DEVICE_NAME 80    // BUGBUG this is a wild guess
#define SOUND_MAX_DEVICES     100   // Max no of devices of a given type
#endif // _NTDDSND_