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
4f49655a
Commit
4f49655a
authored
Aug 22, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Aug 23, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl: Replace SHDeleteKeyW with RegDeleteTreeW and get rid of the import of shlwapi.
parent
e9a4c235
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
dlls/atl/Makefile.in
+1
-1
registrar.c
dlls/atl/registrar.c
+2
-3
No files found.
dlls/atl/Makefile.in
View file @
4f49655a
...
...
@@ -4,7 +4,7 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
MODULE
=
atl.dll
IMPORTLIB
=
libatl.
$(IMPLIBEXT)
IMPORTS
=
ole32 oleaut32
shlwapi
user32 gdi32 advapi32 kernel32
IMPORTS
=
ole32 oleaut32 user32 gdi32 advapi32 kernel32
EXTRALIBS
=
-luuid
C_SRCS
=
\
...
...
dlls/atl/registrar.c
View file @
4f49655a
...
...
@@ -27,7 +27,6 @@
#include "winreg.h"
#include "objbase.h"
#include "oaidl.h"
#include "shlwapi.h"
#define ATL_INITGUID
#include "atliface.h"
...
...
@@ -243,10 +242,10 @@ static HRESULT do_process_key(LPCOLESTR *pstr, HKEY parent_key, strbuf *buf, BOO
strbuf_write
(
buf
->
str
,
&
name
,
-
1
);
}
else
if
(
key_type
==
DO_DELETE
)
{
TRACE
(
"Deleting %s
\n
"
,
debugstr_w
(
buf
->
str
));
lres
=
SHDeleteKey
W
(
parent_key
,
buf
->
str
);
lres
=
RegDeleteTree
W
(
parent_key
,
buf
->
str
);
}
else
{
if
(
key_type
==
FORCE_REMOVE
)
SHDeleteKey
W
(
parent_key
,
buf
->
str
);
RegDeleteTree
W
(
parent_key
,
buf
->
str
);
lres
=
RegCreateKeyW
(
parent_key
,
buf
->
str
,
&
hkey
);
if
(
lres
!=
ERROR_SUCCESS
)
{
WARN
(
"Could not create(open) key: %08x
\n
"
,
lres
);
...
...
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