Waveform input messages are sent by audio device drivers to an application to inform the application about the status of waveform input operations. By specifying flags with the waveInOpen 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 audio recording:
MM_WIM_CLOSE
Sent to a window when a waveform input device is closed.
MM_WIM_DATA
Sent to a window when an input data buffer is full and is being returned to the application.
MM_WIM_OPEN
Sent to a window when a waveform input device is opened.
WIM_CLOSE
Sent to a low-level callback function when a waveform input device is closed.
WIM_DATA
Sent to a low-level callback function when an input data buffer is full and is being returned to the application.
WIM_OPEN
Sent to a low-level callback function when a waveform input device is opened.