DVD_PLAYBACK_LOCATION2 structure (strmif.h)

[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.]

The DVD_PLAYBACK_LOCATION2 structure indicates DVD playback location.

Syntax

typedef struct tagDVD_PLAYBACK_LOCATION2 {
  ULONG             TitleNum;
  ULONG             ChapterNum;
  DVD_HMSF_TIMECODE TimeCode;
  ULONG             TimeCodeFlags;
} DVD_PLAYBACK_LOCATION2;

Members

TitleNum

Title number for the whole disc (not the track number of the Video Title Set).

ChapterNum

Part-of-title number with title. 0xffffffff if not a simple linear movie.

TimeCode

Timecode. Use DVD_HMSF_TIMECODE for current playback time. 0xffffffff if not a simple linear movie.

TimeCodeFlags

A bitwise DVD_TIMECODE_FLAGS enumeration.

Remarks

Either TitleNum and ChapterNum, or TitleNum and TimeCode, are sufficient to save the playback location for simple linear movies.

Requirements

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

See also

DirectShow Structures