Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5d8dde1a
Commit
5d8dde1a
authored
Mar 23, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Use nameless structs and unions.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f59b482c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
Makefile.in
dlls/wininet/Makefile.in
+0
-1
urlcache.c
dlls/wininet/urlcache.c
+5
-5
No files found.
dlls/wininet/Makefile.in
View file @
5d8dde1a
EXTRADEFS
=
-D_WINX32_
-DWINE_NO_NAMELESS_EXTENSION
MODULE
=
wininet.dll
IMPORTLIB
=
wininet
IMPORTS
=
mpr shlwapi shell32 user32 ws2_32 advapi32
...
...
dlls/wininet/urlcache.c
View file @
5d8dde1a
...
...
@@ -3809,12 +3809,12 @@ BOOL WINAPI GetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW info, LPDWORD s
info
->
dwNumCachePaths
=
1
;
info
->
dwNormalUsage
=
0
;
info
->
dwExemptUsage
=
0
;
info
->
u
.
s
.
dwCacheSize
=
container
->
file_size
/
1024
;
lstrcpynW
(
info
->
u
.
s
.
CachePath
,
container
->
path
,
MAX_PATH
);
info
->
dwCacheSize
=
container
->
file_size
/
1024
;
lstrcpynW
(
info
->
CachePath
,
container
->
path
,
MAX_PATH
);
cache_container_close_index
(
container
);
TRACE
(
"CachePath %s
\n
"
,
debugstr_w
(
info
->
u
.
s
.
CachePath
));
TRACE
(
"CachePath %s
\n
"
,
debugstr_w
(
info
->
CachePath
));
return
TRUE
;
}
...
...
@@ -3846,8 +3846,8 @@ BOOL WINAPI GetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA info, LPDWORD s
info
->
dwNumCachePaths
=
infoW
.
dwNumCachePaths
;
info
->
dwNormalUsage
=
infoW
.
dwNormalUsage
;
info
->
dwExemptUsage
=
infoW
.
dwExemptUsage
;
info
->
u
.
s
.
dwCacheSize
=
infoW
.
u
.
s
.
dwCacheSize
;
WideCharToMultiByte
(
CP_ACP
,
0
,
infoW
.
u
.
s
.
CachePath
,
-
1
,
info
->
u
.
s
.
CachePath
,
MAX_PATH
,
NULL
,
NULL
);
info
->
dwCacheSize
=
infoW
.
dwCacheSize
;
WideCharToMultiByte
(
CP_ACP
,
0
,
infoW
.
CachePath
,
-
1
,
info
->
CachePath
,
MAX_PATH
,
NULL
,
NULL
);
return
TRUE
;
}
...
...
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