File Content Extraction 26.1
Viewing SDK Programming Guide

# ADDOCINFO

This structure defines the parameters used by the ``VAPIMWP_INIT_GETDOCFORMAT message. It provides the format, file class, and version number of the source document. It is defined in `adinfo.h`.

## Syntax

    #include <adinfo.h>
    typedef struct
    {
        ENdocClass        eClass;
        ENdocFmt          eFormat;
        long              lVersion;
        unsigned long     ulAttributes;
    }
    ADDOCINFO, *ADDOCINFOPTR;

## Members

`eClass` | The file class of the source document (for example, spreadsheet, word processor, or encapsulation format) as defined by the `ENDocClass` enumerated type.
`eFormat` | The major format of the source document (for example, Microsoft Word XML format, or Corel Presentation) as defined by the `ENdocFmt` enumerated type in `adinfo.h`. The `ENdocFmt` type provides a unique ID for each major format.
`lVersion` | The version number of the document format. The number is multiplied by 1,000, so, for example, 1.02 is represented by 1020.
`ulAttributes` | Other attributes of the document as defined by the `ENdocAttributes` enumerated type.

Copyright 2016-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: ADDOCINFO