Scroll to navigation

InternetReadFileExA(3w) Wine API InternetReadFileExA(3w)

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(3w)
 

IMPLEMENTATION

Declared in "internet.h".
Implemented in "dlls/wininet/internet.c".
Debug channel "wininet".
Oct 2012 Wine API