DVD_MenuAttributes 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_MenuAttributes structure contains information about a DVD menu. The IDvdInfo2::GetTitleAttributes method fills in a DVD_MenuAttributes structure for a specified stream.
Syntax
typedef struct tagDVD_MenuAttributes {
BOOL fCompatibleRegion[8];
DVD_VideoAttributes VideoAttributes;
BOOL fAudioPresent;
DVD_AudioAttributes AudioAttributes;
BOOL fSubpicturePresent;
DVD_SubpictureAttributes SubpictureAttributes;
} DVD_MenuAttributes;
Members
fCompatibleRegion[8]
An array of TRUE/FALSE values indicating with which DVD regions the disc's authored region is compatible. The eight array indexes (numbered 0-7) correspond to the eight DVD regions (numbered 1-8). This array is only filled in when the menu being queried is the Video Manager Menu (the main menu for the entire disc).
VideoAttributes
A DVD_VideoAttributes structure containing the video attributes of the menu. This applies to both a VMGM and VTSM.
fAudioPresent
A variable of type BOOL indicating whether the menu has an audio stream.
AudioAttributes
A DVD_AudioAttributes structure containing information about the menu's audio stream. This structure will only be filled in if fAudioPresent is TRUE.
fSubpicturePresent
A variable of type BOOL indicating whether the menu has a subpicture stream.
SubpictureAttributes
A DVD_SubpictureAttributes structure containing information about the menu's subpicture stream. This structure will only be filled in if fSubpicturePresent is TRUE.
Requirements
Requirement | Value |
---|---|
Header | strmif.h (include Dshow.h) |