Leaked source code of windows server 2003
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.

37 lines
1.2 KiB

  1. //--------------------------------------------------------------------------;
  2. //
  3. // File: speakers.h
  4. //
  5. // Copyright (c) 1997 Microsoft Corporation. All rights reserved
  6. //
  7. //
  8. //--------------------------------------------------------------------------;
  9. #ifndef SPEAKERS_HEADER
  10. #define SPEAKERS_HEADER
  11. #define TYPE_NOSPEAKERS 0
  12. #define TYPE_HEADPHONES 1
  13. #define TYPE_STEREODESKTOP 2
  14. #define TYPE_MONOLAPTOP 3
  15. #define TYPE_STEREOLAPTOP 4
  16. #define TYPE_STEREOMONITOR 5
  17. #define TYPE_STEREOCPU 6
  18. #define TYPE_MOUNTEDSTEREO 7
  19. #define TYPE_STEREOKEYBOARD 8
  20. #define TYPE_QUADRAPHONIC 9
  21. #define TYPE_SURROUND 10
  22. #define TYPE_SURROUND_5_1 11
  23. #define TYPE_SURROUND_7_1 12
  24. #define MAX_SPEAKER_TYPE TYPE_SURROUND_7_1
  25. INT_PTR CALLBACK SpeakerHandler(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);
  26. void VerifySpeakerConfig(DWORD dwSpeakerConfig, LPDWORD pdwSpeakerType);
  27. DWORD GetSpeakerConfigFromType(DWORD dwType);
  28. #define SPEAKERS_DEFAULT_CONFIG DSSPEAKER_COMBINED(DSSPEAKER_STEREO, DSSPEAKER_GEOMETRY_WIDE)
  29. #define SPEAKERS_DEFAULT_TYPE TYPE_STEREODESKTOP
  30. #endif // SPEAKERS_HEADER