次の方法で共有


CBaseControlVideo::SetControlVideoPin (Compact 2013)

3/26/2014

Sets the pin used by the filter.

Syntax

void SetControlVideoPin(
  CBasePin* pPin
);

Parameters

  • pPin
    Pin with which the interface is synchronized.

Return Value

None.

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

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseControlVideo Class