Compartilhar via


DVD_PB_STOPPED enumeration (dvdevcod.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_PB_STOPPED enumeration value has flags that indicate why DVD playback stopped. This flag is sent in the lParam1 parameter of the EC_DVD_PLAYBACK_STOPPED event.

Syntax

typedef enum _tagDVD_PB_STOPPED {
  DVD_PB_STOPPED_Other = 0,
  DVD_PB_STOPPED_NoBranch = 1,
  DVD_PB_STOPPED_NoFirstPlayDomain = 2,
  DVD_PB_STOPPED_StopCommand = 3,
  DVD_PB_STOPPED_Reset = 4,
  DVD_PB_STOPPED_DiscEjected = 5,
  DVD_PB_STOPPED_IllegalNavCommand = 6,
  DVD_PB_STOPPED_PlayPeriodAutoStop = 7,
  DVD_PB_STOPPED_PlayChapterAutoStop = 8,
  DVD_PB_STOPPED_ParentalFailure = 9,
  DVD_PB_STOPPED_RegionFailure = 10,
  DVD_PB_STOPPED_MacrovisionFailure = 11,
  DVD_PB_STOPPED_DiscReadError = 12,
  DVD_PB_STOPPED_CopyProtectFailure = 13,
  DVD_PB_STOPPED_CopyProtectOutputFailure = 14,
  DVD_PB_STOPPED_CopyProtectOutputNotSupported = 15
} DVD_PB_STOPPED;

Constants

 
DVD_PB_STOPPED_Other
Value: 0
Unspecified reason.
DVD_PB_STOPPED_NoBranch
Value: 1
The current program chain (PGC) completed and the DVD Navigator found no other video or other branching instructions.
DVD_PB_STOPPED_NoFirstPlayDomain
Value: 2
The disc does not contain an initial startup program.
DVD_PB_STOPPED_StopCommand
Value: 3
The application stopped playback or a DVD Navigator reached a stop command on the disc.
DVD_PB_STOPPED_Reset
Value: 4
The DVD Navigator was reset to the start of the disc.
DVD_PB_STOPPED_DiscEjected
Value: 5
The disc was ejected.
DVD_PB_STOPPED_IllegalNavCommand
Value: 6
An invalid navigation command prevented playback from continuing.
DVD_PB_STOPPED_PlayPeriodAutoStop
Value: 7
Playback reached the end time that was specified by the application.
DVD_PB_STOPPED_PlayChapterAutoStop
Value: 8
Playback reached the end of the chapter.
DVD_PB_STOPPED_ParentalFailure
Value: 9
Playback was stopped because of the parental level.
DVD_PB_STOPPED_RegionFailure
Value: 10
Playback was stopped because the region did not match.
DVD_PB_STOPPED_MacrovisionFailure
Value: 11
Playback was stopped because of analog copy protection.
DVD_PB_STOPPED_DiscReadError
Value: 12
An error occurred while reading the disc.
DVD_PB_STOPPED_CopyProtectFailure
Value: 13
Playback was stopped because of copy protection.
DVD_PB_STOPPED_CopyProtectOutputFailure
Value: 14
The disc cannot be played because the video display does not meet the copy protection requirements.
DVD_PB_STOPPED_CopyProtectOutputNotSupported
Value: 15
The disc cannot be played because the driver does not support checking the video display.

Requirements

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

See also

DirectShow Enumerated Types