Microsoft KB Archive/924515

= Addendum to the RegisterApp API for the Winword Converter SDK =

Article ID: 924515

Article Last Modified on 2/13/2007

-

APPLIES TO


 * Microsoft Office Word 2003
 * Microsoft Word 2002 Standard Edition

-



INTRODUCTION
You create a format converter for Microsoft Office Word 2003. If the converter does not specify the SuppressSecurityPrompt opcode, the users of this converter receive the following error messages:

This file needs to be opened by the  text converter, which may pose a security risk if the file you are opening is a malicious file. Choose Yes to open this file only if you are sure it is from a trusted source.

This file needs to be saved using the  text converter. If you are not the author of this file or if the file is not from a trusted source, using this converter may pose a security risk. Click Yes to save this file only if you are sure it is from a trusted source.

This article describes the new RegisterApp opcodes that are added to the Word converter API by Word 2002 and by Word 2003. This article is an addendum to the existing RegisterApp API for the Winword Converter SDK.

For more information about Word converters, click the following article numbers to view the articles in the Microsoft Knowledge Base:

837011 You receive a security warning message when you open or when you save a document in Word 2003

111716 How to obtain the WinWord Converter SDK (GC1039)



MORE INFORMATION
The converter API allows for a variable set of opcodes to be sent from the calling application to the converter, and another variable set of opcodes to be returned from the converter to the calling application. This mechanism enables the set of opcodes to grow in a backwards-compatible manner. For more information about these opcodes, see the CONVAPI.H conversions API file.

The &quot;small&quot; valued opcodes are for the converter to pass to Word. The opcodes that are valued 0x80 and larger are for Word to pass to the converter. For more information about the RegisterApp API, see the full converter SDK.

The following table outlines all supported opcodes as of Word 2003. The latest additions are in bold text.

Additional query words: winword format

Keywords: kbhowto kbinfo kberrmsg kbexpertiseadvanced KB924515

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.