Partager via


CTransformFilter::CTransformFilter (Compact 2013)

3/26/2014

Constructs a CTransformFilter object.

Syntax

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

Parameters

  • lpUnk
    Pointer to LPUNKNOWN.

Return Value

None.

Remarks

The constructor of the derived class calls this member function.

The pin objects are not created at this time; they are created when calling the CTransformFilter::GetPin member function. Thus the pins (m_pInput and m_pOutput) cannot be referred to in the constructor unless GetPin is first called.

(An external object can find pins only by enumerating them or by calling IBaseFilter::FindPin. These each call GetPin, so the pins are created as soon as they are needed.)

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CTransformFilter Class