BUG: IExchExtAttachedFileEvents::OnReadPattFromSzFile() Not Work (234539)



The information in this article applies to:

  • Microsoft Exchange Development Kit (EDK) 5.0
  • Microsoft Exchange Development Kit (EDK) 5.5
  • Microsoft Outlook 2000
  • Microsoft Outlook 97
  • Microsoft Outlook 98

This article was previously published under Q234539

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 that this is a bug in the Microsoft products that are 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:

199343 INFO: The Basics of Exchange Client Extensions


Modification Type:MajorLast Reviewed:3/15/2004
Keywords:kbbug kbMsg kbpending KB234539