HttpEndDataResponse

Flushes any remaining data in the Tx buffer and then closes the Data Response session.

Syntax

    #include <httpexp.h>
    
    int HttpEndDataResponse (
      HINTERNET    hndl);
    

Parameters

hndl
(IN) Specifies the HTTP stack handle.

Return Values

If successful, returns 0. Otherwise, returns a nonzero error code.

Decimal

Name

Description

168

ERR_ACCESS_DENIED

The HttpSendResponseHeader function must be completed before data functions can be used.

255

ERR_BAD_PARAMETER

Invalid handle.