Commit Graph

910 Commits

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