HttpSendErrorResponse
Sends a complete Header & Data session back to the client with the supplied HTTP status code.
#include <httpexp.h> int HttpSendErrorResponse ( HINTERNET hndl, UINT32 HTTP_ERROR_CODE);
If successful, returns 0. Otherwise, returns a nonzero error code.
Decimal
Name
Description
255
ERR_BAD_PARAMETER
Invalid handle.