WIM_DATA

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.

WIM_DATA 
dwParam1 = (DWORD) lpwvhdr 
dwParam2 = reserved 
 

Parameters

dwParam1
Address of a WAVEHDR structure that identifies the buffer containing the data.
dwParam2
Reserved; must be zero.

Return Values

This message does not return a value.

Remarks

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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mmsystem.h.

See Also

Waveform Audio Overview, Waveform Messages, WAVEHDR, waveInReset