winebus.sys: Don't WARN about backends we didn't build.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1413f577c5
commit
439b80e4c4
|
@ -409,6 +409,7 @@ NTSTATUS iohid_driver_init(void)
|
|||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
TRACE("Initialization successful\n");
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -429,7 +430,6 @@ void iohid_driver_unload( void )
|
|||
|
||||
NTSTATUS iohid_driver_init(void)
|
||||
{
|
||||
WARN("IOHID Support not compiled into Wine.\n");
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
|
|
@ -1145,9 +1145,13 @@ NTSTATUS sdl_driver_init(void)
|
|||
map_controllers = check_bus_option(&controller_mode, 1);
|
||||
|
||||
if (!(events[0] = CreateEventW(NULL, TRUE, FALSE, NULL)))
|
||||
{
|
||||
WARN("CreateEvent failed\n");
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
if (!(events[1] = CreateThread(NULL, 0, deviceloop_thread, events[0], 0, NULL)))
|
||||
{
|
||||
WARN("CreateThread failed\n");
|
||||
CloseHandle(events[0]);
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
@ -1171,7 +1175,6 @@ sym_not_found:
|
|||
|
||||
NTSTATUS sdl_driver_init(void)
|
||||
{
|
||||
WARN("compiled without SDL support\n");
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
|
|
@ -1529,7 +1529,6 @@ error:
|
|||
|
||||
NTSTATUS udev_driver_init(void)
|
||||
{
|
||||
WARN("Wine was compiled without UDEV support\n");
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue