Share via


CBasePin::Run (Compact 2013)

3/26/2014

Notifies the pin that the filter has changed state from paused to running.

Syntax

HRESULT Run(
  REFERENCE_TIME tStart
);

Parameters

  • tStart
    Start time as passed to the filter's Run method.

Return Value

Returns an HRESULT value (NOERROR_OK by default).

Remarks

This member function can be overridden in the derived class to perform activities such as committing memory or obtaining resources.

The filter graph manager's internal state variable is not updated until after this member function returns, so avoid testing the filter graph manager's state (directly or indirectly) from within this member function.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBasePin Class