Partager via


HSE_REQ_VECTOR_SEND

The HSE_REQ_VECTOR_SEND support function allows an ISAPI extension to specify a vector of buffers and file handles for sending responses to requests for data stored in more than one file or buffer. This eliminates the performance hits associated with calling WriteClient multiple times. Using this function also reduces the performance hits and requirements for extra memory resulting from assembling responses in one large buffer.

Before calling HSE_REQ_VECTOR_SEND, you must specify the appropriate response elements in the HSE_RESPONSE_VECTOR Structure.

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

Parameters

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

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

  • lpvBuffer
    A pointer to the HSE_RESPONSE_VECTOR structure.

  • lpdwSizeofBuffer
    Unused in this support function request type.

  • lpdwDataType
    Unused in this support function request type.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

Header: Declared in httpext.h.

See Also