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
46dc6ddd
Commit
46dc6ddd
authored
May 01, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
May 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Implement SetupDefaultQueueCallback(SPFILENOTIFY_NEEDMEDIA).
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
31bb0097
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
queue.c
dlls/setupapi/queue.c
+12
-4
No files found.
dlls/setupapi/queue.c
View file @
46dc6ddd
...
...
@@ -1601,8 +1601,12 @@ UINT WINAPI SetupDefaultQueueCallbackA( PVOID context, UINT notification,
debugstr_a
(
paths
->
Source
),
debugstr_a
(
paths
->
Target
)
);
return
FILEOP_SKIP
;
case
SPFILENOTIFY_NEEDMEDIA
:
TRACE
(
"need media
\n
"
);
return
FILEOP_SKIP
;
{
const
SOURCE_MEDIA_A
*
media
=
(
const
SOURCE_MEDIA_A
*
)
param1
;
TRACE
(
"need media %s %s
\n
"
,
debugstr_a
(
media
->
SourcePath
),
debugstr_a
(
media
->
SourceFile
)
);
strcpy
(
(
char
*
)
param2
,
media
->
SourcePath
);
return
FILEOP_DOIT
;
}
default:
FIXME
(
"notification %d params %lx,%lx
\n
"
,
notification
,
param1
,
param2
);
break
;
...
...
@@ -1666,8 +1670,12 @@ UINT WINAPI SetupDefaultQueueCallbackW( PVOID context, UINT notification,
debugstr_w
(
paths
->
Source
),
debugstr_w
(
paths
->
Target
)
);
return
FILEOP_SKIP
;
case
SPFILENOTIFY_NEEDMEDIA
:
TRACE
(
"need media
\n
"
);
return
FILEOP_SKIP
;
{
const
SOURCE_MEDIA_W
*
media
=
(
const
SOURCE_MEDIA_W
*
)
param1
;
TRACE
(
"need media %s %s
\n
"
,
debugstr_w
(
media
->
SourcePath
),
debugstr_w
(
media
->
SourceFile
)
);
strcpyW
(
(
WCHAR
*
)
param2
,
media
->
SourcePath
);
return
FILEOP_DOIT
;
}
default:
FIXME
(
"notification %d params %lx,%lx
\n
"
,
notification
,
param1
,
param2
);
break
;
...
...
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