Wave application programming interface (API) messages fall into two categories: window messages and callback function messages. The following table shows these messages.
| Programming element | Description |
|---|---|
| MM_WIM_CLOSE | This message is sent to a window when a waveform-audio input device is closed. |
| MM_WIM_DATA | This message is sent to a window when waveform-audio data is present in the input buffer and the buffer is being returned to the application. |
| MM_WIM_OPEN | This message is sent to a window when a waveform-audio input device is opened. |
| MM_WOM_ATTENUATED | This message indicates that an audio stream is controlled by an audio gain class. |
| MM_WOM_CLOSE | This message is sent to a window when a waveform-audio output device is closed. |
| MM_WOM_DONE | This message is sent to a window when the given output buffer is being returned to the application. |
| WIM_CLOSE | This message is sent to the given waveInProc callback function when a waveform-audio input device is closed. |
| WIM_DATA | This message is sent to the given waveInProc callback function when waveform-audio data is present in the input buffer and the buffer is being returned to the application. |
| WIM_OPEN | This message is sent to a waveInProc callback function when a waveform-audio input device is opened. |
| WOM_CLOSE | This message is sent to a waveOutProc callback function when a waveform-audio output device is closed. |
| WOM_DONE | This message is sent to a waveOutProc callback function when the given output buffer is being returned to the application. |
| WOM_OPEN | This message is sent to a waveOutProc callback function when a waveform-audio output device is opened. |
See Also
Send Feedback on this topic to the authors