Microsoft DirectX 8.1 (C++)

CBaseFilter::Register

The Register method adds the filter to the registry. This method implements the IAMovieSetup::Register method.

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

Syntax

HRESULT Register(void);

Return Value

Returns one of the HRESULT values listed in the following table.

Value Description
S_OK Success.
S_FALSE No registration information is available.

Remarks

This method calls the AMovieSetupRegisterFilter function to register the filter.

See Also