HttpClientOpen
Initializes the HTTP client interface.
#include <httpexp.h>
#include <httpclnt.h>
HINTERNET HttpClientOpen (
char *appName,
struct proxyInfoStructure *pProxyInfo,
UINT32 dwFlags,
UINT32 (*pServiceFunction)(
HINTERNET hndl,
void *pRes,
UINT32 szRes,
UINT32 informationBits),
void *pReserved,
void *pRTag,
UINT32 *pFailureReasonCode);
If successful, returns an HTTP stack handle. Otherwise, returns NULL.
On failure, the pFailureReasonCode parameter returns one of the following values.
You must call the HttpClientOpen function once in your application before using any of the other functions in this interface. You use the handle returned by this function to open connections and to close the interface before your application quits.