DVD_TitleAttributes 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_TitleAttributes structure contains information about a DVD title.

Syntax

typedef struct tagDVD_TitleMainAttributes {
  union {
    DVD_TITLE_APPMODE AppMode;
    DVD_HMSF_TIMECODE TitleLength;
  };
  DVD_VideoAttributes             VideoAttributes;
  ULONG                           ulNumberOfAudioStreams;
  DVD_AudioAttributes             AudioAttributes[8];
  DVD_MultichannelAudioAttributes MultichannelAudioAttributes[8];
  ULONG                           ulNumberOfSubpictureStreams;
  DVD_SubpictureAttributes        SubpictureAttributes[32];
} DVD_TitleAttributes;

Members

AppMode

A variable of type DVD_TITLE_APPMODE indicating whether the Navigator is in karaoke mode.

TitleLength

A DVD_HMSF_TIMECODE structure.

VideoAttributes

A DVD_VideoAttributes structure containing information about the "main" video of the current menu or title.

ulNumberOfAudioStreams

The number of audio streams available in the title.

AudioAttributes[8]

An array of DVD_AudioAttributes structures containing information about each available audio stream in the current title.

MultichannelAudioAttributes[8]

An array of DVD_AudioAttributes structure.

ulNumberOfSubpictureStreams

The number of subpicture streams available in the title.

SubpictureAttributes[32]

An array of DVD_SubpictureAttributes structures that contain information about each available subpicture stream in the title.

Remarks

By default, the DVD Navigator uses the AppMode member of the anonymous union to report the title mode.

If the application sets the DVD_EnableTitleLength option to TRUE, the DVD Navigator uses the TitleLength member of the union to report the title length. To set this option, call the IDvdControl2::SetOption method.

Requirements

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

See also

DirectShow Structures

IDvdInfo2::GetTitleAttributes