# Run Filter In Process

By default, Filter runs out of process. However, you can enable in-process filtering through the API or in the `formats.ini` file. If the type of process is not specified in the `formats.ini` or in the API, Filter is run out of process. If the type of process is specified in the `formats.ini` and in the API, the setting in the API takes precedence.

## In the API

To run Filter in process

1. Set the final argument (`dwFlags`) of either fpInit(), fpInitWithLicenseData() or fpOpenStreamEx2() to `KVF_INPROCESS`.

   `dwFlags |= KVF_INPROCESS`

2. Call a filtering function or a metadata extraction function. See Filter API Functions.
3. Optionally, call a metadata extraction function if a filter function was called in the previous step. See fpGetDocInfoFile() or fpGetDocInfoStream().

## In the formats.ini File

To run Filter in process, set the `default_inprocess` parameter in the `[FilterSDK_Config]` section of the `formats.ini` file to `1`.

By default this parameter is set to `0` (zero), which enables out-of-process filtering.

© Copyright 2016-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm