Partager via


IMpeg2Demultiplexer::DeleteOutputPin

 
Microsoft DirectShow 9.0

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.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also