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
a342ded2
Commit
a342ded2
authored
Sep 25, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Fixed handling of GET_INSTALLED_ENTRY flag in GetUrlCacheEntryInfoA.
parent
134db11e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
urlcache.c
dlls/wininet/urlcache.c
+10
-1
No files found.
dlls/wininet/urlcache.c
View file @
a342ded2
...
...
@@ -81,6 +81,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(wininet);
#define HASHTABLE_FLAG_BITS 6
#define PENDING_DELETE_CACHE_ENTRY 0x00400000
#define INSTALLED_CACHE_ENTRY 0x10000000
#define GET_INSTALLED_ENTRY 0x200
#define CACHE_CONTAINER_NO_SUBDIR 0xFE
#define CACHE_HEADER_DATA_ROOT_LEAK_OFFSET 0x16
...
...
@@ -1732,7 +1734,7 @@ BOOL WINAPI GetUrlCacheEntryInfoExA(
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
FALSE
;
}
if
(
dwFlags
!=
0
)
if
(
dwFlags
&
~
GET_INSTALLED_ENTRY
)
{
FIXME
(
"Undocumented flag(s): %x
\n
"
,
dwFlags
);
SetLastError
(
ERROR_FILE_NOT_FOUND
);
...
...
@@ -1778,6 +1780,13 @@ BOOL WINAPI GetUrlCacheEntryInfoExA(
if
(
pUrlEntry
->
dwOffsetHeaderInfo
)
TRACE
(
"Header info: %s
\n
"
,
debugstr_a
((
LPCSTR
)
pUrlEntry
+
pUrlEntry
->
dwOffsetHeaderInfo
));
if
((
dwFlags
&
GET_INSTALLED_ENTRY
)
&&
!
(
pUrlEntry
->
CacheEntryType
&
INSTALLED_CACHE_ENTRY
))
{
URLCacheContainer_UnlockIndex
(
pContainer
,
pHeader
);
SetLastError
(
ERROR_FILE_NOT_FOUND
);
return
FALSE
;
}
if
(
lpdwCacheEntryInfoBufSize
)
{
if
(
!
lpCacheEntryInfo
)
...
...
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