Compartilhar via


ServerSupportFunction (ISAPI Extensions) (Compact 2013)

3/26/2014

This callback function is provided by the Web Server. The function is supplied in the EXTENSION_CONTROL_BLOCK that is associated with the current HTTP request. ISAPI extensions call this function to accomplish a wide variety of tasks. The ServerSupportFunction name 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.
  • 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

See Also

Reference

Web Server Functions
EXTENSION_CONTROL_BLOCK
ServerSupportFunction (ISAPI Extensions) Request Types