IFilterGraph2::RenderEx method (strmif.h)
The RenderEx method renders an output pin, with an option to use existing renderers only.
Syntax
HRESULT RenderEx(
[in] IPin *pPinOut,
[in] DWORD dwFlags,
[in, out] DWORD *pvContext
);
Parameters
[in] pPinOut
Pointer to the IPin interface of the output pin.
[in] dwFlags
Flag that specifies how to render the pin. If the value is AM_RENDEREX_RENDERTOEXISTINGRENDERERS, the method attempts to use renderers already in the filter graph. It will not add new renderers to the graph. (It will add intermediate transform filters, if needed.) For the method to succeed, the graph must contain the appropriate renderers, and they must have unconnected input pins. If the value is zero, the method behaves identically to the IGraphBuilder::Render method.
[in, out] pvContext
Reserved. Must be NULL.
Return value
Returns an HRESULT.
Requirements
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | strmif.h (include Dshow.h) |
| Library | Strmiids.lib |