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.

28 lines
829 B

  1. /****************************** Module Header ******************************\
  2. * Module Name: msgbeep.c
  3. *
  4. * Copyright (c) 1985 - 1999, Microsoft Corporation
  5. *
  6. * This module contains ConsolePlaySound.
  7. *
  8. * History:
  9. * 06-26-91 NigelT Created it with some wood and a few nails.
  10. * 05-07-92 SteveDav Getting closer to the real thing.
  11. \***************************************************************************/
  12. #include "precomp.h"
  13. #pragma hdrstop
  14. #include "ntuser.h"
  15. /***************************************************************************\
  16. *
  17. * ConsolePlaySound
  18. *
  19. * Play the Open sound for console applications.
  20. *
  21. \***************************************************************************/
  22. VOID ConsolePlaySound(
  23. VOID)
  24. {
  25. NtUserCallOneParam(USER_SOUND_OPEN, SFI_PLAYEVENTSOUND);
  26. }