setupapi: Implement SetupDefaultQueueCallback(SPFILENOTIFY_NEEDMEDIA).
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
31bb0097ad
commit
46dc6dddf3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue