共用方式為


IAMTimeline::GetDefaultEffectB

 
Microsoft DirectShow 9.0

IAMTimeline::GetDefaultEffectB

The GetDefaultEffectB method retrieves the default effect. This method is equivalent to IAMTimeline::GetDefaultEffect, but receives a BSTR value rather than a GUID.

Syntax

  HRESULT GetDefaultEffectB(
    BSTR *pGuid
);

Parameters

pGuid

[out, retval] Pointer to a variable that receives a BSTR value representing the GUID of the default effect.

Return Value

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

Remarks

The method allocates memory for the string. The application must call SysFreeString to free the memory.

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