Extract Format Information

To extract format information from a document, use the VAPIMWP_INIT_GETDOCFORMAT parameter of the VAPIM_INIT message. This parameter gets format information (such as the file class, format, and version), and populates the ADDOCINFO structure. This structure, which is defined in the header file adinfo.h, specifies the formats that KeyView can detect. If required, this format information can then be reported to the developer’s application.

For information on how to translate the extracted format information, see Translate Format Information.