# ADDOCINFO

## Description

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-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm