Microsoft DirectX 8.1 (C++)

IMpeg2Demultiplexer::DeleteOutputPin

The DeleteOutputPin method deletes the specified output pin.

Syntax

HRESULT DeleteOutputPin(
  LPWSTR pszPinName
);

Parameters

pszPinName

[in] The friendly name of the pin as specified when the pin was created in a call to CreateOutputPin.

Return Value

Returns S_OK if successful. If the method fails, it returns an HRESULT error code.

Remarks

Call this method only when you need to delete a pin while keeping the filter alive. When the filter is released, it will perform all necessary cleanup on the output pins.

See Also