Commit Graph

753 Commits

Author SHA1 Message Date
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
Francois Gouget b72954552c setupapi: Remove some dead code: VCP_VirtnodeDelete() and VCP_RenameFiles(). 2009-05-15 10:31:19 +02:00
Francois Gouget 9cfc021b1a setupapi: VcpEnumFiles() is implemented so export it. 2009-05-13 12:45:36 +02:00
Hans Leidekker 9df5fc58b1 setupapi: Add stub implementations of CM_Get_Device_Interface_List_Size_ExA/W. 2009-05-13 12:05:10 +02:00
Hans Leidekker d5009479bb setupapi: Add stub implementations of SetupUninstallOEMInfA/W. 2009-05-13 12:04:54 +02:00
Ricardo Filipe 6ba3cc1c2e setupapi: Add stubs for CM_Locate_DevNode_ExA/W. 2009-05-11 15:54:39 +02:00
Paul Vriens 97505798ec setupapi/tests: Fix a test failure on Win98. 2009-04-24 15:02:50 +02:00
Frans Kool f207c28042 setupapi: Fixed Dutch translations. 2009-04-16 11:28:24 -05:00
Michael Stefaniuc 4b53e2b6cc setupapi: Update the Romanian translation. 2009-03-25 11:09:13 +01:00
Ricardo Filipe 1999008b89 setupapi: Remove invalid check for < MAX_PATH and don't copy to NULL PathBuffer (Coverity 888). 2009-03-24 10:27:45 +01:00
Alexandre Julliard c1b411e321 setupapi: Check for NULL module to avoid an exception in RtlImageNtHeader.
This allows creating a wineprefix on 64-bit, where exception handling
doesn't quite work yet.
2009-03-12 13:09:55 +01:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Ricardo Filipe 24a10fc9ac setupapi: Implement SetupPromptForDiskA by wrapping around W version. 2009-03-04 15:44:44 +01:00
Hwang YunSong(황윤성) ff878b0c37 setupapi: Updated Korean resource. 2009-03-02 12:30:24 +01:00
Ricardo Filipe 5a0079f6ca setupapi: Implement Ok button action in SetupPromptForDiskW dialog. 2009-02-23 14:31:57 +01:00
Ricardo Filipe d80e24b8ba setupapi: Enable Browse action on SetupPromptForDisk dialog. 2009-02-23 14:31:38 +01:00
Ricardo Filipe c4c05cf013 setupapi: Initiate resources of SetupPromptForDisk dialog. 2009-02-23 14:29:48 +01:00
Ricardo Filipe ecc8e526bf setupapi: Implement SetupPromptForDiskW with only Cancel button active. 2009-02-23 14:29:03 +01:00
Ricardo Filipe 7ab7a74171 setupapi: Make hinstance global for all dialogs. 2009-02-23 14:28:49 +01:00
Francois Gouget 292a10424d setupapi/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-23 12:21:24 +01:00
Juan Lang 37feb6fd69 setupapi: Add stub entries for CM_Query_And_Remove_SubTreeA/W and CM_Query_And_Remove_SubTree_ExA/W. 2009-02-13 12:59:19 +01:00
Alexandre Julliard 72fdb74326 setupapi: Don't use 'interface' as variable name, since it can be defined to a keyword. 2009-02-09 13:04:55 +01:00
Alexandre Julliard 486e66ed6e setupapi/tests: Don't compare the drive letter of expanded file paths. 2009-02-03 22:23:35 +01:00
Alasdair Sinclair 3fc0414896 setupapi/tests: Fix missing void in empty parameter list. 2009-01-30 11:43:36 +01:00
Aric Stewart 7392162ed1 setupapi: Implement pSetupInstallCatalog. 2009-01-29 12:18:17 +01:00
Michael Stefaniuc ffae0123ac setupapi: Remove superfluous pointer casts. 2009-01-28 12:30:57 +01:00
Ricardo Filipe 4efd105fb3 setupapi: Add stub for SetupDiGetClassImageList. 2009-01-27 11:08:37 +01:00
Ge van Geldorp 115805f12e setupapi/tests: Make tests pass on Vista and W2K8. 2009-01-26 16:07:44 +01:00
Andrew Talbot f34e733c2c setupapi: Declare a function static. 2009-01-26 15:48:51 +01:00
Hans Leidekker bd9c265cc2 setupapi: Implement SetupInstallFileExA/W. 2009-01-26 14:31:01 +01:00
Mario Kacmar ce9323cf89 setupapi: Added Slovak translation. 2009-01-20 12:33:22 +01:00
Paul Vriens b8cde623dd setupapi/tests: Fix some test failures on win9x. 2009-01-14 14:52:51 +01:00
Michael Stefaniuc f516cab017 include: Change to LONG/ULONG in fdi.h for Win64 compatibility. 2009-01-14 12:21:20 +01:00
Michael Stefaniuc ea885c1393 setupapi: Add the Romanian translation. 2009-01-14 12:20:51 +01:00
Hans Leidekker d92e738f4a setupapi: Fix resolving target path when given a section. Default to the system directory. 2009-01-13 17:33:08 +01:00
Andrey Turkin 000136ac30 setupapi: Add support for DIRID_PRINTPROCESSOR. 2009-01-13 16:21:22 +01:00
Hans Leidekker b0f2bebc4c setupapi: Enable reuse of create_inf_file in tests. 2009-01-13 15:37:06 +01:00
Rico Schüller 619a74ec5f setupapi: Fix if condition in SetupEnumInfSectionsA/W. 2009-01-12 13:18:28 +01:00
Alexandre Julliard e1a4d068d1 setupapi/tests: Pass the correct size to SetupDiGetDeviceInterfaceDetailA. 2009-01-10 14:49:46 +01:00
Alexandre Julliard a2cf243776 include: Fix packing of the setupapi structures. 2009-01-09 14:06:14 +01:00
Francois Gouget 916d6a4450 setupapi: Fix the StringTableLookUpStringEx() prototype. 2009-01-09 14:06:13 +01:00
Alexandre Julliard 41533fa516 setupapi: Fix pointer cast warnings on 64-bit. 2009-01-08 17:27:27 +01:00
Hans Leidekker 601870a435 setupapi: Add some tests for StringTableLookUpStringEx. Make them pass. 2009-01-07 14:41:38 +01:00
Paul Vriens c89617e067 setupapi/tests: Skip some tests if we don't have enough rights. 2009-01-07 13:23:56 +01:00
Hans Leidekker b4dcc6b42a setupapi: Add tests for StringTableAddStringEx and StringTableLookupStringEx. 2009-01-06 14:37:44 +01:00
Hans Leidekker f820392fbf setupapi: Have each test create and destroy its own string table. 2009-01-06 14:37:33 +01:00
Hans Leidekker 18b5366c35 setupapi: Implement StringTableLookUpStringEx. 2009-01-06 14:37:06 +01:00
Alexandre Julliard 2e20bd4960 setupapi/tests: Added some tests for SetupEnumInfSectionsA/W. 2009-01-05 20:27:06 +01:00
Alexandre Julliard b45cfc123e setupapi: Implemented SetupEnumInfSectionsA/W. 2009-01-05 20:26:50 +01:00
Hans Leidekker b511365423 setupapi: Add stubs for pSetupInstallCatalog and pSetupVerifyCatalogFile. 2009-01-05 16:37:47 +01:00
Alexandre Julliard bc778b99f9 setupapi: Add CDECL to the cabinet callback functions. 2009-01-05 12:39:13 +01:00
Andrew Nguyen d46ffb4b6f cfgmgr32: Forward and stub CM_Create_DevNodeA/W. 2008-12-30 11:37:34 +01:00
Andrew Nguyen 33197eaa8d setupapi: Stub the SetupDiDestroyClassImageList function. 2008-12-30 11:37:12 +01:00
Andrew Nguyen 3dcac86e53 cfgmgr32: Forward and stub CM_Connect_MachineA. 2008-12-30 11:37:03 +01:00
Ricardo Filipe ae8a07d934 setupapi: Add stubs for CM_Locate_DevNodeA/W. 2008-12-26 13:42:49 +01:00
Paul Vriens 6c72061507 setupapi/tests: Fix a test failure on Vista (and skip some tests). 2008-12-17 15:30:23 +01:00
Christian Costa e6abe0e83e setupx: Add stub for DiInstallClass. 2008-12-15 12:30:12 +01:00
Francois Gouget 8c8c0f7146 setupapi/tests: Make devinst_RegDeleteTreeW() static. 2008-12-15 12:25:25 +01:00
Alexandre Julliard a537aadd14 setupapi: Don't include msvcrt headers. 2008-12-12 10:19:55 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
ByeongSik Jeon 1b0297a7f9 *Zh.rc: Update the Chinese resource font name to "MS Shell Dlg". 2008-12-11 12:20:48 +01:00
Paul Vriens e755a96fc8 setupapi/tests: Fix a test failure on Vista/W2K8. 2008-12-11 11:50:22 +01:00
Hans Leidekker d8dad22c97 setupapi: Fix typo in StringTableGetExtraData. 2008-12-08 16:05:38 +01:00
Hans Leidekker c2f99f3014 setupapi: Implement StringTableAddStringEx. 2008-12-08 16:05:38 +01:00
Hans Leidekker 1058561e3b setupapi: Forward pSetupIsUserAdmin to IsUserAdmin. 2008-12-08 16:05:38 +01:00
Michael Stefaniuc 02d1154bab setupapi: Remove some superfluous casts. 2008-12-08 12:04:25 +01:00
Rok Mandeljc 341d55b400 setupapi: Added Slovenian translation. 2008-12-08 12:02:13 +01:00
Ricardo Filipe 7e60ab10c1 setupapi: Add stubs for SetupPromptForDiskA/W. 2008-12-05 17:13:21 +01:00
Vincent Povirk 022a8439e0 setupapi/tests: Fix string format warnings. 2008-12-05 12:30:18 +01:00
Hans Leidekker 19764fcf4c setupapi: Implement SetupInstallFile{A, W}. 2008-11-28 13:47:12 +01:00
Vincent Povirk b7fe5e0aa5 setupapi: Implement FLG_PROFITEM_GROUP. 2008-11-24 15:07:11 +01:00
Paul Vriens 10fcf6285e setupapi/tests: Don't use hardcoded C: for the system drive. 2008-11-14 11:02:15 +01:00
Paul Vriens a76d83687a setupapi/tests: Fix some failures on Win9x and WinMe. 2008-11-12 11:49:11 +01:00
Andrew Talbot 1c64c934db setupapi: Sign-compare warnings fix. 2008-11-11 11:40:42 +01:00
Vincent Povirk 23f54c939b setupapi: Add a matching CoUninitialize call.
Spotted by Rob Shearman.
2008-11-07 10:56:30 +01:00
Vincent Povirk 6c380468d9 setupapi: Implement ProfileItems directive. 2008-11-05 15:55:09 +01:00
Vincent Povirk 35d0a7a051 setupapi/tests: Add test for ProfileItems directive. 2008-11-05 15:50:08 +01:00
Michael Stefaniuc d62b48df2a setupapi: Do not cast NULL. 2008-11-03 13:41:29 +01:00
Maarten Lankhorst c19b967cd8 setupapi: Implement installing catalog files. 2008-10-22 13:54:53 +02:00
Paul Vriens 51763a10e4 setupapi/tests: Fix a failure on win98. 2008-10-21 11:43:25 +02:00
Muneyuki Noguchi 96377bf42b setupapi: Convert Japanese resource to UTF-8. 2008-10-13 11:41:18 +02:00
Muneyuki Noguchi 8448a9f1f4 setupapi: Use "MS Shell Dlg" 9 in Japanese resources. 2008-09-25 13:28:09 +02:00
Paul Vriens c79759786d setupapi/tests: Fix a failure on Windows 2000. 2008-09-12 11:39:41 +02:00
Paul Vriens c55f088198 setupapi/tests: Fix two failures on win98. 2008-09-12 11:39:31 +02:00
James Hawkins e05b1d0aab setupapi: Remove a test of an undocumented function that is inconsistent across platforms. 2008-09-11 11:56:19 +02:00
James Hawkins 9b96881163 setupapi: Fix a failing test in Vista. 2008-09-11 11:50:42 +02:00
Hongbo Ni 4648b353e4 setupapi: Add simplified and traditional Chinese resources. 2008-09-04 11:42:13 +02:00
Reece Dunn 960ae6fedb setupapi/tests: Use FIELD_OFFSET instead of offsetof. 2008-07-22 13:09:20 +02:00
Hans Leidekker da5e4f16d8 setupapi: Fix two memory leaks in the test. 2008-07-21 12:21:20 +02:00
Andrew Talbot ce2184e2f1 setupapi: Remove unneeded address-of operator from array name. 2008-07-14 11:50:12 +02:00
Detlef Riekenberg 775d4ebdcd setupapi/tests: Avoid a crash on Win9x. 2008-07-11 14:22:25 +02:00
James Hawkins c0e89107c5 setupapi: Fix a test that is failing in multiple platforms. 2008-07-01 13:45:38 +02:00
Paul Vriens 68a3ed219e setupapi/tests: Add a simple test for the DelReg directive. 2008-06-24 11:46:50 +02:00
Paul Vriens 4fe5683ce4 setupapi/tests: Fix a test on NT4. 2008-06-23 19:46:29 +02:00
Paul Vriens 0b773df85f setupapi/tests: Remove a registry key on failure for NT4. 2008-06-23 19:46:29 +02:00
Paul Vriens f544b039cf setupapi/tests: Prevent crash on NT4. 2008-06-23 19:46:29 +02:00
Paul Vriens 7e7574d2a8 setupapi/tests: Remove last win9x references. 2008-06-23 19:46:29 +02:00