EC_DVD_CURRENT_HMSF_TIME

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Signals the current time, in DVD_HMSF_TIMECODE format, relative to the start of the title. This event is triggered at the beginning of every VOBU, which occurs every 0.4 to 1.0 seconds.

Parameters

lParam1

A ULONG value that contains the DVD_HMSF_TIMECODE structure. Assign lParam1 to a ULONG variable and then cast that variable to a DVD_HMSF_TIMECODE to access its values.

lParam2

A ULONG value containing a union of DVD_TIMECODE_FLAGS.

Remarks

The DVD_HMSF_TIMECODE format is intended to replace the old BCD format that is returned in EC_DVD_CURRENT_TIME events. The HMSF timecodes are easier to work with. To have the Navigator send EC_DVD_CURRENT_HMSF_TIME events instead of EC_DVD_CURRENT_TIME events, an application must call IDvdControl2::SetOption(DVD_HMSF_TimeCodeEvents, TRUE). When this flag is set, the Navigator will also expect all time parameters in the IDvdControl2 and IDvdInfo2 methods to be passed as DVD_HMSF_TIMECODEs.

This event is raised in the title domains.

Requirements

Requirement Value
Header
Dvdevcode.h (include Dshow.h)

See also

DVD Applications

DVD Event Notification Codes

Event Notification in DirectShow