Partager via


DVD_MenuAttributes Structure

 
Microsoft DirectShow 9.0

DVD_MenuAttributes Structure

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

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).

  • Important: A value of 0 (FALSE) indicates that the region is compatible (permitted). A value of 1 (TRUE) indicates that the region is not compatible. This member should have been named fIncompatibleRegion.

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

Header: Dshow.h.

See Also