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
c4a3b390
Commit
c4a3b390
authored
Aug 13, 2010
by
Konrad Wartke
Committed by
Alexandre Julliard
Aug 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
browseui: Improved a FIXME in DllGetVersion.
parent
f4d142e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
browseui_main.c
dlls/browseui/browseui_main.c
+16
-3
No files found.
dlls/browseui/browseui_main.c
View file @
c4a3b390
...
...
@@ -183,15 +183,28 @@ HRESULT WINAPI DllCanUnloadNow(void)
*/
HRESULT
WINAPI
DllGetVersion
(
DLLVERSIONINFO
*
info
)
{
if
(
info
->
cbSize
!=
sizeof
(
DLLVERSIONINFO
))
FIXME
(
"support DLLVERSIONINFO2
\n
"
);
if
(
info
->
cbSize
==
sizeof
(
DLLVERSIONINFO
)
||
info
->
cbSize
==
sizeof
(
DLLVERSIONINFO2
))
{
/* this is what IE6 on Windows 98 reports */
info
->
dwMajorVersion
=
6
;
info
->
dwMinorVersion
=
0
;
info
->
dwBuildNumber
=
2600
;
info
->
dwPlatformID
=
DLLVER_PLATFORM_WINDOWS
;
if
(
info
->
cbSize
==
sizeof
(
DLLVERSIONINFO2
))
{
DLLVERSIONINFO2
*
info2
=
(
DLLVERSIONINFO2
*
)
info
;
info2
->
dwFlags
=
0
;
info2
->
ullVersion
=
MAKEDLLVERULL
(
info
->
dwMajorVersion
,
info
->
dwMinorVersion
,
info
->
dwBuildNumber
,
0
);
/* FIXME: correct hotfix number */
}
return
S_OK
;
}
return
NOERROR
;
WARN
(
"wrong DLLVERSIONINFO size from app.
\n
"
);
return
E_INVALIDARG
;
}
/***********************************************************************
...
...
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