Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 965 Bytes

File metadata and controls

52 lines (36 loc) · 965 Bytes

Home

Function name : waveInGetPosition

Group: Windows Multimedia - Library: winmm


The waveInGetPosition function retrieves the current input position of the given waveform-audio input device.


Code examples:

Class for sound recording

Declaration:

MMRESULT waveInGetPosition(
  HWAVEIN hwi,
  LPMMTIME pmmt,
  UINT cbmmt
);  

FoxPro declaration:

DECLARE INTEGER waveInGetPosition IN winmm;
	INTEGER   hwi,;
	STRING  @ pmmt,;
	LONG      cbmmt  

Parameters:

hwi Handle to the waveform-audio input device.

pmmt Pointer to an MMTIME structure.

cbmmt Size, in bytes, of the MMTIME structure.


Return value:

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