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
1b8ba253
Commit
1b8ba253
authored
Mar 03, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Destination directory defaults to system directory.
parent
ab0e037e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
queue.c
dlls/setupapi/queue.c
+10
-3
No files found.
dlls/setupapi/queue.c
View file @
1b8ba253
...
...
@@ -338,10 +338,17 @@ static WCHAR *get_destination_dir( HINF hinf, const WCHAR *section )
static
const
WCHAR
Dest
[]
=
{
'D'
,
'e'
,
's'
,
't'
,
'i'
,
'n'
,
'a'
,
't'
,
'i'
,
'o'
,
'n'
,
'D'
,
'i'
,
'r'
,
's'
,
0
};
static
const
WCHAR
Def
[]
=
{
'D'
,
'e'
,
'f'
,
'a'
,
'u'
,
'l'
,
't'
,
'D'
,
'e'
,
's'
,
't'
,
'D'
,
'i'
,
'r'
,
0
};
INFCONTEXT
context
;
WCHAR
systemdir
[
MAX_PATH
],
*
dir
;
BOOL
ret
;
if
(
!
SetupFindFirstLineW
(
hinf
,
Dest
,
section
,
&
context
)
&&
!
SetupFindFirstLineW
(
hinf
,
Dest
,
Def
,
&
context
))
return
NULL
;
return
PARSER_get_dest_dir
(
&
context
);
if
(
!
(
ret
=
SetupFindFirstLineW
(
hinf
,
Dest
,
section
,
&
context
)))
ret
=
SetupFindFirstLineW
(
hinf
,
Dest
,
Def
,
&
context
);
if
(
ret
&&
(
dir
=
PARSER_get_dest_dir
(
&
context
)))
return
dir
;
GetSystemDirectoryW
(
systemdir
,
MAX_PATH
);
return
strdupW
(
systemdir
);
}
...
...
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