DVD_ERROR Enumeration

The DVD_ERROR enumeration value defines DVD error conditions.

The EC_DVD_ERROR event contains a flag from this enumeration in the lParam1 event parameter. The value of the flag determines the meaning of the lParam2 parameter, as described here for each flag. If not listed, lParam2 is zero.

Syntax

typedef enum _tagDVD_ERROR {
  DVD_ERROR_Unexpected,
  DVD_ERROR_CopyProtectFail,
  DVD_ERROR_InvalidDVD1_0Disc,
  DVD_ERROR_InvalidDiscRegion,
  DVD_ERROR_LowParentalLevel,
  DVD_ERROR_MacrovisionFail,
  DVD_ERROR_IncompatibleSystemAndDecoderRegions,
  DVD_ERROR_IncompatibleDiscAndDecoderRegions,
  DVD_ERROR_CopyProtectOutputFail,
  DVD_ERROR_CopyProtectOutputNotSupported
} DVD_ERROR;

Constants

DVD_ERROR_Unexpected Something unexpected happened; perhaps content is authored incorrectly. Playback is stopped.
DVD_ERROR_CopyProtectFail Key exchange for DVD copy protection failed. Playback is stopped.
DVD_ERROR_InvalidDVD1_0Disc DVD-Video disc is authored incorrectly for specification version 1.x. Playback is stopped.
DVD_ERROR_InvalidDiscRegion The disc cannot be played because it is not authored to play in the system region. You can try fixing the region mismatch by changing the system region with Dvdrgn.exe.

lParam2: The low WORD contains the disc region and the high WORD contains the system region.

DVD_ERROR_LowParentalLevel Player parental level is lower than the lowest parental level available in the DVD content. Playback is stopped.

lParam2: The lowest parental level in the DVD content, or -1 if no parental level is specified in the content.

DVD_ERROR_MacrovisionFail Analog copy protection distribution failed. Playback stopped.
DVD_ERROR_IncompatibleSystemAndDecoderRegions No discs can be played because the system region does not match the decoder region.

lParam2: The low WORD contains the system region and the high WORD contains the decoder region.

DVD_ERROR_IncompatibleDiscAndDecoderRegions The disc cannot be played because the disc is not authored to be played in the decoder's region.

lParam2: The low WORD contains the disc region and the high WORD contains the decoder region.

DVD_ERROR_CopyProtectOutputFail The disc cannot be played because the video display does not meet the copy protection requirements.
DVD_ERROR_CopyProtectOutputNotSupported The disc cannot be played because the driver does not support checking the video display.

Remarks

For the flags where lParam2 contains two region codes, the regions are encoded as a set of bits, one bit per region, in reverse order. If a disc is allowed in a region, that bit is turned off. For example, for a Region 2 disc, the value is 11111101, with the second least significant bit turned off. A multi-region disc will have more than one bit turned off.

Requirements

   
Header dvdevcod.h (include Dshow.h)

See Also

DVD Region Change Support in Windows

DirectShow Enumerated Types

EC_DVD_ERROR