IRTPDemuxFilter ::SetPinCount

[This is preliminary documentation and subject to change.]

This method is used to configure how many output pins will be exposed by the RTP Demux filter. This method may only be called while this filter is in a stopped state.

HRESULT SetPinCount(
  DWORD dwPinCount
);
 

Parameters

dwPinCount
The number of output pins that this filter should expose. If this value is less than the current number of output pins, then available (unmapped) output pins will be removed. If this value is greater than the current number of output pins, new pins will be allocated.

Return Values

E_INVALIDARG
The indicated pin count is less than the number of currently connected output pins. Pins may only be removed when they are not connected.
VFW_E_NOT_STOPPED
This method may only be called when the filter is in the stopped state.
NOERROR
The output pin count of this filter is successfully set.