共用方式為


IGraphBuilder::Abort

 
Microsoft DirectShow 9.0

IGraphBuilder::Abort

The Abort method requests the Filter Graph Manager to halt its current task as quickly as possible.

The current task may or may not fail to complete. Possibly the fastest option for the Filter Graph Manager is to complete the task.

Syntax

  HRESULT Abort(void);

Return Value

Returns S_OK.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also