InternetQueryDataAvailable problem

Hi all,

The InternetQueryDataAvailable function seems to not return what I expect. I would expect it to return the length of the file you are pointing to by hUrlFile, thus if it's 12345 bytes long then I'd expect to see this function return 12345.

It seems to return far less - as though it's loading up one buffer of data and returning the length of that instead.