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.

61 lines
815 B

  1. #if DBG
  2. #define DEBUGMSG(s) DbgPrint s
  3. //#define DEBUGMSG(s) printf s
  4. //#define DEBUGMSG(s) (0)
  5. #else
  6. #define DEBUGMSG(s) (0)
  7. #endif
  8. typedef UINT (* WAVE_NUM_DEV_FN)(VOID);
  9. typedef BOOL (* PLAY_SOUND_FN)( IN LPCWSTR pszSound, IN HMODULE hmod, IN DWORD fdwSound);
  10. extern HINSTANCE ghInstance;
  11. extern HKEY ghCurrentUserKey;
  12. typedef enum
  13. {
  14. INRANGE_SOUND,
  15. OUTOFRANGE_SOUND,
  16. INTERRUPTED_SOUND,
  17. END_INTERRUPTED_SOUND
  18. } IRSOUND_EVENT;
  19. VOID
  20. PlayIrSound(
  21. IRSOUND_EVENT SoundEvent
  22. );
  23. VOID
  24. CreateRegSoundData(
  25. VOID
  26. );
  27. VOID
  28. GetRegSoundData(
  29. HANDLE Event
  30. );
  31. VOID
  32. LoadSoundApis(
  33. VOID
  34. );
  35. BOOL
  36. InitializeSound(
  37. HKEY CurrentUserKey,
  38. HANDLE Event
  39. );
  40. VOID
  41. UninitializeSound(
  42. VOID
  43. );