Microsoft DirectX 9.0

IMSVidPlayback.EnableResetOnStop

This topic applies to Windows XP Service Pack 1 only.

The EnableResetOnStop property indicates how playback will resume if the graph is rebuilt.

Syntax

objVidPlayback.EnableResetOnStop As Boolean

Parameters

This property takes no parameters.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns a Boolean value. If True, the Video Control seeks back to the start before resuming playback. If False, it attempts to start from position where playback was interrupted.

Remarks

In some situaitions, the filter graph may be torn down and rebuilt during play. For example, this can happen if the monitor resolution is changed or the screen saver starts. The EnableResetOnStop property specifies whether the Video Control should resume playback where it was interrupted, or should restart at the beginning of the source.

Generally this property should be set to False (the default value) to ensure continuous viewing. However, if the Video Control has difficulty returning to the last playback point, set the value to True.

This property is read/write.

See Also