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
932e8165
Commit
932e8165
authored
Jul 17, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented GetUIVersion (based on a patch by Stefan Leichter).
parent
b5ee682c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
1 deletion
+29
-1
ordinal.c
dlls/shlwapi/ordinal.c
+28
-0
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+1
-1
No files found.
dlls/shlwapi/ordinal.c
View file @
932e8165
...
...
@@ -3955,3 +3955,31 @@ HRESULT WINAPI SKGetValueW(DWORD a, LPWSTR b, LPWSTR c, DWORD d, DWORD e, DWORD
FIXME
(
"(%lx, %s, %s, %lx, %lx, %lx): stub
\n
"
,
a
,
debugstr_w
(
b
),
debugstr_w
(
c
),
d
,
e
,
f
);
return
E_FAIL
;
}
typedef
HRESULT
(
WINAPI
*
DllGetVersion_func
)(
DLLVERSIONINFO
*
);
/***********************************************************************
* GetUIVersion (SHLWAPI.452)
*/
DWORD
WINAPI
GetUIVersion
(
void
)
{
static
DWORD
version
;
if
(
!
version
)
{
DllGetVersion_func
pDllGetVersion
;
HMODULE
dll
=
LoadLibraryA
(
"shell32.dll"
);
if
(
!
dll
)
return
0
;
pDllGetVersion
=
(
DllGetVersion_func
)
GetProcAddress
(
dll
,
"DllGetVersion"
);
if
(
pDllGetVersion
)
{
DLLVERSIONINFO
dvi
;
dvi
.
cbSize
=
sizeof
(
DLLVERSIONINFO
);
if
(
pDllGetVersion
(
&
dvi
)
==
S_OK
)
version
=
dvi
.
dwMajorVersion
;
}
FreeLibrary
(
dll
);
if
(
!
version
)
version
=
3
;
/* old shell dlls don't have DllGetVersion */
}
return
version
;
}
dlls/shlwapi/shlwapi.spec
View file @
932e8165
...
...
@@ -535,7 +535,7 @@
539 stub -noname IUnknown_ShowBrowserBar
540 stub -noname SHInvokeCommandOnContextMenu
541 stub -noname SHInvokeCommandsOnContextMen
542 st
ub -noname GetUIVersion
542 st
dcall -noname GetUIVersion()
543 stub -noname CreateColorSpaceWrapW
544 stub -noname QuerySourceCreateFromKey
545 stub -noname SHForwardContextMenuMsg
...
...
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