IFilterMapper2::UnregisterFilter method (strmif.h)

The UnregisterFilter method removes filter information from the registry.

Syntax

HRESULT UnregisterFilter(
  [in] const CLSID *pclsidCategory,
  [in] LPCOLESTR   szInstance,
  [in] REFCLSID    Filter
);

Parameters

[in] pclsidCategory

Address of a GUID that specifies the filter category from which to remove the filter. For a list of categories, see Filter Categories.

[in] szInstance

Instance data used to construct the device moniker's display name. Use the value that was originally passed to the RegisterFilter method.

[in] Filter

Class identifier (CLSID) of the filter.

Return value

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

Remarks

If the filter was not registered, the method might return an error.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)
Library Strmiids.lib

See also

Error and Success Codes

IFilterMapper2 Interface