Group: Windows Multimedia - Library: winmm
The waveInGetPosition function retrieves the current input position of the given waveform-audio input device.
MMRESULT waveInGetPosition(
HWAVEIN hwi,
LPMMTIME pmmt,
UINT cbmmt
); DECLARE INTEGER waveInGetPosition IN winmm;
INTEGER hwi,;
STRING @ pmmt,;
LONG cbmmt hwi Handle to the waveform-audio input device.
pmmt Pointer to an MMTIME structure.
cbmmt Size, in bytes, of the MMTIME structure.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.
Home