IPrintPipelineFilter::InitializeFilter method (filterpipeline.h)

The InitializeFilter method initializes a filter.

Syntax

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

Parameters

[in] pINegotiation

A pointer to the IInterFilterCommunicator interface.

[in] pIPropertyBag

A pointer to the IPrintPipelinePropertyBag interface.

[in] 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

Requirement Value
Target Platform Desktop
Header filterpipeline.h (include Filterpipeline.h)

See also

IInterFilterCommunicator

IPrintPipelineFilter

IPrintPipelineManagerControl

IPrintPipelinePropertyBag