Microsoft DirectX 9.0

IPinInfo.ConnectWithType

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.

See Also