Microsoft DirectX 8.1 (C++)

CBaseFilter::Unregister

The Unregister method removes the filter from the registry. This method implements the IAMovieSetup::Unregister method.

Note   The IAMovieSetup interface is obsolete. New filters should be unregistered using the AMovieDllRegisterServer2 function, which does not require IAMovieSetup. For more information, see How to Register DirectShow Filters.

Syntax

HRESULT Unregister(void);

Return Value

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

Remarks

This method calls the AMovieSetupRegisterFilter function to unregister the filter.

See Also