共用方式為


IGraphConfig::RemoveFilterFromCache

 
Microsoft DirectShow 9.0

IGraphConfig::RemoveFilterFromCache

The RemoveFilterFromCache method removes a filter from the filter cache.

Syntax

  HRESULT RemoveFilterFromCache(
  IBaseFilter *pFilter
);

Parameters

pFilter

[in] Pointer to the filter to remove from the cache.

Return Values

Returns one of the following HRESULT values.

Return code Description
E_POINTER Null pointer argument.
S_FALSE Filter was not in the cache.
S_OK Filter was successfully removed from the cache.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also