共用方式為


IAMTimeline::SetDefaultTransitionB

 
Microsoft DirectShow 9.0

IAMTimeline::SetDefaultTransitionB

The SetDefaultTransitionB method sets the default transition. This method is equivalent to IAMTimeline::SetDefaultTransition, but takes a BSTR value, rather than a pointer to a GUID.

Syntax

  HRESULT SetDefaultTransitionB(
    BSTR pGuid
);

Parameters

pGuid

BSTR value representing the GUID of the default transition.

Return Value

Returns S_OK if successful. Otherwise, returns E_OUTOFMEMORY or another HRESULT value indicating the cause of the error.

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