CFactoryTemplate::m_lpfnInit

 
Microsoft DirectShow 9.0

CFactoryTemplate::m_lpfnInit

Pointer to a function that gets called from the DLL entry point. Can be NULL.

Syntax

  typedef void (CALLBACK *LPFNInitRoutine)(BOOL bLoading, const CLSID *rclsid);

LPFNInitRoutine m_lpfnInit;

Remarks

If you provide this function in your DLL, the DLL entry-point function calls it with following parameters:

  • bLoading: TRUE when the DLL is loaded, FALSE when the DLL is unloaded.
  • rclsid: Pointer to the object's CLISD, specified in the CFactoryTemplate::m_ClsID member variable.

Requirements

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

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

See Also