HttpReturnPutDataBuffer
Returns the address and length of the received Post
Data buffer.
Syntax
#include <httpexp.h>
int HttpReturnPutDataBuffer (
HINTERNET hndl,
UINT32_PTR lpTotalFileSize,
UINT32_PTR lpCurrentFileOffset,
char **pPutDataBuffer,
UINT32_PTR lpPutDataLen);
Parameters
- hndl
- (IN) Specifies the HTTP stack handle.
- lpTotalFileSize
- (OUT) Points to where the total file size is placed.
- lpCurrentFileOffset
- (OUT) Points to where the current file offset is
placed.
- pPutDataBuffer
- (IN/OUT) Points to where to place a pointer
to the received Put Data Buffer.
- lpPutDataLen
- (IN/OUT) Points to where to place the length
of the received Put Data Buffer.
Return Values
If successful, returns 0. Otherwise, returns a nonzero error
code.