BOOL
VC_GetStreamPos(
VCUSER_HANDLE vh,
LPMMTIME pTime
);
The VC_GetStreamPos function requests a kernel-mode video capture driver to return the current position within the capture stream.
Returns TRUE if the operation succeeds. Otherwise returns FALSE.
The VC_GetStreamPos function returns the time, in milliseconds, since VC_StreamStart was called, by filling in the MMTIME structure.
The VC_GetStreamPos function calls DeviceIoControl (described in the Win32 SDK) to send an IOCTL_VIDC_GET_POSITION control code to the specified kernel-mode driver. When a kernel-mode driver using VCKernel.lib receives this control code, its StreamGetPositionFunc function is called.