Commit Graph

855 Commits

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