File Content Extraction 26.1
Filter SDK C Programming Guide

# fpSetExtractionTimeout()

(Out-of-process only) This function specifies the length of time that should elapse before assuming that out-of-process extraction has stopped responding.

## Syntax

    BOOL pascal fpSetExtractionTimeout( KVFilterSession session, long lTimeout );

## Arguments

`session` | A Filter session that you initialized by calling fpInit().
`lTimeout` | The length of time, in seconds, that must elapse before assuming that out-of-process extraction has stopped responding. A negative input is interpreted as an infinite timeout (so the timeout is disabled).

## Returns

- If the call is successful, the return value is `TRUE`.
- If the call is unsuccessful, the return value is `FALSE`.

## Discussion

If this function is not used, File Content Extraction defaults to using the filter timeout duration when fpOpenFile() is called. See fpSetTimeout().

If the out-of-process extraction times out, File Content Extraction shuts down the out-of-process process, which may take some additional time before the function returns.

## Example

    /* set extraction timeouts to 10 minutes */

    if (FALSE == filterInterface->fpSetExtractionTimeout(session, 600))
    {
       /* could not set the extraction timeout */
    }

Copyright 1997-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.1

Topic Title: fpSetExtractionTimeout()