Microsoft Windows CE 3.0  

IFilterGraph2::ReconnectEx

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies a pin and a media type to reconnect with.

HRESULT ReconnectEx(
IPin *
ppin
,
const AM_MEDIA_TYPE *
pmt
);

Parameters

ppin
[in] Pin to disconnect and reconnect.
pmt
[in] Media type to reconnect with. Specify NULL to use the existing media type.

Return Values

Returns an HRESULTvalue that depends on the implementation of the interface.

Remarks

Like the IFilterGraph::Reconnectmethod, the ReconnectExmethod schedules a reconnection of the pin with the pin it is currently connected to. By specifying a media type when this method is called, the pins don't have to check what type they were originally connected with or enumerate possible new types. This makes the reconnection more likely to succeed.

See Also

IFilterGraph::Reconnect