BUG: IExchExtAttachedFileEvents::OnReadPattFromSzFile() Not Work

ID: Q234539


The information in this article applies to:
  • Exchange Development Kit (EDK), versions 5.0, 5.5
  • Microsoft Outlook, versions 2000, 97, 98


SYMPTOMS

Returning S_OK or S_FALSE from IExchExtAttachedFileEvents::OnReadPattFromSzFile() in a client extension has the same effect. In either case, Microsoft Outlook will continue to call extensions and complete the work itself.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Returning S_OK from OnReadPattToSzFile() should signal Microsoft Outlook that the extension has handled the task of attaching the file on its own.

Steps To Reproduce

  1. Write an extension that returns S_OK to OnReadPattToSzFile(), where the extension does nothing to attach the attachment.


  2. Register the extension and launch the client.


  3. Compose a new message.


  4. Select Insert from the File menu and and select a file.


Results:

The file gets attached to the message.

Expected Results:

The file does not get attached to the message.


REFERENCES

For additional information about client extensions, please click the article number below to view the article in the Microsoft Knowledge Base:

Q199343 INFO: The Basics of Exchange Client Extensions

Additional query words:

Keywords : kbEDK kbMsg kbOutlook kbOutlook97 kbOutlook98 kbEDK500 kbEDK550 kbGrpMsg kbDSupport kboutlook2000
Version : WINDOWS:2000,5.0,5.5,97,98
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: September 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.