IPrintPipelineFilter::InitializeFilter method

The InitializeFilter method initializes a filter.

Syntax


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

Parameters

pICommunicator [in]

A pointer to the IInterFilterCommunicator interface.

pIPropertyBag [in]

A pointer to theIPrintPipelinePropertyBag interface.

pIPipelineControl [in]

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

IDL

Filterpipeline.idl

See also

IInterFilterCommunicator
IPrintPipelineManagerControl
IPrintPipelinePropertyBag

 

 

Send comments about this topic to Microsoft

Show: