CBaseControlWindow::SetControlWindowPin

 
Microsoft DirectShow 9.0

CBaseControlWindow::SetControlWindowPin

The SetControlWindowPin method sets the pin with which to synchronize.

Syntax

  void SetControlWindowPin(
    CBasePin *pPin
);

Parameters

pPin

Pointer to the pin with which the interface is synchronized.

Return Value

No return value.

Remarks

This member function sets the m_pPin member variable equal to the pPin parameter. As described in the constructor, the interface can be called only when the filter has been connected successfully. The object is passed in through this member function to the pin with which it should synchronize; in most cases, it will determine if the pin is connected whenever 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