win32inet.InternetReadFile

string = InternetReadFile(hInternet, size )

Reads data from a handle opened by the win32inet::InternetOpenUrl, win32inet::FtpOpenFile, win32inet::GopherOpenFile , or win32inet::HttpOpenRequest function.

Parameters

hInternet : PyHINTERNET

size : int

Number of bytes to read.

Return Value

The result will be a string of zero bytes when the end is reached.