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
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
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
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
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
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
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
Stefan Leichter
adbc691d20
setupapi/tests: Test signature $Windows NT$ in SetupDiGetINFClassA too.
2013-12-18 11:33:31 +01:00
Nikolay Sivov
9d03aa328f
setupapi/tests: Enable compilation with -D__WINESRC__.
2013-10-29 20:07:07 +01:00
Michael Stefaniuc
09524be583
setupapi: Avoid using CONST.
2013-09-23 11:54:55 +02:00
Francois Gouget
3de330db54
tests: Remove unneeded assert.h includes.
2011-09-27 10:59:56 +02:00
Christian Inci
309914f315
setupapi: Fix return behaviour when the device key doesn't exist.
2011-07-09 11:48:06 +02:00
Juan Lang
4fe8cc6164
setupapi: Make sure machine name is non-empty before failing.
2011-06-10 10:44:12 +02:00
Austin English
270298191d
setupapi/tests: Remove win9x hacks.
2011-03-01 13:21:58 +01:00
André Hentschel
c7cb92f1f2
setupapi/tests: Don't test function directly when reporting GetLastError().
2010-12-30 14:59:57 +01:00
André Hentschel
9c02760647
setupapi/tests: Fix wow64 failures.
2010-10-13 11:31:26 +02:00
Stefan Leichter
05a1416c93
setupapi: Implement SetupDiGetINFClassA on top of SetupDiGetINFClassW.
2010-10-05 13:04:26 +02:00
Stefan Leichter
637fd3735a
setupapi: Added more tests for SetupDiGetINFClassA.
2010-09-30 11:15:49 +02:00
Stefan Leichter
7e8ab4c8b4
setupapi: Added tests for SetupDiGetINFClassA.
2010-09-14 13:31:46 -05:00
Francois Gouget
292a10424d
setupapi/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-23 12:21:24 +01:00
Alasdair Sinclair
3fc0414896
setupapi/tests: Fix missing void in empty parameter list.
2009-01-30 11:43:36 +01:00
Ge van Geldorp
115805f12e
setupapi/tests: Make tests pass on Vista and W2K8.
2009-01-26 16:07:44 +01:00
Alexandre Julliard
e1a4d068d1
setupapi/tests: Pass the correct size to SetupDiGetDeviceInterfaceDetailA.
2009-01-10 14:49:46 +01:00
Alexandre Julliard
a2cf243776
include: Fix packing of the setupapi structures.
2009-01-09 14:06:14 +01:00
Francois Gouget
8c8c0f7146
setupapi/tests: Make devinst_RegDeleteTreeW() static.
2008-12-15 12:25:25 +01:00
Michael Stefaniuc
02d1154bab
setupapi: Remove some superfluous casts.
2008-12-08 12:04:25 +01:00
Vincent Povirk
022a8439e0
setupapi/tests: Fix string format warnings.
2008-12-05 12:30:18 +01:00
Reece Dunn
960ae6fedb
setupapi/tests: Use FIELD_OFFSET instead of offsetof.
2008-07-22 13:09:20 +02:00
Paul Vriens
4fe5683ce4
setupapi/tests: Fix a test on NT4.
2008-06-23 19:46:29 +02:00
Paul Vriens
0b773df85f
setupapi/tests: Remove a registry key on failure for NT4.
2008-06-23 19:46:29 +02:00
Paul Vriens
f544b039cf
setupapi/tests: Prevent crash on NT4.
2008-06-23 19:46:29 +02:00
Paul Vriens
7e7574d2a8
setupapi/tests: Remove last win9x references.
2008-06-23 19:46:29 +02:00
Paul Vriens
46e0219f7a
setupapi/tests: Remove win9x specifics from testInstallClass.
2008-06-23 12:51:35 +02:00
Paul Vriens
d2ee399c66
setupapi/tests: Remove win9x specifics from testCreateDeviceInfo.
2008-06-23 12:51:29 +02:00
Paul Vriens
6546cd5db2
setupapi/tests: Remove some function pointer checks from testRegisterDeviceInfo.
2008-06-21 11:14:52 +02:00
Paul Vriens
44499b5b0b
setupapi/tests: Remove win9x specifics from testDevRegKey.
2008-06-21 11:14:43 +02:00
Paul Vriens
50d6b08353
setupapi/tests: Remove win9x specifics from testDeviceRegistryPropertyW.
2008-06-21 11:14:35 +02:00
Paul Vriens
0fbe23c13d
setupapi/tests: Skip all tests on Win9x and WinMe.
2008-06-21 11:14:27 +02:00
Paul Vriens
5f2de1f61f
setupapi/tests: Fix some typos.
2008-06-19 11:55:08 +02:00
Paul Vriens
5cd4cbc49c
setupapi/tests: Fix some test failures on W2K.
2008-06-11 20:02:06 +02:00
Paul Vriens
e63f4fcfbc
setupapi/tests: Fix two more tests on Windows 2000.
2008-06-09 16:55:50 +02:00
Paul Vriens
02b05393c8
setupapi/tests: Fix a test on Windows 2000.
2008-06-09 16:55:42 +02:00
Paul Vriens
057c92db54
setupapi/tests: Remove leftovers from old tests.
2008-05-28 19:34:38 +02:00
Paul Vriens
b58cab405a
setupapi/tests: Test to show cleanup should not be needed.
2008-05-27 19:35:08 +02:00
Paul Vriens
3758205546
setupapi/tests: Add another test.
2008-05-27 19:35:04 +02:00
Paul Vriens
8253824669
setupapi/tests: Cleanup after testCreateDeviceInterface.
2008-05-27 12:42:55 +02:00
Paul Vriens
156dad05c0
setupapi/tests: Test registry after testDeviceRegistryProperty.
2008-05-26 19:49:42 +02:00
Paul Vriens
3573b90bdc
setupapi/tests: Cleanup after testGetDeviceInterfaceDetail.
2008-05-26 19:49:35 +02:00