InternetReadFileExA(3w)

InternetReadFileExA3w

Usage

BOOL InternetReadFileExA
(
HINTERNET hFile,
LPINTERNET_BUFFERSA lpBuffersOut,
DWORD dwFlags,
DWORD_PTR dwContext
)

Overview

Read data from an open internet file.

Params

hFile [In] Handle returned by InternetOpenUrl or HttpOpenRequest.

lpBuffersOut [In/Out] Buffer.

dwFlags [In] Flags. See notes.

dwContext [In] Context for callbacks.

Returns

TRUE on success FALSE on failure.

Notes

The parameter dwFlags include zero or more of the following flags:
IRF_ASYNC - Makes the call asynchronous.
IRF_SYNC - Makes the call synchronous.
IRF_USE_CONTEXT - Forces dwContext to be used.
IRF_NO_WAIT - Don't block if the data is not available, just return what is available.

However, in testing IRF_USE_CONTEXT seems to have no effect - dwContext isn't used.

See

InternetOpenUrlA(), HttpOpenRequestA(3w)

Implementation

Declared in "internet.h".

Implemented in "dlls/wininet/internet.c".

Debug channel "wininet".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.