共用方式為


IPinInfo.ConnectWithType

 
Microsoft DirectShow 9.0

IPinInfo.ConnectWithType

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

The ConnectWithType method connects this pin directly to another pin, using a specified media type.

Syntax

  objPinInfo
  .ConnectWithType(
    objPin As IPinInfo, 
    objMediaType As IMediaTypeInfo)

Parameters

objPin

IPinInfo object that specifies the other pin in the connection.

objMediaType

IMediaTypeInfo object that specifies the media type.

Return Values

This method does not return a value.

Remarks

The objPin parameter can also specify a DirectShow pin. For more information, see IPinInfo.Pin.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also