Partager via


CBaseControlVideo::SetControlVideoPin

 
Microsoft DirectShow 9.0

CBaseControlVideo::SetControlVideoPin

The SetControlVideoPin method sets the pin used by the filter.

Syntax

  void SetControlVideoPin(
    CBasePin *pPin
);

Parameters

pPin

Pointer to the pin with which the interface is synchronized.

Return Value

No return value.

Remarks

The interface can be called only when the filter has been connected successfully. The object is passed through this method to the pin with which it is synchronized; in most cases it will determine if the pin is connected when it has an interface method called and will return VFW_E_NOT_CONNECTED if it fails.

Requirements

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

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

See Also