> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SetParallelProcessingCallback Method of the Engine Object

> SetParallelProcessingCallback method of the Engine Object in the ABBYY FineReader Engine API — Specifies a user-implemented IParallelProcessingCallback interface that receives error notifications during parallel processing (Linux and Windows only).

> [!NOTE]
>
> This method is implemented in FRE for Linux and Windows.

This method allows you to specify the user-implemented object supporting the [IParallelProcessingCallback](https://docs.abbyy.com/fine-reader/engine/api-reference/supplementary-objects-and-methods/iparallelprocessingcallback.md) interface, which will be used to send error notifications during parallel processing.

## Syntax

### C++

```cpp theme={null}
HRESULT SetParallelProcessingCallback( IParallelProcessingCallback* Callback );
```

### C\#

```csharp theme={null}
void SetParallelProcessingCallback( IParallelProcessingCallback Callback );
```

### Visual Basic .NET

```vb theme={null}
Sub SetParallelProcessingCallback(Callback As IParallelProcessingCallback)
```

## Parameters

Callback

\[in] This parameter refers to the interface [IParallelProcessingCallback](https://docs.abbyy.com/fine-reader/engine/api-reference/supplementary-objects-and-methods/iparallelprocessingcallback.md).

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](https://docs.abbyy.com/fine-reader/engine/api-reference/return-codes.md).

## Remarks

For Linux, this method does not work if the Engine object is loaded as an out-of-process server.

## See also

[Engine](https://docs.abbyy.com/fine-reader/engine/api-reference/engine-object-iengine-interface.md)
