Microsoft DirectX 8.1 (C++)

IPinInfo::ConnectDirect

The ConnectDirect method connects directly to the given pin, not using any intermediate filters.

Syntax

HRESULT ConnectDirect(
  IUnknown *pPin
);

Parameters

pPin

[in] Pointer to the pin to connect directly to.

Return Value

Returns an HRESULT value.

Remarks

This method will return an error if a common media type for the connecting pins cannot be agreed on. This method is essentially an Automation wrapper for the IFilterGraph::ConnectDirect method.

See Also