Share via


CBasePin::Run

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

HRESULT Run(
  REFERENCE_TIME tStart
);

Parameters

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

Return Values

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.

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

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.