Partager via


CBasePin::CBasePin (Compact 2013)

3/26/2014

Constructs a CBasePin object.

Syntax

CBasePin(
  TCHAR* pObjectName,
  CBaseFilter* pFilter,
  CCritSec* pLock,
  HRESULT* phr,
  LPCWSTR pName,
  PIN_DIRECTION dir
);

Parameters

  • pObjectName
    Description of the object.
  • pFilter
    Owning filter that knows about pins.
  • pLock
    Object that implements the lock.
  • phr
    Pointer to a general COM return value.

    This value is changed only if this function fails.

  • pName
    Pin name.
  • dir
    Either PINDIR_INPUT or PINDIR_OUTPUT.

Return Value

None.

Remarks

This is a standard class constructor.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBasePin Class