newdev: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-16 08:11:28 +01:00 committed by Alexandre Julliard
parent 228579ec30
commit 6a213b1c67
2 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = newdev.dll
IMPORTLIB = newdev
IMPORTS = setupapi

View File

@ -101,11 +101,11 @@ BOOL WINAPI UpdateDriverForPlugAndPlayDevicesW(HWND parent, const WCHAR *hardwar
DIF_NEWDEVICEWIZARD_FINISHINSTALL,
};
TRACE("parent %p, hardware_id %s, inf_path %s, flags %#x, reboot %p.\n",
TRACE("parent %p, hardware_id %s, inf_path %s, flags %#lx, reboot %p.\n",
parent, debugstr_w(hardware_id), debugstr_w(inf_path), flags, reboot);
if (flags)
FIXME("Unhandled flags %#x.\n", flags);
FIXME("Unhandled flags %#lx.\n", flags);
if (reboot) *reboot = FALSE;
@ -154,7 +154,7 @@ BOOL WINAPI UpdateDriverForPlugAndPlayDevicesW(HWND parent, const WCHAR *hardwar
*/
BOOL WINAPI DiInstallDriverA(HWND parent, const char *inf_path, DWORD flags, BOOL *reboot)
{
FIXME("parent %p, inf_path %s, flags %#x, reboot %p, stub!\n", parent, debugstr_a(inf_path), flags, reboot);
FIXME("parent %p, inf_path %s, flags %#lx, reboot %p, stub!\n", parent, debugstr_a(inf_path), flags, reboot);
return TRUE;
}
@ -163,6 +163,6 @@ BOOL WINAPI DiInstallDriverA(HWND parent, const char *inf_path, DWORD flags, BOO
*/
BOOL WINAPI DiInstallDriverW(HWND parent, const WCHAR *inf_path, DWORD flags, BOOL *reboot)
{
FIXME("parent %p, inf_path %s, flags %#x, reboot %p, stub!\n", parent, debugstr_w(inf_path), flags, reboot);
FIXME("parent %p, inf_path %s, flags %#lx, reboot %p, stub!\n", parent, debugstr_w(inf_path), flags, reboot);
return TRUE;
}