HttpSendDataTxBuffer

Sends the data to the Tx buffer provided by the caller.

Syntax

    #include <httpexp.h>
    
    int HttpSendDataTxBuffer (
      HINTERNET    hndl,
      UINT32       bytesToSend);
    

Parameters

hndl
(IN) Specifies the HTTP stack handle.
bytesToSend
(IN) Specifies the number of bytes of data to send from the Tx buffer.

Return Values

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

Decimal

Name

Description

162

ERR_IO_LOCKED

The application must complete the Header response before data functions can be used.

168

ERR_ACCESS_DENIED

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

255

ERR_BAD_PARAMETER

Invalid handle.