Microsoft Windows CE 3.0  

IsDurationValid

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Retrieves a value specifying whether the value of the Durationproperty is valid.

Compatibility:Windows Media Player

[
bDurationValid
= ] MediaPlayer.IsDurationValid

Parameters

bDurationValid
Boolean value specifying whether the Duration property is valid. If true, Duration is valid. This property is read-only with no default value.

Remarks

During some broadcasts (typically live events) the duration of the presentation is unknown. If the duration cannot be determined, the value of this property is false.

See Also

Duration, Retrieving Presentation Information