Compartilhar via


Web Server Functions (Compact 2013)

3/26/2014

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

In This Section

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 Compact 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 Compact 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.

See Also

Reference

Web Server Reference