Distinguish Between Formats

The DocFormatInfo class provides a unique ID for each major format. For example, a call to GetDocFormatInfo would return 351.1.0 for a Microsoft Word XML format. The major format 351 is unique to this format.

Unlike DocFormatInfo, 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 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: