CSource::RemovePin

 
Microsoft DirectShow 9.0

CSource::RemovePin

The RemovePin method removes a specified pin from the filter. The method does not delete the pin.

Syntax

  HRESULT RemovePin(
    CSourceStream *pStream
);

Parameters

pStream

Pointer to the CSourceStream object that implements the pin.

Return Value

Returns one of the HRESULT values shown in the following table.

Value Description
S_OK Success.
S_FALSE The filter does not contain this pin.

Remarks

The destructor method calls this method, to remove the output pin from the filter.

Requirements

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

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

See Also