DVM_STREAM_GETPOSITION

Notifies a video capture driver to retrieve the current position of the VIDEO_IN stream.

DV_ERR_PARM1

Indicates the data structure supplied for the format has invalid data.

DV_ERR_SIZEFIELD

Indicates the data structure supplied for the format is too small.


dwParam1

Address of a MMTIME structure.

dwParam2

Size, in bytes, of the MMTIME structure.

If a device does not support the format specified in the wtype field of the MMTIME data structure it specifies the current time format in the field. The application checks the format specified in this field when the message returns. Video capture drivers typically return time in the milliseconds format.

The device sets the position to zero when it receives the DVM_STREAM_START message.