Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This callback function is provided by the Web Server. The function is supplied in the EXTENSION_CONTROL_BLOCKthat is associated with the current HTTP request. ISAPI extensions call this function to accomplish a wide variety of tasks. The ServerSupportFunctionname for this function is a placeholder for the function name defined by the header.

Syntax

BOOL (WINAPI* ServerSupportFunction)( 
  HCONN 
hConn,
  DWORD 
dwHSERequest,
  LPVOID 
lpvBuffer,
  LPDWORD 
lpdwSize,
  LPDWORD 
lpdwDataType
);

Parameters

hConn

[in] Connection identifier of the client to which the response data should be sent.

dwHSERequest

[in] The request type for the HTTP server extension request that is to be executed by the Web Server. Possible values are defined in ServerSupportFunction (ISAPI Extensions) Request Types.

lpvBuffer

Pointer to a data associated with the request type set in dwHSERequest.

lpdwSize

Pointer to the size of the data indicated by lpvBuffer.

lpdwDataType

Pointer to the data type for the data indicated by lpvBuffer.

Return Value

Returns TRUE if the function succeeds, and FALSE otherwise. To determine the cause of a failure, the extension should call GetLastError.

Requirements

Header httpext.h
Library Developer Implemented
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also