I'm using a function called PlayResource() (found in MSDN) that takes the name of a wave resource and plays it. The function does this:
The sound could be potentially played very frequently and I think it would be better to just load/lock the resource once at program start then play when necessary and free on shutdown. I don't know if that's something that I should do though as I'm unfamiliar with all the ramifications of all the functions involved.
What do you think?