共用方式為


CTransformFilter::CTransformFilter

 
Microsoft DirectShow 9.0

CTransformFilter::CTransformFilter

Constructor method.

Syntax

  CTransformFilter(
    TCHAR *pObjectName,
    LPUNKNOWN lpUnk,
    CLSID clsid
);

Parameters

pObjectName

String containing the debug name of the filter. For more information, see CBaseObject.

lpUnk

Pointer to the owner of this object. If the object is aggregated, pass a pointer to the aggregating object's IUnknown interface. Otherwise, set this parameter to NULL.

clsid

Class identifier of the filter.

Remarks

The constructor does not create the filter's pins. That happens during the first call to the GetPin method. The constructor initializes the m_pInput and m_pOutput member variables to NULL.

Requirements

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

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

See Also