# 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.

_FT_HTML5_bannerTitle.htm