InitializeFilter method

The InitializeFilter method initializes a filter.

Syntax

HRESULT InitializeFilter(
  [in] IInterFilterCommunicator     *pICommunicator,
  [in] IPrintPipelinePropertyBag    *pIPropertyBag,
  [in] 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
Library filterpipeline.h

See Also

IPrintPipelinePropertyBag

IPrintPipelineManagerControl

IPrintPipelinePropertyBag

IPrintPipelineFilter

Send comments about this topic to Microsoft