Zebediah Figura
23320d05b6
setupapi: Return the section name in SetupDiGetActualSectionToInstall() even if it doesn't exist.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 09:20:48 +02:00
Zebediah Figura
6244f05941
setupapi/tests: Add tests for SetupDiGetActualSectionToInstall().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 09:20:43 +02:00
Zebediah Figura
c9e3307f9f
setupapi: Define the correct platform extensions for each architecture.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 09:20:31 +02:00
Zebediah Figura
9c714c3b83
setupapi: Implement SetupDiGetActualSectionToInstallA().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 09:20:22 +02:00
Zebediah Figura
45d199023f
setupapi/tests: Add some basic tests for SetupDi{Get, Set}DeviceInstallParams().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 14:07:13 +02:00
Zebediah Figura
14a354e575
setupapi: Implement SetupDiSetDeviceInstallParams().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 14:07:01 +02:00
Zebediah Figura
4170125471
setupapi: Implement SetupDiGetDeviceInstallParams().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 14:06:48 +02:00
Zebediah Figura
86724af012
setupapi: Handle an empty string for the source file in SetupQueueCopySection().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47185
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 18:49:46 +02:00
Józef Kucia
88e28d971b
setupapi: Avoid debugstr buffer overflow.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 12:48:51 +02:00
Zebediah Figura
9ccf1dd88b
setupapi: Avoid passing a NULL source filename to SetupQueueDefaultCopy().
...
Fixes a regression introduced by 705d3eed86
.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47138
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-08 08:31:20 -05:00
Zebediah Figura
c65d98065c
setupapi: Add magic bytes to struct file_queue and validate them in SetupCloseFileQueue().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=12332
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 16:34:42 +02:00
Zebediah Figura
d5a6a2675c
setupapi/tests: Add tests for source media path resolution.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:37 +02:00
Zebediah Figura
3e5c9798a8
setupapi: Implement source media path resolution.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47107
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:37 +02:00
Zebediah Figura
cfe4ce28eb
setupapi: Use the source file name if the destination file name is NULL.
...
Do not do the reverse. Windows crashes if SourceFilename is NULL.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:37 +02:00
Zebediah Figura
db8e2388d9
setupapi: Properly null-terminate the path in concat_W().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:37 +02:00
Zebediah Figura
e8c4dbcec2
setupapi: Implement W -> A mapping of SPFILENOTIFY_NEEDMEDIA.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:37 +02:00
Zebediah Figura
46dc6dddf3
setupapi: Implement SetupDefaultQueueCallback(SPFILENOTIFY_NEEDMEDIA).
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
31bb0097ad
setupapi: Keep track of source media in a separate list.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
3cb621e6ca
setupapi: Separate the entire copy operation into a helper function.
...
So as to centralize SPFILENOTIFY_COPYERROR callbacks into one place.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
ee36f923c5
setupapi: Remove implementation for LayoutInf parameter of SP_FILE_COPY_PARAMS.
...
Tests demonstrate that the existing implementation is not correct, and I was
unable to find an arrangement of parameters such that it was respected on
Windows. Most likely it has to do with the undocumented parameters used in
the "master" C:\windows\inf\layout.inf.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
466b80786f
setupapi: Implement SetupQueueCopyIndirectA() on top of the W variant.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
705d3eed86
setupapi: Fill out all source file parameters in SetupQueueDefaultCopy().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
f9f25ee227
setupapi: Fill out all source file parameters in SetupQueueCopySection().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
cedbdf4387
setupapi: Avoid passing a NULL source root path to SetupQueueDefaultCopy() and SetupQueueCopySection().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
02df7eeb5b
setupapi/tests: Add some tests for SetupInstallFilesFromInfSection().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 22:46:52 +02:00
Zebediah Figura
2d13b6b74c
setupapi/tests: Avoid assert().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 22:46:52 +02:00
Zebediah Figura
fccb7552eb
setupapi: Extract individual files from cabinets.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 22:46:52 +02:00
Andrey Gusev
5466df6957
setupapi: Add DECLSPEC_HOTPATCH to SetupDiEnumDeviceInfo().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46971
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:45 +02:00
Alexandre Julliard
7204f0f67f
setupapi/tests: Avoid using snprintf().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:45 +02:00
Alexandre Julliard
510e746718
setupapi: Add support for installing PE builtins as fake dlls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 14:08:18 +02:00
Zebediah Figura
5480031653
setupapi: Also check devices not in the set when using DICD_GENERATE_ID.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 11:33:05 +02:00
Zhiyi Zhang
1fa7782c08
setupapi: Check registered device duplicate in SetupDiCreateDeviceInfo().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 11:50:15 +01:00
Zhiyi Zhang
7876234e3a
setupapi/tests: Add more SetupDiCreateDeviceInfo() tests.
...
SetupDiCreateDeviceInfo() should report last error
ERROR_DEVINST_ALREADY_EXISTS when an registered instance exists
when creating a device for an empty set.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 11:50:10 +01:00
Zhiyi Zhang
0b9b1cbf56
setupapi/tests: Add SetupDiOpenDeviceInfo() tests.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 11:50:07 +01:00
Zhiyi Zhang
17d58c93f3
setupapi: Implement SetupDiOpenDeviceInfoA().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 11:50:01 +01:00
Zhiyi Zhang
cb5d191064
setupapi: Implement SetupDiOpenDeviceInfoW().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 11:49:54 +01:00
Zhiyi Zhang
64c09819cf
setupapi: Set phantom value after device creation.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 11:49:04 +01:00
Zhiyi Zhang
35673c7e8e
setupapi/tests: Test phantom value after device creation.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 11:48:57 +01:00
Francois Gouget
9f2baf1dd4
setupapi/tests: Add a trailing '\n' to a couple of ok() calls.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 17:42:42 +01:00
Alistair Leslie-Hughes
96ab88e139
setupapi: Add SetupDiRegisterCoDeviceInstallers stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 19:19:50 +01:00
Alistair Leslie-Hughes
4d81d41899
setupapi: Add SetupDiInstallDeviceInterfaces.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45963
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 19:19:42 +01:00
Alistair Leslie-Hughes
343e486e83
setupapi: Added CM_Request_Device_EjectA/W stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45879
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 19:19:31 +01:00
Zebediah Figura
bb4a6da373
setupapi: Search for substituted strings in SetupFindNextMatchLine().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-26 20:49:37 +01:00
Zebediah Figura
8c12672b06
setupapi: Handle error translation in SetupDiCreateDevRegKey().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Zebediah Figura
922bc932c8
setupapi: Handle error translation in SetupDiDeleteDevRegKey().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Zebediah Figura
f703c7f22d
setupapi: Handle error translation in SetupDiOpenDevRegKey().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Zebediah Figura
486fffa45c
setupapi: Return the "Device Parameters" subkey for DIREG_DEV.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=21023
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Sven Baars
afe83a7bbe
setupapi: Add a missing return statement (Coverity).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 15:53:18 +01:00
Vijay Kiran Kamuju
01b8a79595
setupapi: Add stub for CM_Get_Sibling.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-13 19:45:24 +01:00
Alexandre Julliard
d70d6b8486
setupapi/tests: Avoid sizeof in traces.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-06 20:26:25 +01:00
Zhiyi Zhang
307812c30d
setupapi: Implement SetupDiGetDevicePropertyW.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-05 10:30:51 +01:00
Zhiyi Zhang
afac1c405d
setupapi: Implement SetupDiSetDevicePropertyW.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-05 10:30:49 +01:00
Zebediah Figura
7e4c1a2074
setupapi: Also remove the driver key in remove_device().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-23 17:40:26 +01:00
Zebediah Figura
00c8c27032
setupapi/tests: Create the setup class key before trying to create the driver key.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-23 17:40:24 +01:00
Zebediah Figura
dca175b256
setupapi: Don't use the devnode to allocate driver keys.
...
The devnode is a local handle, but driver keys should be unique to the
device. (Note that MSDN, confusingly, refers to this number as a "device
instance ID".)
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-23 17:40:21 +01:00
Zebediah Figura
e26f8464e9
setupapi: Store the path to the driver key in the device key.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-23 17:40:18 +01:00
Zhiyi Zhang
06a86134ab
setupapi/tests: Fix return value checking.
...
SetupDiCreateDeviceInfoList returns INVALID_HANDLE_VALUE(~0) on error
instead of NULL.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-18 10:24:44 +01:00
Alexandre Julliard
bcab6625ab
setupapi/tests: Fix a test failure on latest Windows 10.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-11 15:54:06 +01:00
Michael Müller
2d6704ba99
setupapi: Always return device info from SetupDiGetDeviceInterfaceDetail() if requested.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-06 08:57:42 +01:00
Zebediah Figura
26dd015fdd
setupapi: Use strtoulW().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-06 08:57:38 +01:00
Zebediah Figura
03e9ef38a7
setupapi: Implement SetupDiDeleteDeviceInfo().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43211
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 10:02:23 +01:00
Zebediah Figura
ac1d89fa13
setupapi: Get rid of the redundant cDevices parameter to struct device.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 10:02:19 +01:00
Zebediah Figura
d6a504eaf0
setupapi: Implement SetupDiDeleteDeviceInterfaceData().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 10:02:17 +01:00
Zebediah Figura
8fff6eeb76
setupapi: Delete all empty parent keys of a removed device key.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:51:05 +01:00
Zebediah Figura
24736edfa8
setupapi: Implement SetupDiRemoveDevice().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:50:50 +01:00
Zebediah Figura
fa823476c6
setupapi: Completely remove unregistered device interfaces.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:50:44 +01:00
Zebediah Figura
3ff9874034
setupapi: Implement SetupDiRemoveDeviceInterface().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:50:39 +01:00
Alex Henrie
837b4aa429
setupapi: Turn several constants and variables into static constants.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Marcus Meissner
161d02fd5d
setupapi: Fix size passed to MultiByteToWideChar.
...
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-29 17:48:33 +01:00
Zebediah Figura
0c0aa90a90
setupapi: Avoid unnecessary buffer allocation in SETUPDI_EnumerateMatchingDeviceInstances().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:35:44 +01:00
Zebediah Figura
462c74bcdb
setupapi: Avoid unnecessary buffer allocation in SetupDiCreateDeviceInfoW().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:35:42 +01:00
Zebediah Figura
81d2b419b8
setupapi: Avoid unnecessary buffer allocation in SetupDiGetDeviceInstanceIdA().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:35:35 +01:00
Zebediah Figura
ad5314040b
setupapi: Avoid unnecessary buffer allocation in SetupDiCreateDeviceInfoA().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:35:32 +01:00
Zebediah Figura
8289c651c0
setupapi: Enforce a maximum device instance ID length.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-28 09:35:24 +01:00
Zebediah Figura
72c5f3b57d
setupapi: Store the class and reference string keys in the device_iface structure.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 09:00:22 +01:00
Zebediah Figura
48be283250
setupapi/tests: Remove workarounds in test_SetupDiOpenClassRegKeyExA().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 12:30:13 +01:00
Zebediah Figura
bc8a117747
setupapi/tests: Remove workarounds in test_SetupDiCreateDeviceInfoListEx().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 12:30:11 +01:00
Zebediah Figura
3fef0ace16
setupapi/tests: Remove workarounds in testSetupDiGetINFClassA().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 12:30:08 +01:00
Zebediah Figura
aba3ed75f1
setupapi/devinst: Factor out get_device_set().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 12:21:59 +01:00
Zebediah Figura
cdb486ae0a
setupapi/devinst: Factor out get_device_iface().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 12:21:57 +01:00
Zebediah Figura
62bf00b94f
setupapi/devinst: Factor out get_device().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 12:21:53 +01:00
Zebediah Figura
ca2cd98334
setupapi/tests: Remove workarounds in testDeviceRegistryPropertyW().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-23 12:51:37 +01:00
Zebediah Figura
1b032c2b12
setupapi/tests: Remove workarounds in testDeviceRegistryPropertyA().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-23 12:51:20 +01:00
Zebediah Figura
af1362c8c8
setupapi/tests: Remove workarounds in testRegisterAndGetDetail().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-23 12:51:16 +01:00
Zebediah Figura
c471e4cff4
setupapi/tests: Remove workarounds in testDevRegKey().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-23 12:51:10 +01:00
Zebediah Figura
c9c646e9bb
setupapi/tests: Remove workarounds in testGetDeviceInterfaceDetail().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-22 11:48:20 +01:00
Zebediah Figura
75a91c4e63
setupapi/tests: Add more tests for device interfaces.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-22 11:48:18 +01:00
Zebediah Figura
72cbe53bd8
setupapi/tests: Remove workarounds in testCreateDeviceInterface().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-22 11:48:17 +01:00
Zebediah Figura
9ac9e4b955
setupapi/tests: Add some more tests for SetupDiRegisterDeviceInfo().
...
Changed USB\BOGUS to the testcase used elsewhere since it fails on Windows 8.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-21 17:05:31 +01:00
Zebediah Figura
4e9b306e06
setupapi/tests: Remove workarounds in testRegisterDeviceInfo().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-21 17:05:30 +01:00
Zebediah Figura
16eb2b267c
setupapi/tests: Remove workarounds in testGetDeviceInstanceId().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-21 17:05:28 +01:00
Zebediah Figura
f86e796574
setupapi/tests: Add more tests for creating and removing devices.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 09:59:01 +01:00
Zebediah Figura
3af97988f1
setupapi/tests: Remove workarounds in testCreateDeviceInfo().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 09:58:59 +01:00
Zebediah Figura
7201eb5d79
setupapi/tests: Remove workarounds in testInstallClass().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 09:58:58 +01:00
Alistair Leslie-Hughes
8533516988
setupapi: Fix broken control definition.
...
Based on a patch by Mark Jansen.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-30 00:10:14 +01:00
Huw Davies
a6d89db615
setupapi: For consistency use __x86_64__ instead of __x86_64.
...
Spotted by Ken Thomases.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 12:34:57 +02:00
Michael Stefaniuc
d33f067460
setupapi: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:40:32 +02:00
Zebediah Figura
9ccf51e3c1
setupapi: Only delete unregistered device interfaces when deleting a device.
...
Fixes a regression introduced by 86d26dded5
.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-20 09:08:46 +02:00
Zebediah Figura
3fa12ba3a5
setupapi: Implement DIGCF_PRESENT.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-17 16:53:42 +02:00
Zebediah Figura
f48e726e51
setupapi: Implement SPINT_LINKED.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-17 16:53:40 +02:00
Zebediah Figura
9b767ad6bb
setupapi: Correctly implement SetupDiDeleteDeviceInterfaceRegKey().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 13:11:01 +02:00
Zebediah Figura
1d17352ce2
setupapi: Correctly implement SetupDiCreateDeviceInterfaceRegKey().
...
This family of functions manipulates the "Device Parameters" subkey, not its
parent.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 13:10:58 +02:00
Zebediah Figura
86d26dded5
setupapi: Merge the InterfaceInfo and InterfaceInstances structs.
...
It seems the original motivation for separating these was to facilitate easy
enumeration of specific classes using SetupDiEnumDeviceInterfaces(), but it
makes other things unnecessarily complex [including an eventual
implementation of SetupDiRemoveDeviceInterface()] and the implementation
provided here seems quite simple enough.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 13:10:55 +02:00
Zebediah Figura
ad9e1883ef
setupapi: Add helper functions to get the path of the device instance keys.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 13:10:52 +02:00
Zebediah Figura
11d09c299e
setupapi: Don't use SP_DEVINFO_DATA in internal structs.
...
And especially don't use a pointer to one, since there's no guarantee it'll
remain stable.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 13:10:49 +02:00
Zebediah Figura
5d7b123d09
setupapi: Merge the DeviceInstance and DeviceInfo structs.
...
These are two different representations of the same underlying object;
there's no reason to keep them separate.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 13:10:46 +02:00
Zebediah Figura
b5b09649e6
setupapi: Add an internal helper for SetupDiSetDeviceRegistryProperty().
...
This essentially follows the model used in MSI. The next patch makes use of
this helper.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 13:10:43 +02:00
Zebediah Figura
f840bcc6f7
setupapi: Use a handle table to allocate device nodes.
...
The size of DEVINST is DWORD, so using the pointer directly won't work on
64-bit.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 13:10:38 +02:00
Zebediah Figura
a3cedc1f3a
setupapi: Remove a pointless cast.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 13:10:35 +02:00
Gijs Vermeulen
87acb93586
setupapi/tests: Add SetupInstallFromInfSectionA test.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:07 +02:00
Austin English
d45e6814d6
setupapi: Set LastError on success in SetupInstallFromInfSectionW.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45167
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:07 +02:00
Michael Stefaniuc
94d8ba78b8
setupapi/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-15 12:56:48 +02:00
Tim Wanders
074345edd6
setupapi: Return CR_NO_SUCH_DEVNODE from CM_Get_Parent stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 20:47:11 +02:00
Alex Henrie
02acc6514a
setupapi/tests: Drop install test workarounds for Windows <= 2000.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-16 19:19:44 +01:00
Alexandre Julliard
35719665d7
setupapi: Use correct architecture for fake dlls on ARM and ARM64.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-01 23:16:07 +01:00
Hugh McMaster
c9308b8d6b
setupapi: Recursively remove any subkeys before calling NtDeleteKey().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-12 10:24:47 +02:00
Andrew Wesie
e4645d60d7
setupapi: Fix SetupDiGetDeviceRegistryProperty if property does not exist.
...
Signed-off-by: Andrew Wesie <awesie@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-02 11:18:36 +02:00
Austin English
852cd999f3
setupapi: Add SetupDiEnumDriverInfoA/W stubs.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-17 18:53:30 +01:00
André Hentschel
a0ec931a1b
setupapi: Fix some more spec file entries.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 13:15:44 +01:00
Nikolay Sivov
01080e6750
setupapi: Use sizeof() instead of numerical constants for buffer sizes.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-08 16:00:49 +01:00
Andrey Gusev
1ce4029994
setupapi: Add CM_Get_Sibling_Ex stub.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:07:35 +01:00
Andrey Gusev
afa920a73f
setupapi: Add CM_Get_Child_Ex stub.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:06:33 +01:00
André Hentschel
122aea9405
setupapi: Fix some spec file entries.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-27 16:31:43 +01:00
Christoph Brill
6b05583005
setupapi: Stub CM_Open_DevNode_Key and CM_Get_Child.
...
Signed-off-by: Christoph Brill <egore911@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 17:15:27 +01:00
Hans Leidekker
53b7a36319
setupapi/tests: Skip InstallHinfSection tests if the user doesn't have admin rights.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-20 13:02:36 +01:00
Hans Leidekker
0e3a0e13ef
setupapi/tests: Skip SetupGetInfInformation tests if the user doesn't have admin rights.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-20 13:02:34 +01:00
Hans Leidekker
162a40e145
setupapi/tests: Skip devinst tests if the user doesn't have admin rights.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-19 12:13:59 +01:00
Hans Leidekker
0922deda93
setupapi/tests: Skip SetupCopyOEMInfA tests if the user doesn't have admin rights.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-19 12:13:54 +01:00
Hans Leidekker
c84080fb59
setupapi/tests: Clean up properly after each device test.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-07 11:57:46 +01:00
Hans Leidekker
cdb72f3997
setupapi: Add a stub implementation of SetupDiRemoveDeviceInterface.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-07 11:57:44 +01:00
Alistair Leslie-Hughes
b32a0eaab9
setupapi: Add SetupDiGetDevicePropertyW stub.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-08 19:27:02 +01:00
André Hentschel
55efd7cfe4
setupapi/tests: Try to delete pre-existing key.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-13 12:52:15 +09:00
André Hentschel
cfcffd9799
setupapi/tests: Also check for ERROR_CALL_NOT_IMPLEMENTED at the second call to SetupDiCreateDeviceInfoListExW.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 22:19:40 +09:00
Nikolay Sivov
af533d1eeb
setupapi: Added CM_Get_Version().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:11:12 +09:00
Andrey Gusev
3e8d4e3103
setupapi/tests: Fix a typo in comment.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-23 22:50:00 +09:00
Rob Walker
10058e7c4e
setupapi: Add stub for setupapi.dll.CM_Get_DevNode_Status.
...
Signed-off-by: Rob Walker <bob.mt.wya@gmail.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 22:26:07 +09:00
Andrey Gusev
bf9d01edd6
setupapi: Fix a typo in comment.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 12:26:08 +09:00
Austin English
f820c09428
setupapi: Add SetupDiSetDeviceInstallParamsW stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:10:54 +09:00
Sebastian Lackner
e8aa851fe4
setupapi: Fix parsing of inf files containing garbage at the beginning of the file.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-16 21:59:42 +09:00
Frédéric Delanoy
5c2cff30aa
setupapi/tests: Use todo_wine_if() in tests.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:10 +09:00
Austin English
9ad0bc6372
setupapi: Add SetupDiSelectBestCompatDrv stubs.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 12:05:08 +01:00
André Hentschel
9edfb14c6b
setupapi: Remove dead code (Clang).
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 12:00:11 +01:00
Vincent Povirk
295346f81d
setupapi: Add a manifest to indicate the tests don't need elevation.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:14:31 +09:00
Huw Davies
45c987d962
setupapi/tests: Use RegQueryValueEx so that tests run on Win XP.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 01:08:52 +09:00
Vincent Povirk
f0009e17e4
setupapi/tests: Add tests for dirid values.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
2015-10-01 16:28:49 +09:00
Dmitry Timoshkov
ab92627e19
setupapi: SetupDiCreateDeviceInfoListEx returns INVALID_HANDLE_VALUE on error.
2015-07-29 21:44:04 +02:00
Dmitry Timoshkov
afa912b4f2
setupapi: SetupDiGetClassDevsEx returns INVALID_HANDLE_VALUE on error.
2015-07-29 21:44:04 +02:00
Dmitry Timoshkov
14650b939c
setupapi: Avoid shadowing devInst variable.
2015-07-29 21:44:04 +02:00
Jacek Caban
00f1b7534b
setupapi: Allow more than one Wine manifest in a DLL.
2015-06-11 21:05:41 +09:00
Nikolay Sivov
98b991fdcf
setupapi/tests: Skip a test if user is not allowed to open logging.
2015-05-25 21:52:40 +09:00
Aric Stewart
a3487ad316
setupapi: Restore close brace before using guid string as reg key.
2015-05-04 15:06:14 +09:00
Nikolay Sivov
21b9c5f023
setupapi/tests: Trace error codes when SetupOpenLog fails.
2015-05-01 21:12:35 +09:00
Thomas Faber
655e7f98db
setupapi/tests: Avoid side-effect in an assert.
2015-04-03 17:07:38 +09:00
Pierre Schweitzer
a1edebefdf
setupapi/tests: Add tests for the SetupOpenLog(), SetupLogErrorA(), SetupCloseLog() functions.
2015-03-27 00:12:20 +09:00
Pierre Schweitzer
a851aaa424
setupapi: Implement SetupLogErrorA(), SetupLogErrorW().
2015-03-27 00:12:17 +09:00
Pierre Schweitzer
799dfa6ada
setupapi: Implement SetupOpenLog(), SetupCloseLog().
2015-03-27 00:12:13 +09:00
Francois Gouget
16019848b8
setupapi: Remove unneeded NONAMELESSXXX directives.
2015-03-19 14:05:57 +09:00
Michael Stefaniuc
d0dfa75ba4
setupapi: RT_MANIFEST is already an int resource (PVS-Studio).
2015-02-23 15:25:58 +09:00
Pierre Schweitzer
fe41140664
setupapi: Fix string conversion in SetupGetInfInformationA().
2015-02-09 17:44:06 +09:00
André Hentschel
f272c12607
setupapi: Add stubs for CM_Get_Device_Interface_List_SizeA/W.
2014-10-08 17:44:50 +02:00
Austin English
3013b6c6da
setupapi: Add a stub for SetupDiSetClassInstallParamsW.
2014-07-14 19:26:16 +02:00
Nikolay Sivov
dcab5fe61b
setupapi: Make default context structure layout compatible.
2014-05-12 10:53:16 +02:00
Mark Harmstone
cfb81f2c60
setupapi: Add CM_Get_DevNode_Registry_Property wrapper around CM_Get_DevNode_Registry_Property_Ex.
2014-05-08 19:41:55 +02:00
Nikolay Sivov
8802f84c8c
setupapi: Implement a binary compatible string table.
2014-05-06 16:42:44 +02:00
Thomas Faber
b8c42020a9
setupapi: Fix buffer overflow in SetupGetFileCompressionInfoW.
2014-03-27 14:52:30 +01:00
André Hentschel
99c151a146
setupapi: Don't confuse ARM with ARM64.
2014-03-25 20:22:36 +01:00
André Hentschel
4bcc492fe3
setupapi: Add support for more architectures when building fake dlls.
2014-03-24 11:39:15 +01:00
Austin English
8d854a4830
setupapi: Make sure DeviceInterfaceData->cbSize is initialized in SetupDiEnumDeviceInterfaces.
2014-03-17 17:34:12 +01:00
Frédéric Delanoy
9c76ccfda1
setupapi: Use BOOL type where appropriate.
2014-02-13 17:52:14 +01:00
Vincent Povirk
bdadd760a3
setupapi: Stub SetupDiDestroyDriverInfoList.
2014-01-28 11:49:18 +01:00
André Hentschel
0d688c7d52
setupapi/tests: Remove dead code.
2014-01-27 17:01:54 +01:00
Frédéric Delanoy
4ec00cb2c2
setupapi/tests: Use BOOL type where appropriate.
2014-01-06 17:15:45 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Alexandre Julliard
5e7416e5c8
makefiles: Get rid of the MAKE_DLL_RULES variable.
2014-01-02 12:08:18 +01:00
Marcus Meissner
84a51f64ca
setupapi: Do not free stack pointers (Coverity).
2014-01-01 20:45:20 +01:00
Frédéric Delanoy
7102459c60
setupapi: Constify a character string.
2013-12-18 11:39:58 +01:00
Stefan Leichter
adbc691d20
setupapi/tests: Test signature $Windows NT$ in SetupDiGetINFClassA too.
2013-12-18 11:33:31 +01:00
Stefan Leichter
6aace3014d
setupapi: Support signature $Windows NT$ in SetupDiGetINFClassA/W too.
2013-12-18 11:33:26 +01:00
Alexandre Julliard
4f3d71cef3
makefiles: Get rid of the no longer used PO_SRCS variables.
2013-12-15 10:23:04 +01:00
Alexandre Julliard
5756ee09f3
makefiles: Add makedep pragmas for rc files that contain translations.
2013-11-05 20:38:19 +01:00
Nikolay Sivov
9d03aa328f
setupapi/tests: Enable compilation with -D__WINESRC__.
2013-10-29 20:07:07 +01:00
Frédéric Delanoy
cef6b07372
setupapi: Use BOOL type where appropriate.
2013-10-10 10:44:30 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Michael Stefaniuc
09524be583
setupapi: Avoid using CONST.
2013-09-23 11:54:55 +02:00
Francois Gouget
ce64b90c97
setupapi/tests: Remove a pointless use of assert().
2013-07-03 21:20:03 +02:00
Alexandre Julliard
361057501f
setupapi: Don't set the DLL flag when creating a fake dll that ends in .exe.
2013-05-20 12:48:09 +02:00
Alexandre Julliard
2aa3d2b0e1
setupapi: Don't bother to free libraries at process exit.
2013-05-17 12:24:41 +02:00
Stefan Leichter
a829c2b3ad
setupapi: Add a stub for SetupDiSetDeviceInstallParamsA.
2013-04-19 10:39:36 +02:00
André Hentschel
f8c77fbd62
setupapi: Add stub keyword to some FIXMEs.
2013-04-15 15:14:30 +02:00
André Hentschel
f79fa294c9
setupapi: Add stubs for CM_Reenumerate_DevNode and CM_Reenumerate_DevNode_Ex.
2013-04-15 15:14:25 +02:00
André Hentschel
32fb489f1c
setupapi: Add CM_Get_Device_ID_ExA stub.
2013-04-04 13:28:45 +02:00
Sylvain Petreolle
8a04421244
setupapi: Add stub for SetupAddToSourceListW.
2012-12-11 20:45:45 +01:00
Alexandre Julliard
960f0595b2
setupapi: Load IRegistrar from atl100.dll.
2012-11-28 21:25:00 +01:00
Alexandre Julliard
4b7085fdd4
setupapi: Fix total size when appending multi-string values.
2012-11-26 13:27:50 +01:00
André Hentschel
4d796458d0
setupapi: Avoid memory leaks (coverity).
2012-10-29 10:40:14 +01:00
Alexandre Julliard
8418115edf
setupapi: Fix buffer overflow in load_fake_dll.
...
Found by Daniel Lehman.
2012-10-12 11:21:14 +02:00
Erich Hoover
f036f46217
setupapi: Close the target file before issuing SPFILENOTIFY_FILEEXTRACTED.
2012-10-09 18:32:27 +02:00
Erich Hoover
2ee8cd5a6c
setupapi: Report the correct target file with SPFILENOTIFY_FILEEXTRACTED.
2012-10-09 18:32:26 +02:00
Michael Stefaniuc
4d28aedaf8
setupapi: Avoid TRUE:FALSE conditional expressions.
2012-08-14 11:58:44 +02:00
Michael Stefaniuc
f93390f719
setupapi: Simplify the "pointer to start of array" idiom.
2012-07-27 17:05:30 +02:00