Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 968 Bytes

File metadata and controls

53 lines (36 loc) · 968 Bytes

Home

Function name : waveInPrepareHeader

Group: Windows Multimedia - Library: winmm


The waveInPrepareHeader function prepares a buffer for waveform-audio input.


Code examples:

Class for sound recording

Declaration:

MMRESULT waveInPrepareHeader(
  HWAVEIN hwi,
  LPWAVEHDR pwh,
  UINT cbwh
);  

FoxPro declaration:

DECLARE INTEGER waveInPrepareHeader IN winmm;
	INTEGER hwi,;
	INTEGER pwh,;
	LONG cbwh
  

Parameters:

hwi Handle to the waveform-audio input device.

pwh Pointer to a WAVEHDR structure that identifies the buffer to be prepared.

cbwh Size, in bytes, of the WAVEHDR structure.


Return value:

Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.