Share via


CSource::AddPin (Compact 2013)

3/26/2014

Adds a pin to the source filter.

Syntax

HRESULT AddPin(
  CSourceStream* pStream 
);

Parameters

  • pStream
    Pointer to the CSourceStream object associated with the pin.

Return Value

Returns S_OK if successful, or E_OUTOFMEMORY if no memory is available.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CSource Class