Share via


This support function allows you to request that IIS send a complete HTTP response header to the client browser, including the HTTP status, server version, message time, and MIME version. Your extension can also, optionally, append other header information to the end of IIS-generated header, such as Content-Type or Content-Length.

ms525533.alert_caution(en-us,VS.90).gifImportant Note:

This support function is deprecated. You should use HSE_REQ_SEND_RESPONSE_HEADER_EX instead.

BOOL ServerSupportFunction(
      HCONN ConnID,
      DWORD dwServerSupportFunction,
      LPVOID lpvBuffer,
      LPDWORD lpdwSizeofBuffer,
      LPDWORD lpdwDataType


  • ConnID
    Specifies the connection identifier of the client to which the response data should be sent.

  • dwServerSupportFunction
    The name of the Server Support function, which in this case must be set to HSE_REQ_SEND_RESPONSE_HEADER.

  • lpvBuffer
    Points to an optional HTTP status string.

  • lpdwSizeofBuffer
    Unused in this ServerSupportFunction request type.

  • lpdwDataType
    Points to an optional, null-terminated string that contains any extra headers that should be appended to the default response headers.


If you append your own headers to the server-generated headers, you must terminate the header string with an extra carriage return and linefeed.

This support function must be called only once per HTTP request.


Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Header: Declared in httpext.h.