waveOutGetPosition The waveOutGetPosition function retrieves the current playback position of the given waveform-audio output device.
VB4-32,5,6
Declare Function waveOutGetPosition Lib "winmm.dll" Alias "waveOutGetPosition" (ByVal hWaveOut As Long, lpInfo As MMTIME, ByVal uSize As Long) As Long |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- hwo
Handle of the waveform-audio output device.
- pmmt
Address of an MMTIME structure.
- cbmmt
Size, in bytes, of the MMTIME structure. |
Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible error values include the following.
MMSYSERR_INVALHANDLE Specified device handle is invalid.
MMSYSERR_NODRIVER No device driver is present.
MMSYSERR_NOMEM Unable to allocate or lock memory. |
|