André Hentschel
e9f030876b
setupapi: Remove support for PPC32.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-17 16:46:14 +02:00
Alexandre Julliard
2487a35372
setupapi: Avoid storing uninitialized data in the registry.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-15 11:21:34 +02:00
Zebediah Figura
f779f36da3
setupapi: Use the original INF source path if possible when copying files.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=35903
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-11 21:04:42 +02:00
Zebediah Figura
547d62da22
setupapi: Store the original INF file path in a .pnf file.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-11 21:04:40 +02:00
Zebediah Figura
007a9c9726
setupapi: Reset the source file pointer when comparing files.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-11 21:03:38 +02:00
Louis Lenders
f48b9700b8
setupapi: Add stub for CM_Get_Device_Interface_Alias{A,W}.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49147
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-14 23:12:31 +02:00
Gijs Vermeulen
288515c51f
setupapi: Correct SetupDiGetActualSectionToInstall[Ex]A/W .spec file entries.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-14 20:59:36 +02:00
Gijs Vermeulen
9a044007cc
setupapi: Add SetupDiGetActualSectionToInstallExA/W.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49130
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-12 10:58:08 +02:00
Andrew Eikum
20a283e7e2
setupapi: Quiet down missing driver debug message.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-01 21:51:31 +02:00
Sven Baars
dcc6a143e9
setupapi: Make sure the class name is always set on success in SetupDiGetINFClassW (Valgrind).
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 21:06:11 +02:00
Sven Baars
b08974900f
setupapi: Only copy driver info if SetupDiEnumDriverInfoW succeeded (Valgrind).
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 21:06:03 +02:00
Sven Baars
c85b140531
setupapi: Fix a leak on early return in SetupDiGetDriverInfoDetailA (Valgrind).
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 21:05:58 +02:00
Sven Baars
75e878346a
setupapi: Fix a memory leak (Valgrind).
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 21:05:54 +02:00
Zhiyi Zhang
e570c2fe59
setupapi: Fix a registry key handle leak.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 19:58:11 +02:00
Zebediah Figura
dd74b9c8e6
setupapi: Use the "section" and "description" fields directly in more places.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Zebediah Figura
5cff8c9e2e
setupapi: Implement SetupDiGetDriverInfoDetail().
...
Needed by the Windows Device Framework co-installer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Zebediah Figura
6971dfcfc2
setupapi: Implement SetupDiGetSelectedDriver().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48639
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Michael Müller
87b2af73ba
setupapi: Implement SP_COPY_IN_USE_NEEDS_REBOOT.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=36059
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-13 20:30:35 +01:00
Rémi Bernon
1bd9612191
setupapi/tests: Fix some format-overflow warnings.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 22:39:59 +01:00
Alexandre Julliard
aa76bec241
setupapi: Support a WineSourceDirs section to copy files from the Wine build or data dir.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 09:00:43 +01:00
Alexandre Julliard
32a2cde6c1
setupapi: Use wide character string literals.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 09:00:21 +01:00
Zebediah Figura
e75d5b8dc7
setupapi: Initialize COM if necessary when registering DLLs.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 08:44:04 +01:00
Zebediah Figura
e0b5da7b34
setupapi/tests: Add some tests for COM self-registration.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 08:44:01 +01:00
Jacek Caban
d580d2c2fd
setupapi: Fix hex digit check in SetupGetBinaryField.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 21:40:22 +01:00
Zhiyi Zhang
4a3cd01bd1
setupapi: Implement SetupDiOpenDeviceInterfaceRegKey().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:27 +01:00
Jacek Caban
c041605b00
guiddef.h: Remove GUID_NULL declaration.
...
It's declared in cguid.h with proper extern "C".
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:27 +01:00
Chip Davis
4588f10f8d
setupapi: Implement CM_Get_DevNode_Property[_Ex]W().
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 19:44:12 +01:00
Michael Müller
14d782d18a
setupapi/tests: Add test for IDF_CHECKFIRST and SetupPromptForDiskA/W.
...
With modifications from Hermes Belusca-Maito.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-13 19:41:03 +01:00
Michael Müller
0422c6c4d0
setupapi: Add support for IDF_CHECKFIRST flag in SetupPromptForDiskW.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=20465
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-13 19:41:02 +01:00
Thomas Faber
dc968dae42
setupapi/tests: Remove an unused variable.
...
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-08 21:56:36 +01:00
Alexandre Julliard
b3abc343c3
setupapi: Handle copy errors in SetupCommitFileQueueW().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-22 12:51:50 +01:00
Derek Lesho
f1b94dc16c
setupapi: Add SetupGetInfDriverStoreLocationW stub.
...
Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:04 +01:00
Zhiyi Zhang
288a6625ad
setupapi: Set device SPDRP_CLASS registry property in create_device().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 23:18:00 +01:00
Zhiyi Zhang
4fe3d7e220
setupapi/tests: Add default device registry property tests.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 23:18:00 +01:00
Zhiyi Zhang
177d6d7f89
setupapi/tests: Fix timeout on win10 1809+.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 23:18:00 +01:00
Jacek Caban
4346d68e1b
makedep: Use -Wl,-delayload option for winebuild delayimports.
...
Also fixes winebuild to correctly handle module extensions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 21:39:40 +01:00
Zebediah Figura
404cee2aa6
setupapi: Set the DeviceDesc value in SetupDiInstallDevice().
...
At least one PnP enumeration utility expects this.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-08 10:29:28 +01:00
Zebediah Figura
7d152715ef
setupapi: Set the device class in SetupDiBuildDriverInfoList().
...
This matches Windows XP behaviour. In Vista and later this appears to be done
by UpdateDriverForPlugAndPlayDevices().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-08 10:29:23 +01:00
Zebediah Figura
161a0c259a
setupapi: Fix setting filepart in SetupCopyOEMInfW().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-08 10:29:21 +01:00
Alexandre Julliard
b2b3975f46
setupapi: Define .inf section names for ARM platforms.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-31 00:33:46 +01:00
Vijay Kiran Kamuju
c59e9d302b
setupapi/tests: Remove win_9x checks.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-22 23:04:27 +02:00
Zebediah Figura
a431b4b54a
setupapi: Fix handling of FILEOP_SKIP from the SPFILENOTIFY_STARTCOPY callback.
...
Fixes a regression introduced by 3e5c9798a8
.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47436
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-23 10:50:14 +02:00
Zebediah Figura
ab3cc3c11a
setupapi/tests: Add some tests for SPFILENOTIFY_STARTCOPY.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-23 10:50:12 +02:00
Sven Baars
ecbd2dd34b
setupapi: Fix an uninitialized variable warning (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 11:29:28 +02:00
Sven Baars
5f0d53e209
setupapi: Fix a path leak (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 11:29:28 +02:00
Sven Baars
448f4cc9a2
setupapi/tests: Fix a crash in the need_media tests.
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 11:29:28 +02:00
Francois Gouget
21db058d14
setupapi/tests: A spelling fix in an ok() message.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 17:53:36 +02:00
Zhiyi Zhang
d5e24897e2
setupapi: Support full path enumerator in SetupDiGetClassDevs.
...
Based on a patch by Michael Müller.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=35345
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 09:34:32 +02:00
Alexandre Julliard
72d6759f3a
setupapi: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 11:38:15 +02:00
Zebediah Figura
72f298e3f7
setupapi: Also start newly installed root PnP services in SetupDiInstallDevice().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 09:29:13 +02:00