Partager via


HSE_REQ_GET_EXEC_URL_STATUS

The HSE_REQ_GET_EXEC_URL_STATUS support function returns the status of a completed URL request.

BOOL ServerSupportFunction(
   HCONN ConnID,
   DWORD dwServerSupportFunction,
   LPDWORD lpdwDataType,
   LPDWORD lpdwSize
);

Parameters

  • 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_GET_EXEC_URL_STATUS.

  • lpdwDataType
    Points to an HSE_EXEC_URL_STATUS structure. Upon return, the uHttpStatusCode member will contain the HTTP status code (200, 401, 500, etc). uHttpSubStatus will contain an HTTP sub-status code as appropriate (0 for 200, 1 for 401.1, 100 for 500.100, etc). dwWin32Error will contain the Win32 error code at the completion of the child URL execution.

  • lpdwSize
    NULL (unused in this function)

Example Code

bResult = pECB->ServerSupportFunction ( 
  pECB->ConnID, 
  HSE_REQ_GET_EXEC_URL_STATUS, 
  &hseExecuteURLStatus, 
  NULL, 
  NULL 
); 

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

Header: Declared in httpext.h.