Share via


Web Server Functions

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following table shows the Web Server functions with a description of the purpose of each.

Programming element Description

AddHeader

This callback function is provided by the Web Server. ISAPI filters call this function to add an HTTP header to the outgoing response.

AddResponseHeaders

This callback function is provided by the Web Server. ISAPI filters call this function to add a header to the HTTP response.

AllocMem

This callback function is provided by the Web Server. ISAPI filters call this function to allocate memory from the process heap to a buffer.

GetExtensionVersion

This function is called by the Web Server when the ISAPI extension is first loaded for the function name defined by the header.

GetFilterVersion

This function is the first entry-point function called by the Web Server on your ISAPI filter, and must be present for the filter to work properly.

GetHeader

This callback function is provided by the Web Server. ISAPI filters call this function to retrieve a header from the Web Server.

GetServerVariable (ISAPI Extensions)

This callback function is an application-defined function. ISAPI extensions call this function to retrieve information about an HTTP connection or about the Windows Embedded CE Web Server itself.

GetServerVariable (ISAPI Filters)

This callback function is an application-defined function. ISAPI filters call this function to retrieve information about an HTTP connection or about the Windows Embedded CE Web Server.

HttpExtensionProc

This function is an application-defined function. It is the main entry point for an ISAPI extension called by the Web Server.

HttpFilterProc

This function is called whenever a notification event for which the filter has registered (in GetFilterVersion) occurs.

ReadClient

This callback function is an application-defined function. ISAPI extensions call this function to read data from the body of the client's HTTP request.

ServerSupportFunction (ISAPI Extensions)

This callback function is provided by the Web Server. This callback function is supplied in the EXTENSION_CONTROL_BLOCK that is associated with the current HTTP request.

ServerSupportFunction (ISAPI Filters)

This callback function is provided by the Web Server. ISAPI filters call this function to accomplish a wide variety of tasks.

SetHeader

This callback function is an application-defined function. ISAPI filters call this function to change or delete the value of a header.

TerminateExtension

This function is an application-defined function. The Web Server calls this function immediately before it unloads the ISAPI DLL.

TerminateFilter

This function is an application-defined function. It is an entry point exposed by ISAPI filters.

WriteClient (ISAPI Extensions)

The ISAPI extension calls this function to send data to the HTTP client.

WriteClient (ISAPI Filters)

The ISAPI filter calls this function to send data to the HTTP client.