Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
898 B

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1990-1999 Microsoft Corporation
  3. Module Name:
  4. ntddsnd.h
  5. Abstract:
  6. This is the include file that defines all the common
  7. constants and types for sound devices.
  8. Author:
  9. Nigel Thompson (NigelT) 17-May-91
  10. Revision History:
  11. --*/
  12. #ifndef _NTDDSND_
  13. #define _NTDDSND_
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. //
  21. // Define the IOCTL base values for sound devices and each class
  22. // of sound device
  23. //
  24. #define IOCTL_SOUND_BASE FILE_DEVICE_SOUND
  25. #define IOCTL_WAVE_BASE 0x0000
  26. #define IOCTL_MIDI_BASE 0x0080
  27. //
  28. // Define some useful limits
  29. //
  30. #define SOUND_MAX_DEVICE_NAME 80 // BUGBUG this is a wild guess
  31. #define SOUND_MAX_DEVICES 100 // Max no of devices of a given type
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35. #endif // _NTDDSND_