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
ddfab6bb
Commit
ddfab6bb
authored
Jul 31, 2010
by
David Hedberg
Committed by
Alexandre Julliard
Aug 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorerframe: Implement DllGetVersion.
parent
e2cf9ad3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
1 deletion
+31
-1
explorerframe.spec
dlls/explorerframe/explorerframe.spec
+1
-1
explorerframe_main.c
dlls/explorerframe/explorerframe_main.c
+30
-0
No files found.
dlls/explorerframe/explorerframe.spec
View file @
ddfab6bb
...
...
@@ -4,4 +4,4 @@
@ stdcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ st
ub DllGetVersion
@ st
dcall -private DllGetVersion(ptr)
dlls/explorerframe/explorerframe_main.c
View file @
ddfab6bb
...
...
@@ -64,3 +64,33 @@ HRESULT WINAPI DllCanUnloadNow(void)
TRACE
(
"refCount is %d
\n
"
,
EFRAME_refCount
);
return
EFRAME_refCount
?
S_FALSE
:
S_OK
;
}
/*************************************************************************
* DllGetVersion (ExplorerFrame.@)
*/
HRESULT
WINAPI
DllGetVersion
(
DLLVERSIONINFO
*
info
)
{
TRACE
(
"%p
\n
"
,
info
);
if
(
info
->
cbSize
==
sizeof
(
DLLVERSIONINFO
)
||
info
->
cbSize
==
sizeof
(
DLLVERSIONINFO2
))
{
/* Windows 7 */
info
->
dwMajorVersion
=
6
;
info
->
dwMinorVersion
=
1
;
info
->
dwBuildNumber
=
7600
;
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
,
16385
);
/* "hotfix number" */
}
return
S_OK
;
}
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