Microsoft DirectX 8.0

DVD_PLAYBACK_LOCATION2 Structure

Structures

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 union of DVD_TIMECODE_EVENT_FLAGS.

Remarks

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