Microsoft DirectX 9.0


The Reconfigure method is a callback method passed to IGraphConfig::Reconfigure.


HRESULT Reconfigure(
  PVOID pvContext,
  DWORD dwFlags



Value passed in the IGraphConfig::Reconfigure method's pvContext parameter.


Value passed in the IGraphConfig::Reconfigure method's dwFlags parameter.

Return Value

Returns S_OK if successful. Otherwise, returns an HRESULT value indicating the cause of the error.


If your application or filter calls IGraphConfig::Reconfigure, you must implement this method and pass it as a callback. The IGraphConfig::Reconfigure method obtains a lock on the filter graph before calling your Reconfigure method. Your method then handles all the other details of dynamic graph building.

If this method succeeds, IGraphConfig::Reconfigure tries to put all the filters in the graph back into a running state. If the method fails, IGraphConfig::Reconfigure returns whatever error code this method returned.

This method allows for specialized graph rebuilding. For a more straightforward approach to dynamic graph building, see IGraphConfig::Reconnect.

See Also