Microsoft Windows CE 3.0  

HttpEndRequest

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This function ends an HTTP request that was initiated by HttpSendRequestEx.

BOOL HttpEndRequest (
HINTERNET
hRequest
,
LPINTERNET_BUFFERS
lpBuffersOut
,
DWORD
dwFlags
,
DWORD
dwContext
);

Parameters

hRequest
[in] HINTERNET Handleshandle returned by HttpOpenRequestand sent by HttpSendRequestEx.
lpBuffersOut
[out] Optional. Address of an INTERNET_BUFFERS structure.
dwFlags
[in] Unsigned long integer value that contains the flags that control this function. Can be one of the following values:
Value Description
HSR_ASYNC Identical to WININET_API_FLAG_ASYNC.
HSR_SYNC Identical to WININET_API_FLAG_SYNC.
HSR_USE_CONTEXT Identical to WININET_API_FLAG_USE_CONTEXT.
HSR_INITIATE Iterative operation (completed by HttpEndRequest).
HSR_DOWNLOAD Download resource to file.
HSR_CHUNKED Send chunked data.
dwContext
[in] Unsigned long integer variable that contains the application-defined context value for applications that register a status callback function.

Return Values

Returns TRUE if successful, or FALSE otherwise.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.12 and later Wininet.h   Wininet.lib
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

HINTERNET, HttpOpenRequest, HttpSendRequestEx