Compartilhar via


IRenderEngine2::SetResizerGUID

 
Microsoft DirectShow 9.0

IRenderEngine2::SetResizerGUID

The SetResizerGUID method specifies the CLSID of a custom video resizing filter. Call this method to replace the default resizing filter used by DirectShow Editing Services. Your filter must be registered as a COM object on the user's system, and it must support the IResize interface.

Call this method before calling IRenderEngine::ConnectFrontEnd.

Syntax

  HRESULT SetResizerGUID(
    GUID ResizerGuid
);

Parameters

ResizerGuid

[in]  Specifies the CLSID of the filter.

Return Value

Returns an HRESULT value.

Remarks

To revert to the default DES resizer, use the following CLSID:

// {F97B8A60-31AD-11CF-B2DE-00DD01101B85}
DEFINE_GUID(CLSID_Resize, 
0xF97B8A60, 0x31AD, 0x11CF, 0xB2, 0xDE, 0x00, 0xDD, 0x01, 0x10, 0x1B, 0x85);

Requirements

Requires DirectX 9.0 or later.

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

Library: Use strmiids.lib.

See Also