Sounds are to be stopped for the calling task. If sound is not NULL, all instances of the specified sound are stopped. If sound is NULL, all sounds that are playing on behalf of the calling task are stopped.
You must also specify the instance handle to stop SND_RESOURCE events.
Winmm Class | Tao.Platform.Windows Namespace