AMovieDllRegisterServer2

 
Microsoft DirectShow 9.0

AMovieDllRegisterServer2

The AMovieDllRegisterServer2 function registers and unregisters filters.

Syntax

  HRESULT AMovieDllRegisterServer2(
    BOOL bRegister
);

Parameters

bRegister

TRUE indicates register the filter, FALSE indicates unregister it.

Return Value

Returns S_OK if the method succeeds, or an HRESULT error code.

Remarks

Use this function to set up your filters. For more information, see How to Register DirectShow Filters.

Requirements

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

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

See Also