locked
Beep() alternative in Windows Store App

    Question

  • Hi,

    In win32 or Desktop apps, I can play a System Sound using MessageBeep() function. How do I play a system sound in Windows Store app using XAML/C++?

    Tuesday, June 10, 2014 9:04 AM

Answers

  • You can play a sound with a MediaElement or with the XAudio API. There is no concept of a system sound: you'll need to define your own beep.
    Tuesday, June 10, 2014 12:28 PM
    Owner

All replies

  • You can play a sound with a MediaElement or with the XAudio API. There is no concept of a system sound: you'll need to define your own beep.
    Tuesday, June 10, 2014 12:28 PM
    Owner
  • So I will just have to use MediaElement to play these system sounds: C:\Windows\Media. Thanks.
    Wednesday, June 11, 2014 2:14 AM