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
799e6ce6
Commit
799e6ce6
authored
Jan 10, 2003
by
Juergen Schmied
Committed by
Alexandre Julliard
Jan 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix recently broken GetDisplayNamesOf of names of shell extension
dlls.
parent
682698a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
classes.c
dlls/shell32/classes.c
+3
-3
No files found.
dlls/shell32/classes.c
View file @
799e6ce6
...
...
@@ -149,7 +149,7 @@ BOOL HCR_GetExecuteCommandA(LPCSTR szClass, LPCSTR szVerb, LPSTR szDest, DWORD l
*
* Gets the icon for a filetype
*/
static
HRESULT
HCR_RegOpenClassIDKey
(
REFIID
riid
,
HKEY
*
hkey
)
static
BOOL
HCR_RegOpenClassIDKey
(
REFIID
riid
,
HKEY
*
hkey
)
{
char
xriid
[
50
];
sprintf
(
xriid
,
"CLSID
\\
{%08lx-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}"
,
...
...
@@ -159,7 +159,7 @@ static HRESULT HCR_RegOpenClassIDKey(REFIID riid, HKEY *hkey)
TRACE
(
"%s
\n
"
,
xriid
);
return
RegOpenKeyExA
(
HKEY_CLASSES_ROOT
,
xriid
,
0
,
KEY_READ
,
hkey
);
return
!
RegOpenKeyExA
(
HKEY_CLASSES_ROOT
,
xriid
,
0
,
KEY_READ
,
hkey
);
}
static
BOOL
HCR_RegGetDefaultIconW
(
HKEY
hkey
,
LPWSTR
szDest
,
DWORD
len
,
LPDWORD
dwNr
)
...
...
@@ -253,7 +253,7 @@ BOOL HCR_GetDefaultIconFromGUIDW(REFIID riid, LPWSTR szDest, DWORD len, LPDWORD
HKEY
hkey
;
BOOL
ret
=
FALSE
;
if
(
!
HCR_RegOpenClassIDKey
(
riid
,
&
hkey
))
if
(
HCR_RegOpenClassIDKey
(
riid
,
&
hkey
))
{
ret
=
HCR_RegGetDefaultIconW
(
hkey
,
szDest
,
len
,
dwNr
);
RegCloseKey
(
hkey
);
...
...
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