HttpEndRequest

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 handle returned by HttpOpenRequest and sent by HttpSendRequestEx.
  • lpBuffersOut
    [out] Reserved. Must be set to NULL.
  • dwFlags
    Windows CE .NET ignores this parameter.
  • 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

OS Versions: Windows CE 2.12 and later.
Header: Wininet.h.
Link Library: Wininet.lib.

See Also

About HINTERNET Handles | HttpOpenRequest | HttpSendRequestEx | WinInet Functions

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.