Partager via


Stop method

Stops the transition playback.

Syntax

HRESULT retVal = object.Stop();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

If playing, this method stops playback and sets progress to the end (1.0) of the transition. The HTMLFrameSiteEvents::onfilterchange event is not fired when the user calls ICSSFilterDispatch::Stop on a transition that's currently playing.

If using two inputs, this method disables the filter. Call ICSSFilterDispatch::Apply again to re-enable the filter.