Commit Graph

840 Commits

Author SHA1 Message Date
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