urlmon: Check the return value of ReadFile and return INET_E_DOWNLOAD_FAILURE is...
commit229e024a53b12b152dc983bac4fd3f9389ae4b08
authorRob Shearman <rob@codeweavers.com>
Fri, 15 Feb 2008 10:09:25 +0000 (15 10:09 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 16 Feb 2008 12:54:36 +0000 (16 13:54 +0100)
tree7515171e64edcfbbb4ea9395950d530d0aa38feb
parent2e99817a406bc3ff957fa875e143111ab43a5b6b
urlmon: Check the return value of ReadFile and return INET_E_DOWNLOAD_FAILURE is it fails.

Initialise *pcbRead to zero, if the parameter is not NULL.
dlls/urlmon/file.c