Microsoft DirectX 9.0


The SetControlWindowPin method sets the pin with which to synchronize.


void SetControlWindowPin(
    CBasePin *pPin



Pointer to the pin with which the interface is synchronized.

Return Value

No return value.


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.

See Also