Commit Graph

1049 Commits

Author SHA1 Message Date
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
André Hentschel 7b32809890 setupapi: Add a stub for SetupDiGetDeviceInstallParamsW. 2012-07-11 10:17:03 -05:00
Hans Leidekker da922769c5 setupapi: SetupInstallServicesFromInfSection doesn't fail if there are no AddService or DelService directives in the section. 2012-07-09 15:06:26 -04:00
Stefan Leichter b3b78b337e setupapi: Add stub for SetupAddToSourceListA. 2012-06-01 13:25:42 +02:00
Alexandre Julliard 9a6a1126b9 setupapi: Add support for a WinePreInstall section for registry keys that need to be created before anything else. 2012-05-30 20:25:37 +02:00
Michael Stefaniuc 8f6801fdc0 setupapi: Print the debug string and not the pointer to it. 2012-03-26 18:15:29 +02:00
Austin English 056de6fbcf setupapi: Add a stub for SetupAddToDiskSpaceListA/W. 2012-01-26 19:08:01 +01:00
Frédéric Delanoy edd9066d5b setupapi: Correctly handle errors in fake_dlls_callback (Coverity). 2012-01-19 21:08:54 +01:00
André Hentschel 88baa9e700 setupapi: Add stub for CM_Get_Class_Registry_PropertyW. 2012-01-13 17:34:30 +01:00
André Hentschel 0309066f15 setupapi: Add stub for CM_Get_Class_Registry_PropertyA. 2012-01-13 17:34:30 +01:00
André Hentschel 9ea3c46e71 setuapi: Add stub for CM_Get_DevNode_Registry_Property_ExA. 2012-01-12 12:25:58 +01:00
André Hentschel 33d60e9060 setuapi: Add stub for CM_Set_Class_Registry_PropertyW. 2012-01-12 12:25:55 +01:00
André Hentschel ed4b8cb617 setuapi: Add stub for CM_Set_Class_Registry_PropertyA. 2012-01-12 12:25:52 +01:00
André Hentschel c83b67bc4f setupapi: Add stub for CM_Get_DevNode_Registry_Property_ExW. 2012-01-10 17:55:22 +01:00
Stefan Leichter 8fc7a01a2c setupapi: Add stub for SetupDiDrawMiniIcon. 2011-12-30 17:12:47 +01:00
Stefan Leichter 649d0f85ba setupapi: Add stub for SetupDiGetClassBitmapIndex. 2011-12-30 17:12:47 +01:00
Francois Gouget 9097fa132e setupapi: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:47 +01:00
Alexandre Julliard f9c8afd320 setupapi: Specify the correct binary file name when registering an executable. 2011-12-14 19:35:10 +01:00
Alexandre Julliard fde9e7ce6e setupapi: Convert dialogs to po files. 2011-11-30 19:44:15 +01:00
Francois Gouget 750463f21c setupapi: Fix a string resource so its format placeholders can be reordered. 2011-11-21 13:05:33 +01:00
Alexandre Julliard 721e73543e setupapi: Add a trace for the install mode value. 2011-11-08 09:51:31 +01:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Alasdair Sinclair 3928f57658 setupapi: Fix magic comparison on x64. 2011-08-29 12:08:20 +02:00
Alexandre Julliard 8306dd55f1 setupapi: Use the specified language for SxS manifest file names. 2011-08-29 12:08:19 +02:00
Alexandre Julliard a192b707f2 setupapi: Delay freeing registered dlls until they have all been processed. 2011-08-26 13:12:26 +02:00
Stefan Leichter cb9fa1eb7a setupapi: Add pSetupFree|Malloc|Realloc to spec file and forward them. 2011-08-26 11:31:59 +02:00
Alexandre Julliard e8a7246e8b setupapi: Add support for creating WinSxS manifest files from fake dll resources. 2011-08-25 15:34:10 +02:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Alexandre Julliard 5ec4e8f192 setupapi: Run registration scripts of fake dlls as they are copied. 2011-08-02 20:47:34 +02:00
Alexandre Julliard 39a4c2532b setupapi: Allocate a virtual memory buffer to read fake dll files. 2011-08-02 12:58:26 +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
André Hentschel c6e38bfee6 setupapi: Add stubs for CM_Get_Device_ID_List_SizeA/W. 2011-05-27 12:26:28 +02:00
Marcus Meissner 82376660d1 setupapi: Mark internal symbols with hidden visibility. 2011-05-24 11:55:14 +02:00
Juan Lang 53b2875309 setupapi: Always initialize output parameter to avoid crash in buggy applications. 2011-05-16 16:35:28 +02:00
Austin English a326c9ee67 setupapi: Avoid shadowing a parameter. 2011-03-09 15:54:20 +01:00
Austin English 270298191d setupapi/tests: Remove win9x hacks. 2011-03-01 13:21:58 +01:00
Peter Urbanec de83ea61bb setupapi: Fix comparison issue on 64-bit systems. 2011-02-08 14:45:55 -06:00
Alexandre Julliard fcf8e164c3 setupapi: Fix access rights for cabinet creation. 2011-02-02 18:11:36 +01:00
Andrew Nguyen c66d27c555 setupapi: Fix some memory leaks in SetupDiGetINFClassA.
Spotted with Valgrind.
2011-01-17 15:58:34 +01:00
Andrew Nguyen a91fd8fbb2 setupapi: Allocate the proper number of bytes for the drive spec.
Spotted with Valgrind.
2011-01-17 15:58:29 +01:00
Alexandre Julliard fac153be24 setupapi: Convert string table resources to po files. 2011-01-12 17:37:02 +01:00
Rex Tsai 898de76040 setupapi: Update Traditional Chinese translation. 2011-01-07 15:01:07 +01:00
Stefan Leichter 8fffb22f1e setupapi: Add stub for SetupDiSetSelectedDevice. 2011-01-07 10:22:58 +01:00
Hwang YunSong 8570a94e31 setupapi: Update Korean resource. 2011-01-04 11:14:38 +01:00
André Hentschel c7cb92f1f2 setupapi/tests: Don't test function directly when reporting GetLastError(). 2010-12-30 14:59:57 +01:00
Greg Geldorp f6990085cc setupapi/tests: Uninstall .pnf if uninstall of .inf failed. 2010-12-29 12:03:48 +01:00
André Hentschel 57aa778e2d setupapi/tests: Don't test function directly when reporting GetLastError(). 2010-12-27 15:39:37 +01:00
André Hentschel 424fa9a7f3 setupapi/tests: Better clean up if SetupUninstallOEMInf fails. 2010-12-27 15:39:37 +01:00
Paul Vriens 45e6101c0c setupapi: Add the Serbian (Latin and Cyrillic) translation.
Translation by Đorđe Vasiljević.
2010-11-02 11:16:10 +01:00
André Hentschel 9c02760647 setupapi/tests: Fix wow64 failures. 2010-10-13 11:31:26 +02:00
Yaron Shahrabani b1dbd84547 setupapi: Added Hebrew translation. 2010-10-13 11:23:39 +02:00
Stefan Leichter 05a1416c93 setupapi: Implement SetupDiGetINFClassA on top of SetupDiGetINFClassW. 2010-10-05 13:04:26 +02:00
Stefan Leichter 803b81c1b7 setupapi: Add partial implementation of SetupDiGetINFClassW. 2010-10-05 13:03:44 +02:00
Alexandre Julliard 5c4c6544ae setupapi/tests: Make some variables static. 2010-10-01 13:37:28 +02:00
Stefan Leichter 637fd3735a setupapi: Added more tests for SetupDiGetINFClassA. 2010-09-30 11:15:49 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Stefan Leichter 7e8ab4c8b4 setupapi: Added tests for SetupDiGetINFClassA. 2010-09-14 13:31:46 -05:00
Paul Vriens 75c5484174 dlls: Fix some specfiles with respect to 'str' and 'wstr' usage. 2010-09-09 14:57:44 +02:00
Andrew Nguyen 3eb4985231 setupapi: Implement SetupDuplicateDiskSpaceListA/W. 2010-09-07 16:00:42 +02:00
Andrew Nguyen beb3018bd5 setupapi: Improve parameter validation in SetupQuerySpaceRequiredOnDriveA/W. 2010-09-07 16:00:30 +02:00
Andrew Nguyen 3902efc9cb setupapi: Implement SetupQuerySpaceRequiredOnDriveW. 2010-09-07 16:00:20 +02:00
Andrew Nguyen 188ed272dc setupapi: Improve parameter validation for SetupCreateDiskSpaceListA/W. 2010-09-07 15:58:20 +02:00
Julius Schwartzenberg 53aef28e36 setupapi: Add stubs SetupQueryDrivesInDiskSpaceList{A,W}. 2010-08-23 11:55:09 +02:00
Anders Jonsson daea0852d8 setupapi: Update Swedish translation. 2010-08-16 12:59:10 +02:00
Paul Vriens aaf4ce8ac6 setupapi: Add a stub for SetupDiLoadClassIcon. 2010-07-29 10:22:25 +02:00
Michael Stefaniuc 93d04bd400 setupapi: Remove the ignored common resource attributes. 2010-07-22 11:41:36 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Austin English f7f38c5def setupapi/tests: Remove unused variable. 2010-07-21 13:23:59 +02:00
Igor Paliychuk f1aa6613a6 setupapi: Add Ukrainian translation. 2010-07-15 11:29:11 +02:00
Gustavo Henrique Milaré a65ed886bd setupapi: Update Portuguese (Brazilian) translation. 2010-07-02 12:18:24 +02:00
Kovács András d05b265fc3 setupapi: Update Hungarian translation. 2010-06-29 10:53:31 +02:00
Austin English dab1bbef29 setupapi: Add stubs for SetupDiBuildDriverInfoList and SetupDiDeleteDeviceInfo:. 2010-06-28 11:42:59 +02:00
Hwang YunSong d7124ae9ee setupapi: Update Korean resource. 2010-06-21 11:48:10 +02:00
Vitaly Lipatov b974852ce1 Update Russian translations. 2010-06-18 16:22:07 +02:00
Andrew Nguyen 6456e14055 setupapi: Add a few traces for SetupDecompressOrCopyFileW. 2010-06-16 20:13:15 +02:00
Andrew Nguyen a44506b563 setupapi: Only extract the first MSZIP cabinet file in SetupDecompressOrExtractFile. 2010-06-16 20:13:12 +02:00
Andrew Nguyen 53a563bb38 setupapi: Exhaustively test the invalid parameter handling of SetupDecompressOrCopyFileA. 2010-06-16 20:13:04 +02:00
Andrew Nguyen 813024d492 setupapi/tests: Add simple enumeration tests for SetupIterateCabinetW. 2010-06-16 20:13:02 +02:00
Andrew Nguyen d0e93cd3ab setupapi/tests: Add simple enumeration tests for SetupIterateCabinetA. 2010-06-16 20:13:00 +02:00
Andrew Nguyen abf63710da setupapi/tests: Add tests to show that SetupIterateCabinet handles callback exceptions on newer Windows. 2010-06-16 20:12:58 +02:00
Andrew Nguyen debe525f3f setupapi: Validate the cabinet filename parameter in SetupIterateCabinetW. 2010-06-16 20:12:54 +02:00
Andrew Nguyen bc21be89ab setupapi: Validate the cabinet filename parameter in SetupIterateCabinetA. 2010-06-16 20:12:09 +02:00
Andrew Nguyen 7057637ff0 setupapi: Avoid useless initializations in SetupIterateCabinetA/W. 2010-06-16 20:11:51 +02:00
Łukasz Wojniłowicz 2d45002857 setupapi: Update the Polish translation. 2010-06-07 12:54:38 +02:00
Paul Vriens f7db14b2fc setupapi: Update the Danish translation.
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-01 17:50:19 +02:00
Jose Rostagno 9ac6eaaa66 setupapi: Update Spanish translation. 2010-06-01 11:04:15 +02:00
Hans Leidekker bb36e75a40 setupapi: Add stub implementations of SetupGetNonInteractiveMode and SetupSetNonInteractiveMode. 2010-05-31 12:46:08 +02:00
Luca Bennati 247ceccda0 setupapi: Update Italian translation. 2010-05-31 12:14:28 +02:00
Sven Baars 4ad98744ce setupapi: Fix Dutch translation. 2010-05-18 18:42:10 +02:00
Stefan Leichter 05a308a80b setupapi: Implement SetupGetInfFileListA. 2010-04-06 11:48:21 +02:00
Alexandre Julliard 0566db7b89 setupapi: Create proper AMD64 fake dlls on 64-bit. 2010-03-27 11:50:23 +01:00
Alexandre Julliard 6836990e0b setupapi: Only cleanup fake dlls once the whole section has been executed. 2010-03-27 11:50:01 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Damjan Jovanovic bf18e7e71f setupapi: Stub out SetupDiRemoveDevice. 2010-03-15 15:08:43 +01:00
Hans Leidekker 1b8ba25371 setupapi: Destination directory defaults to system directory. 2010-03-03 15:23:04 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard f6b3dba7a0 setupapi: Add support for creating registry symlinks from a .inf file. 2010-02-16 12:26:56 +01:00
Vitaly Perov c7d4b0c69f setupapi: Add stub for SetupLogFile{A,W}. 2010-02-08 17:14:43 +01:00
Marcus Meissner 1b27af164c setupapi: Avoid NULL dereference in error path (Coverity). 2010-01-08 10:13:46 +01:00
James Hawkins b116175d4a setupapi: Refactor freeing the INF file into free_inf_file. Use this new function to free any remnants of the parsing on error. 2010-01-07 17:59:58 +01:00
Andrew Nguyen 3eea5a8ae9 setupapi: Implement SetupDiOpenDeviceInfoA/W as stubs. 2009-12-22 13:48:26 +01:00
Juan Lang eba0657bf7 setupapi: Fix a comment typo. 2009-12-18 11:40:17 +01:00
Vladimir Pankratov 6f2ec37b60 setupapi: Add stub for CM_Get_Device_ID_ExW. 2009-12-16 12:42:40 +01:00
Stefan Leichter 9db754fe10 setupapi: Implement SetupGetInfFileListW. 2009-12-14 16:14:37 +01:00
Hans Leidekker 3bf156a8c5 setupapi/tests: Fix a memory leak.
Found by Valgrind.
2009-12-08 12:37:14 +01:00
Stefan Leichter 6f8fb2f4e7 setupapi32/tests: More tests for SetupGetInfFileListW. 2009-12-08 12:37:01 +01:00
Huw Davies 63231be804 setupapi: Fix memory leak.
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Stefan Leichter 941d69e544 setupapi/tests: Use separate directory for SetupGetInfFileListW. 2009-12-03 10:15:06 +01:00
Stefan Leichter 7f2943e712 setupapi/tests: Check the buffer content returned from SetupGetInfFileListW test. 2009-11-16 11:54:45 +01:00
Paul Vriens f4a5294c89 setupapi/tests: Fix some test failures on Win9x/WinMe. 2009-11-12 13:08:25 +01:00
Stefan Leichter 381221de66 setupapi: Add stub and some tests for SetupGetInfFileListW. 2009-11-11 10:53:39 +01:00
Alexandre Julliard 4ae262df8e setupapi: Create fake dlls before performing dll registration. 2009-10-27 11:26:20 +01:00
Vladimir Pankratov 49b24053ff setupapi: Update Russian translation. 2009-10-26 11:20:22 +01:00
Andrey Turkin b78d457efb dlls: Update Russian translations. 2009-10-20 13:46:45 +02:00
Alexandre Julliard 777a30b997 setupapi: Add support for specifying a fake dll source as '-' to delete it. 2009-10-15 14:05:53 +02:00
Alexandre Julliard 7acd74ee07 setupapi: Add support for using a wildcard in fake dll creation.
This creates fake dlls for all the files we can't find and that
haven't been created already.
2009-10-15 13:58:36 +02:00
Alexandre Julliard c94e69c7ff setupapi: Maintain a list of fake dlls that have been created already. 2009-10-15 13:58:35 +02:00
Alexandre Julliard d59a4d1894 setupapi: Abstract the creation of the fake dll destination to a separate function. 2009-10-15 13:58:35 +02:00
Alexandre Julliard 76a8f0032a setupapi: Check that the source is a valid fake dll and skip wrong 32/64 type dlls. 2009-10-15 13:58:35 +02:00
Alexandre Julliard 11d66a8788 setupapi: Use a global buffer to read fake dll files and free it only once we are done with all the fake dlls. 2009-10-15 13:58:19 +02:00
Alexandre Julliard f1dc1d35a0 setupapi: Get rid of the code to build fake dlls from existing modules. 2009-10-15 12:06:28 +02:00
Paul Vriens 61abc0a51d setupapi/tests: Fix some test failures on Win98. 2009-10-09 11:50:29 +02:00
Alexandre Julliard f901f63bc6 setupapi/tests: Fix the SetupGetIntField test to load the correct key. 2009-10-08 21:50:09 +02:00
Paul Vriens bf0ffb2d3e setupapi/tests: Cleanup after SetupCopyOEMInf() tests. 2009-10-07 15:57:29 +02:00
Paul Vriens da07b0d585 setupapi/tests: Don't crash on WinMe. 2009-10-02 11:51:48 +02:00
Alexandre Julliard 66f6b78659 setupapi: Make setupx.dll into a stand-alone 16-bit module. 2009-10-01 19:45:07 +02:00
Alexandre Julliard b70bbe3d29 setupapi: Duplicate the string substitution code to implement GenFormStrWithoutPlaceHolders16. 2009-10-01 19:44:43 +02:00
Ge van Geldorp 5448bf3e36 setupapi/tests: Add acceptable error code for Win7. 2009-09-28 14:30:32 +02:00
Austin English c90333d5b3 Cancel in Italian is Annulla, not Anulla. 2009-09-18 09:59:36 -05:00
Michael Stefaniuc 8b3f3ef821 setupapi: Use FAILED instead of !SUCCEEDED. 2009-09-10 11:08:35 +02:00
Alexandre Julliard 838823b008 setupapi: Fix a compiler warning. 2009-09-02 11:52:57 +02:00
Vladimir Pankratov e94d30ed6e setupapi: Add stub for SetupDiGetClassImageIndex. 2009-09-01 17:37:04 +02:00
Alexandre Julliard aaf908ab32 setupapi: Fix a structure size check for 64-bit. 2009-08-27 20:23:40 +02:00
Akihiro Sagawa d3fc9a59cc csetupapi: Update Japanese translation. 2009-08-24 15:17:32 +02:00
Alexandre Julliard 38fe0827a1 setupapi: Copy the pre-compiled fake dll files instead of generating them if possible. 2009-08-18 11:38:22 +02:00
Francois Gouget b4aede60b0 setupapi: Remove a space before an ellipsis. 2009-08-11 12:35:28 +02:00
Hans Leidekker ae45fa6864 setupapi: Add stub implementations of CM_Get_Device_ID_ListW and CM_Enumerate_Classes. 2009-08-04 13:05:05 +02:00
Alexander Nicolaysen Sørnes 6ad3ffa577 setupapi: Update Norwegian Bokmål translation. 2009-08-04 12:50:17 +02:00
Vladimir Pankratov c5a53fabe1 setupapi: Convert the Russian resources to UTF-8. 2009-08-03 14:57:02 +02:00
Aurimas Fišeras d05f1d3e0a Various small Lithuanian translation fixes. 2009-07-20 12:20:46 +02:00
Frédéric Delanoy c71454db68 setupapi: Fix French translation & UI display. 2009-07-08 20:12:40 +02:00
Ricardo Filipe 2263c97bf4 setupapi: Update Portuguese translation and convert to UTF8. 2009-07-07 13:31:05 +02:00
Michael Stefaniuc e2f5875170 setupapi: Build language resource files separately.
Do not include them from an other rc file.
2009-07-02 13:18:07 +02:00
Francois Gouget 9880f05094 setupapi: Ellipses should be preceded by a space in Slovenian. 2009-06-29 12:29:17 +02:00
Matej Spindler 30f3a7571a setupapi: Update Slovenian translation. 2009-06-26 11:59:43 +02:00
Aurimas Fišeras f326c26874 setupapi: Add Lithuanian translation. 2009-06-22 11:28:28 +02:00
Detlef Riekenberg ed1b527dd9 setupapi: Move IsUserAdmin to shell32.IsUserAnAdmin. 2009-06-15 13:42:31 +02:00
Jonathan Ernst c37255dc92 setupapi: Updated French translation. 2009-06-09 17:01:13 +02:00
Paul Vriens de945384a4 setupapi/tests: pSetupGetField returns A or W string depending on OS. 2009-06-08 16:22:46 +02:00
André Hentschel 6f1f19a816 setupapi: Add German translation. 2009-06-08 12:42:20 +02:00
Paul Vriens 77fa32a832 setupapi: Fix passing a NULL parameter (Coverity). 2009-05-18 14:31:06 +02:00
Paul Vriens 644f57679b setupapi/tests: Fix remaining failures on Win9x. 2009-05-15 14:19:05 +02:00
Francois Gouget bce5f731a9 setupapi: VcpFlush() and vsmString{Compare,Find}() are unused so remove them. 2009-05-15 10:31:26 +02:00