The IExchExtAttachedFileEvents interface is used to enable extension objects to replace or enhance the default attachment-handling behavior of Microsoft Exchange.
The IExchExtAttachedFileEvents interface is used only in the following contexts:
EECONTEXT_SENDNOTEMESSAGE
EECONTEXT_READNOTEMESSAGE
EECONTEXT_SENDPOSTMESSAGE
EECONTEXT_READPOSTMESSAGE
EECONTEXT_READREPORTMESSAGE
EECONTEXT_SENDRESENDMESSAGE
This interface is optional.
| Header file: | EXCHEXT.H | 
| Exposed by: | Extension objects | 
| Implemented by: | Extension objects | 
| Called by: | Microsoft Exchange | 
| Corresponding pointer type: | LPEXCHEXTATTACHEDFILEEVENTS | 
| OnReadPattFromSzFile | Replaces or enhances the behavior of Microsoft Exchange when adding attachments to a message from a file. | 
| OnWritePattToSzFile | Replaces or enhances the behavior of Microsoft Exchange when writing attachments from a message to a file (such as when responding to the Save command.) | 
| QueryDisallowOpenPatt | Prevents a document file attachment from being opened directly without writing it first to an intermediate file. | 
| OnOpenPatt | Replaces or enhances the behavior of Microsoft Exchange when opening a file attachment directly from the message. | 
| OnOpenSzFile | Replaces or enhances the behavior of Microsoft Exchange when opening an attachment from a temporary file. |