共用方式為


IAMTimeline::EnableEffects

 
Microsoft DirectShow 9.0

IAMTimeline::EnableEffects

The EnableEffects method enables or disables all effects in the timeline. If effects are disabled, they remain in the timeline but are not rendered.

Syntax

  HRESULT EnableEffects(
    BOOL fEnabled
);

Parameters

fEnabled

Boolean value that specifies whether to enable or disable effects. If TRUE, effects are enabled. If FALSE, effects are disabled.

Return Value

Returns S_OK.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also