ServerSupportFunction (ISAPI Filters) (Compact 2013)
3/26/2014
This callback function is provided by the Web Server. ISAPI filters call this function to accomplish a wide variety of tasks. The ServerSupportFunction name for this function is a placeholder for the function name defined by the header.
Syntax
BOOL (WINAPI* ServerSupportFunction)(
PHTTP_FILTER_CONTEXT pfc,
enum SF_REQ_TYPE sfReq,
PVOID pData,
DWORD ul1,
DWORD ul2
);
Parameters
- pfc
[in] Pointer to an HTTP_FILTER_CONTEXT structure that is associated with the current, active HTTP transaction.
- sfReq
[in] The particular request that is to be executed by the Web Server. Possible values are defined for the SF_REQ_TYPE enumeration.
- pData
Pointer to data associated with the value set in sfReq.
- ul1
DWORD value associated with the value set in sfReq.
- ul2
DWORD value associated with the value set in sfReq.
Note
If a parameter is designated as unused for a particular request type, your filter should set the parameter to NULL or 0, as appropriate.
Return Value
Returns TRUE if the function succeeds, and FALSE otherwise. To determine the cause of a failure, the filter should call GetLastError.
Requirements
Header |
httpfilt.h |
Library |
Developer Implemented |