HttpClientClose

Closes the HTTP client interface.

Syntax

    #include <httpexp.h>
    #include <httpclnt.h> 
     
    int HttpClientClose (
       HINTERNET   hndl,
       char       *appName,
       void       *pRTag,
       UINT32      dwFlags);
    

Parameters

hndl
(IN) Specifies the HTTP stack handle returned by the HttpClientOpen function.
appName
(IN) Points to an ASCIIZ string, which contains the name of your application.
pRTag
(IN) Points to the NetWare resource tag that you used to open the interface.
dwFlags
(IN) Reserved for future use. Set to 0.

Return Values

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

Decimal

Name

Description

255

ERR_BAD_PARAMETER

The NetWare resource tag has an invalid signature.

Remarks

Before closing the HTTP client interface, you must close all client connection handles by calling the HttpCloseConnection function.

See Also