Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d89705da
Commit
d89705da
authored
Jul 15, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Jul 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix return value of InternetQueryDataAvailable.
parent
00a4a989
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
internet.c
dlls/wininet/internet.c
+10
-3
No files found.
dlls/wininet/internet.c
View file @
d89705da
...
...
@@ -3210,15 +3210,22 @@ lend:
}
}
/***********************************************************************
/**********************************************************
* InternetQueryDataAvailable (WININET.@)
*
* Determines how much data is available to be read.
*
* RETURNS
* If there is data available then TRUE, otherwise if there
* is not or an error occurred then FALSE. Use GetLastError() to
* check for ERROR_NO_MORE_FILES to see if it was the former.
*/
BOOL
WINAPI
InternetQueryDataAvailable
(
HINTERNET
hFile
,
LPDWORD
lpdwNumberOfBytesAvailble
,
DWORD
dwFlags
,
DWORD
dwConext
)
{
LPWININETHTTPREQW
lpwhr
;
INT
retval
=
-
1
;
BOOL
retval
=
FALSE
;
char
buffer
[
4048
];
lpwhr
=
(
LPWININETHTTPREQW
)
WININET_GetObject
(
hFile
);
...
...
@@ -3250,7 +3257,7 @@ BOOL WINAPI InternetQueryDataAvailable( HINTERNET hFile,
WININET_Release
(
&
lpwhr
->
hdr
);
TRACE
(
"<-- %i
\n
"
,
retval
);
return
(
retval
+
1
)
;
return
retval
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment