Microsoft DirectX 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.

See Also