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.

51 lines
872 B

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. csrbeep.c
  5. Abstract:
  6. This module implements functions that are used by the Win32 Beep APIs to communicate
  7. with csrss.
  8. Author:
  9. Michael Zoran (mzoran) 21-Jun-1998
  10. Revision History:
  11. --*/
  12. #include "basedll.h"
  13. VOID
  14. CsrBasepSoundSentryNotification(
  15. ULONG VideoMode
  16. )
  17. {
  18. #if defined(BUILD_WOW6432)
  19. NtWow64CsrBasepSoundSentryNotification(VideoMode);
  20. #else
  21. BASE_API_MSG m;
  22. PBASE_SOUNDSENTRY_NOTIFICATION_MSG e = &m.u.SoundSentryNotification;
  23. e->VideoMode = VideoMode;
  24. CsrClientCallServer((PCSR_API_MSG)&m,
  25. NULL,
  26. CSR_MAKE_API_NUMBER( BASESRV_SERVERDLL_INDEX,
  27. BasepSoundSentryNotification ),
  28. sizeof( *e )
  29. );
  30. #endif
  31. }