GetFilterVersion

The GetFilterVersion function is the first entry point for an ISAPI filter called by IIS. The function tells IIS the version of ISAPI that was used to compile the filter.

BOOL WINAPI GetFilterVersion(
  PHTTP_FILTER_VERSION pVer  
);
 

Parameters

pVer
Points to the HTTP_FILTER_VERSION structure that contains both the version information for the server and members for the client to indicate version number, notifications, and priority desired. There is also a space for the filter application to register a description of itself.

Return Values

Returns FALSE if the filter will be unloaded and will not receive any notifications.

Remarks

The GetFilterVersion function, implemented in the ISAPI filter, is the first entry point called by IIS. It is important to specify only the necessary notifications in the pointer to the dwFlags member.

In addition to the notification flags described under the HttpFilterProc function, there are also priority flags to specify the order in which to call the filter. Valid values can be found in the HTTP_FILTER_VERSION structure

See Also

HttpFilterProc, HTTP_FILTER_VERSION