Share via


CPullPin::OnError (Compact 2013)

3/26/2014

Override to handle run-time errors that caused pulling to stop.

Syntax

virtual void OnError(
  HRESULT hr
) PURE;

Parameters

  • hr
    HRESULT value of the trapped error.

Return Value

None.

Remarks

These errors are returned from the upstream filter (the asynchronous reader), which will have already reported errors to the filter graph manager. This member function must be implemented because it is called by several CPullPin member functions when trapping errors.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CPullPin Class