共用方式為


CBaseFilter::Register

 
Microsoft DirectShow 9.0

CBaseFilter::Register

The Register method adds the filter to the registry.

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.

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also