Distinguish Between Formats

The ADDOCINFO structure provides a unique ID for each major format. For example, a call to fpGetDocInfoFile() or fpGetDocInfoStream() would return 351.1.0 for a Microsoft Word XML format. The major format 351 is unique to this format.

Unlike ADDOCINFO, the formats.ini file distinguishes between formats by using the major version number. For example, in the formats.ini file, a Microsoft Word 2003 XML format is defined as 285.1.0.100.0. The major format 285 and file class 1 are the same values for generic XML. The major version 100 distinguishes the format as Microsoft Word 2003 XML.

The major version is used to specify the following formats:


_HP_HTML5_bannerTitle.htm