Compartilhar via


CVideoTransformFilter::AbortPlayback

 
Microsoft DirectShow 9.0

CVideoTransformFilter::AbortPlayback

The AbortPlayback method is used to signal a streaming error. It sends an EC_ERRORABORT event to the Filter Graph Manager, and sends an end-of-stream notification downstream.

Syntax

  HRESULT AbortPlayback(
    HRESULT hr
);

Parameters

hr

HRESULT value of the operation that failed. This value is used as the first event parameter for the EC_ERRORABORT event.

Return Value

Returns the value of the hr parameter.

Requirements

**  Header:** Declared in Vtrans.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also