HttpSendRequestExHttpSendRequestEx*
*Contents  *Index  *Topic Contents
*Previous Topic: HttpSendRequest
*Next Topic: Cookie Functions

HttpSendRequestEx

BOOL HttpSendRequestEx(
    IN HINTERNET hRequest,
    IN LPINTERNET_BUFFERS lpBuffersIn,
    OUT LPINTERNET_BUFFERS lpBuffersOut,
    IN DWORD dwFlags,
    IN DWORD dwContext
);

Sends the specified request to the HTTP server.

hRequest
HINTERNET handle returned by HttpOpenRequest.
lpBuffersIn
Optional. Address of an INTERNET_BUFFERS structure.
lpBuffersOut
Optional. Address of an INTERNET_BUFFERS structure.
dwFlags
Can be one of the following values:
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
DWORD variable that contains the context value to use in asynchronous operations.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.