共用方式為


IDvdInfo Interface

 
Microsoft DirectShow 9.0

IDvdInfo Interface

  • Note   This interface has been deprecated. It will continue to be supported for backward compatibility with existing applications, but new applications should use IDvdInfo2.

The IDvdInfo interface enables an application to query for attributes of available DVD titles and the DVD player status. It also allows for control of a DVD player beyond Annex J in the DVD specification. Use this interface to retrieve details about a DVD-Video or about the current state of the DVD player filter graph.

In addition to the methods inherited from IUnknown, the IDvdInfo interface exposes the following methods.

Method Description
GetAllGPRMs Retrieves the current contents of all general parameter registers (GPRMs).
GetAllSPRMs Retrieves the current contents of all system parameter registers (SPRMs).
GetAudioLanguage Retrieves the language of the specified audio stream within the current title.
GetCurrentAngle Retrieves the number of available angles and the currently selected angle number.
GetCurrentAudio Retrieves the number of available audio streams and the number of the currently selected audio stream.
GetCurrentAudioAttributes Retrieves the attributes for the current audio stream in the current title or menu.
GetCurrentButton Retrieves the number of available buttons and the currently selected button number.
GetCurrentDomain Retrieves the current DVD domain of the DVD player.
GetCurrentLocation Retrieves the current playback location.
GetCurrentSubpicture Retrieves the number of available subpicture streams, the currently selected subpicture stream number, and whether the subpicture display is disabled.
GetCurrentSubpictureAttributes Retrieves the attributes for the current subpicture stream in the current title or menu.
GetCurrentUOPS Retrieves which IDvdControl methods are valid.
GetCurrentVideoAttributes Retrieves the current video attributes for the current title or menu.
GetCurrentVolumeInfo Retrieves the current DVD volume information.
GetDVDTextInfo Retrieves the TXTDT_MG structure, which can contain text descriptions for title name, volume name, producer name, vocalist name, and so on, in various languages.
GetNumberOfChapters Retrieves the number of chapters that are defined for a given title.
GetPlayerParentalLevel Retrieves the current parental level and country/region code settings for the DVD player.
GetRoot Retrieves the root directory that is set in the player.
GetSubpictureLanguage Retrieves the language of the specified subpicture stream within the current title.
GetTitleAttributes Retrieves attributes of all video, audio, and subpicture streams for the specified title, including menus.
GetTitleParentalLevels Retrieves the parental levels that are defined for a particular title.
GetTotalTitleTime Retrieves the total playback time for the current title.
GetVMGAttributes Retrieves attributes of all video, audio, and subpicture streams for video manager (VMG) menus.

See Also