HttpReturnPostDataBuffer

Returns the address and length of the received Post Data buffer.

Syntax

    #include <httpexp.h>
    
    int HttpReturnPostDataBuffer (
      HINTERNET    hndl,
      char       **pPostDataBuffer,
      UINT32_PTR   lpPostDataBuffer);
    

Parameters

hndl
(IN) Specifies the HTTP stack handle.
pPostDataBuffer
(OUT) Points to where a pointer to the Post Data Buffer is placed.
lpPostDataBuffer
(OUT) Points to where the length of the Post Data Buffer, not including terminating NULL, is placed.

Return Values

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

Decimal

Name

Description

121

ERR_NOT_ITEMS_FOUND

No post data available.

255

ERR_BAD_PARAMETER

Invalid handle.