WIM_DATA message

The WIM_DATA message is sent to the given waveform-audio input callback function when waveform-audio data is present in the input buffer and the buffer is being returned to the application. The message can be sent when the buffer is full or after the waveInReset function is called.

dwParam1 = (DWORD) lpwvhdr 
dwParam2 = reserved 



Pointer to a WAVEHDR structure that identifies the buffer containing the data.


Reserved; must be zero.

Return Value

This message does not return a value.


The returned buffer might not be full. Use the dwBytesRecorded member of the WAVEHDR structure specified by lpwvhdr to determine the number of bytes recorded into the returned buffer.


Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Mmsystem.h (include Windows.h)

See also

Waveform Audio

Waveform Messages