HttpReturnRawRequest

Places the raw incoming request URL in the user's buffer.

Syntax

    #include <httpexp.h>
    
    int HttpReturnRawRequest (
       HINTERNET   hndl,
       UINT32      szRawRequestBuffer,
       char       *pzRawRequestBuffer);
    

Parameters

hndl
(IN) Specifies the HTTP stack handle.
szRawRequestBuffer
(IN) Specifies the size of the buffer.
pzRawRequestBuffer
(OUT) Points to the buffer to place the raw request.

Return Values

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

Decimal

Name

Description

119

ERR_BUFFER_TOO_SMALL

The raw request buffer is too small.

255

ERR_BAD_PARAMETER

A bad parameter was passed to the function.

See Also