Waveform output messages are sent by audio device drivers to an application to inform the application about the status of waveform output operations. By specifying flags with the waveOutOpen function, applications may choose to have messages sent either to a window or to a low-level callback function. Use these messages to manage waveform playback:
MM_WOM_CLOSE
Sent to a window when a waveform output device is closed.
MM_WOM_DONE
Sent to a window when a data block has been played and is being returned to the application.
MM_WOM_OPEN
Sent to a window when a waveform output device is opened.
WOM_CLOSE
Sent to a low-level callback function when a waveform output device is closed.
WOM_DONE
Sent to a low-level callback function when a data block has been played and is being returned to the application.
WOM_OPEN
Sent to a low-level callback function when a waveform output device is opened.