Microsoft DirectX 8.1 (C++) |
The SetDefaultEffectB method sets the default effect. This method is equivalent to IAMTimeline::SetDefaultEffect, but takes a BSTR value, rather than a pointer to a GUID.
Syntax
HRESULT SetDefaultEffectB(
BSTR pGuid
);
Parameters
pGuid
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.
See Also