NAME

InternetReadFileExA  (WININET.@)

SYNOPSIS

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

DESCRIPTION

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

IMPLEMENTATION

Declared in "wininet.h". https://source.winehq.org/source/include/wininet.h

Implemented in "dlls/wininet/internet.c". https://source.winehq.org/source/dlls/wininet/internet.c

Debug channel "wininet".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated May 2024.