Commit Graph

808 Commits

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