HttpReturnPathBuffers

Returns the addresses of the path buffers and their size.

Syntax

    #include <httpexp.h>
    
    int HttpReturnPathBuffers (
      HINTERNET    hndl,
      UINT32_PTR   lpszBufs,
      char       **path,
      char       **cnvpath);
    

Parameters

hndl
(IN) Specifies the HTTP stack handle.
lpszBufs
(OUT) Points to where the maximum size of the path buffers is placed.
path
(OUT) Points to where the address of the raw path buffer is placed. The raw path buffer contains the path portion of the URL.
cnvpath
(OUT) Points to where the address of the un-escaped path buffer is placed.

Return Values

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

Decimal

Name

Description

255

ERR_BAD_PARAMETER

Invalid handle.