Share via


CBaseControlWindow::SetControlWindowPin (Compact 2013)

3/26/2014

Sets the pin with which to synchronize.

Syntax

void SetControlWindowPin(
  CBasePin* pPin
);

Parameters

  • pPin
    Pin with which the interface is synchronized.

Return Value

None.

Remarks

This member function sets the m_pPin 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

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseControlWindow Class