This support function can be used to normalize the URL. Normalization includes decoding hex codes, removing illegal characters, and some internationalization conversions.

BOOL ServerSupportFunction(
      HCONN ConnID,
      DWORD dwServerSupportFunction,
      LPVOID lpvBuffer,
      LPDWORD lpdwSize,
      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_NORMALIZE_URL.

  • lpvBuffer
    Pointer to a NULL-terminated string containing the URL that is to be processed. Upon successful return, contains the normalized URL.

  • lpdwSize
    NULL. Not used.

  • lpdwDataType
    NULL. Not used.

Return Value

On success, returns TRUE.


Server: Requires or Windows Server 2003.

Product: IIS

Header: Declared in httpext.h.