The EnableDesign method is used to prepare the pipeline for execution in one of two modes: design mode or execution mode. Execution mode (the default) is analagous to production mode, and is the default mode in which a pipeline starts.
The pipeline passes the design mode to the individual components (see IPipelineComponent::EnableDesign).
Only administrative tools should call this method. There is no reason to call it when executing a pipeline.
HRESULT EnableDesign(
BOOLfEnable// in
);
<pipeline.h>
<pipecomp.h>
The method returns an HRESULT value.
CoCreateInstance( ...., &pPipe )
pPipe->EnableDesign(TRUE);
pPipe->IPF::Load( filename );