File Content Extraction 25.2
HTML Export SDK C Programming Guide

# KVGetExtractInterface()

This function is the entry point to obtain the file extraction functions. When `KVGetExtractInterface()` is called, it assigns the function pointers in the structure `KVExtractInterface` to the functions described in this section.

## Syntax

    int pascal KVGetExtractInterface (
        void                    *pContext,
        KVExtractInterface       pIextract);

## Arguments

`pContext` | A pointer to a session that you initialized by calling `fpInit()`.
`pIextract` | A pointer to the KVExtractInterface structure, which contains function pointers that `KVGetExtractInterface`() assigns to all other file extraction functions. 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 `KVERR_Success`.

- If the call is not successful, the return value is an error code.

## Example

    fpKVGetExtractInterface =
    (int (pascal *)( void *, KVExtractInterface))myGetProcAddress(hKVExport, (char*)"KVGetExtractInterface");
    /*Initialize file extraction interface structure using KVStructInit*/
    KVStructInit(&extractInterface);
    /* Retrieve file extraction interface */
    error = (*fpKVGetExtractInterface)(pExport,&extractInterface))

Copyright 1997-2025 Open Text
Version 25.2 | Last updated April 2025

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 25.2

Topic Title: KVGetExtractInterface()