GetFilterVersion function is the first entry-point function called by EAS on your EAS filter. It must be present for filter to work properly.
BOOL WINAPI GetFilterVersion( DWORD *pNotification )
Parameters
pNotification[out]
Pointer to DWORD that contains event notification. This parameter can be any combination of the following values.
SVR_FILTER_CONNECTION | It occurs when a TCP/IP connection request is received by any service of EAS. |
SVR_FILTER_GLOBAL | It occurs when an incoming message arrived at SMTP service or an outgoing message was sent by SMTP service. |
SVR_FILTER_INBOUND | It occurs when an incoming message arrived at SMTP service. |
SVR_FILTER_OUTBOUND | It occurs when an outgoing message is ready to be relayed by SMTP service. |
SVR_FILTER_INBOX | It occurs when an incoming message is ready to be stored in user INBOX. |
Return value
This function must return TRUE if you want EAS to load your filter dll.
See Also