File Content Extraction 26.2
XML Export SDK C Programming Guide

# KVStructHead

This structure contains the current File Content Extraction version number and is the first member of other structures. It enables OpenText to modify the structures in future releases, but to maintain backward compatibility. Before initializing a structure that contains the `KVStructHead` structure, use the macro `KVStructInit` to initialize it as illustrated in the example below. You do not need to set any of the members of `KVStructHead` because this is handled by `KVStructInit`. The structure and macro are defined in `kvstructhead.h`.

    typedef struct _KVStructHead
    {
        WORD   version;
        WORD   size;
        DWORD  reserved;
        void   *internal;
    } KVStructHeadRec, *KVStructHead;

## Member Descriptions

`version` | The current File Content Extraction version number. This is a symbolic constant (`KeyviewVersion`) defined in `kvtypes.h`. This constant is updated for each File Content Extraction release.
`size` | The size of the `KVStructHeadRec` structure.
`reserved` | Reserved for internal use.
`internal` | Reserved for internal use.

## Example

    KVOpenFileArgRec openArg;
    KVStructInit(&openArg);

Copyright 1997-2026 Open Text
Version 26.2 | Last updated April 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.2

Topic Title: KVStructHead