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
777a30b9
Commit
777a30b9
authored
Oct 15, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Add support for specifying a fake dll source as '-' to delete it.
parent
7acd74ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
fakedll.c
dlls/setupapi/fakedll.c
+7
-1
wine.inf.in
tools/wine.inf.in
+1
-0
No files found.
dlls/setupapi/fakedll.c
View file @
777a30b9
...
...
@@ -597,7 +597,13 @@ BOOL create_fake_dll( const WCHAR *name, const WCHAR *source )
if
(
!
(
h
=
create_dest_file
(
name
)))
return
TRUE
;
/* not a fake dll */
if
(
h
==
INVALID_HANDLE_VALUE
)
return
FALSE
;
if
((
buffer
=
load_fake_dll
(
source
,
&
size
)))
if
(
source
[
0
]
==
'-'
&&
!
source
[
1
])
{
/* '-' source means delete the file */
TRACE
(
"deleting %s
\n
"
,
debugstr_w
(
name
)
);
ret
=
FALSE
;
}
else
if
((
buffer
=
load_fake_dll
(
source
,
&
size
)))
{
DWORD
written
;
...
...
tools/wine.inf.in
View file @
777a30b9
...
...
@@ -2455,6 +2455,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,dosx.exe
11,,dsound.vxd
11,,notepad.exe
11,,winetest.exe,-
11,,winhlp32.exe
12,,mountmgr.sys
16422,Internet Explorer,iexplore.exe
...
...
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