CBaseFilter.Unregister method

The Unregister method removes the filter from the registry.

Note

This method is obsolete. New filters should be unregistered using the AMovieDllRegisterServer2 function. For more information, see How to Register DirectShow Filters.

Syntax

HRESULT Unregister();

Parameters

This method has no parameters.

Return value

Returns S_OK if successful, or an HRESULT value indicating the cause of the error.

Requirements

Header
Amfilter.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CBaseFilter Class