KeyView 24.1

# fpGetExtractInterface()

Call this function to obtain the file extraction functions. When you call this function, it assigns the function pointers in the `KVExtractInterface` structure so that you can use the functions described in File Extraction API Functions.

## Syntax

    KVErrorCode (pascal* fpGetExtractInterface)(
            KVFilterSession session,
            KVExtractInterface pExtractInterface);

## Arguments

`session` | A KeyView Filter session that you initialized by calling fpInit().
`pExtractInterface` | A pointer to a KVExtractInterface structure. Before you initialize the `KVExtractInterface` structure, use the macro `KVStructInit` to initialize the `KVStructHead` structure.

## Returns

- If the call is successful, the return value is `KVError_Success`.
- If the call is not successful, the return value is an error code that indicates the problem.

## Example

    KVStructInit(&extractInterface);
    error = filterInterface->fpGetExtractInterface(session, &extractInterface);

## Discussion

You can get only one extraction interface for each Filter session.

Copyright 2016-2023 Open Text
Version 24.1 | Last updated December 2023

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: IDOL KeyView 24.1

Topic Title: fpGetExtractInterface()