IPrintPipelineFilter::InitializeFilter method

The InitializeFilter method initializes a filter.

Syntax

HRESULT InitializeFilter(
  IInterFilterCommunicator     *pINegotiation,
  IPrintPipelinePropertyBag    *pIPropertyBag,
  IPrintPipelineManagerControl *pIPipelineControl
);

Parameters

pINegotiation

pIPropertyBag

A pointer to theIPrintPipelinePropertyBag interface.

pIPipelineControl

A pointer to the IPrintPipelineManagerControl interface.

Return Value

InitializeFilter returns an HRESULT value. The method should return a value other than "S_OK" or "S_FALSE" if the necessary operations are not performed inside InitializeFilter.

Remarks

When the InitializeFilter method is called, the filters should:

  • Get, add, or delete properties from the property bag.
  • Get the read and write interfaces.

Requirements

   
Target Platform Desktop
Header filterpipeline.h

See Also

IInterFilterCommunicator

IPrintPipelineFilter

IPrintPipelineManagerControl

IPrintPipelinePropertyBag