Commit Graph

838 Commits

Author SHA1 Message Date
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
Paul Vriens 46e0219f7a setupapi/tests: Remove win9x specifics from testInstallClass. 2008-06-23 12:51:35 +02:00
Paul Vriens d2ee399c66 setupapi/tests: Remove win9x specifics from testCreateDeviceInfo. 2008-06-23 12:51:29 +02:00
Paul Vriens 6546cd5db2 setupapi/tests: Remove some function pointer checks from testRegisterDeviceInfo. 2008-06-21 11:14:52 +02:00
Paul Vriens 44499b5b0b setupapi/tests: Remove win9x specifics from testDevRegKey. 2008-06-21 11:14:43 +02:00
Paul Vriens 50d6b08353 setupapi/tests: Remove win9x specifics from testDeviceRegistryPropertyW. 2008-06-21 11:14:35 +02:00
Paul Vriens 0fbe23c13d setupapi/tests: Skip all tests on Win9x and WinMe. 2008-06-21 11:14:27 +02:00
Andrew Talbot 581a0e091c setupapi: Constify a variable. 2008-06-20 12:22:48 +02:00
Paul Vriens 5f2de1f61f setupapi/tests: Fix some typos. 2008-06-19 11:55:08 +02:00
Francois Gouget d81fb8e027 Remove spaces before '...' in the Danish resources. 2008-06-16 15:52:21 +02:00
Paul Vriens 5cd4cbc49c setupapi/tests: Fix some test failures on W2K. 2008-06-11 20:02:06 +02:00
Paul Vriens e63f4fcfbc setupapi/tests: Fix two more tests on Windows 2000. 2008-06-09 16:55:50 +02:00
Paul Vriens 02b05393c8 setupapi/tests: Fix a test on Windows 2000. 2008-06-09 16:55:42 +02:00
Paul Vriens 1567813361 setupapi/tests: Fix test for win9x and Vista. 2008-06-09 12:37:19 +02:00
Francois Gouget 39cb432b68 Fix the resources to remove extraneous spaces in '...'. 2008-06-05 15:53:05 +02:00
Paul Vriens 057c92db54 setupapi/tests: Remove leftovers from old tests. 2008-05-28 19:34:38 +02:00
Paul Vriens b58cab405a setupapi/tests: Test to show cleanup should not be needed. 2008-05-27 19:35:08 +02:00
Paul Vriens 3758205546 setupapi/tests: Add another test. 2008-05-27 19:35:04 +02:00
Paul Vriens 8253824669 setupapi/tests: Cleanup after testCreateDeviceInterface. 2008-05-27 12:42:55 +02:00
Paul Vriens 156dad05c0 setupapi/tests: Test registry after testDeviceRegistryProperty. 2008-05-26 19:49:42 +02:00
Paul Vriens 3573b90bdc setupapi/tests: Cleanup after testGetDeviceInterfaceDetail. 2008-05-26 19:49:35 +02:00
Paul Vriens 7609581cf5 setupapi/tests: Cleanup after testRegisterAndGetDetail. 2008-05-26 19:49:18 +02:00
Paul Vriens 82fcb7a5c3 setupapi/tests: Cleanup after testDevRegKey. 2008-05-26 19:49:06 +02:00
Paul Vriens 2b27d9baed setupapi/tests: Skip tests on win9x. 2008-05-26 19:48:44 +02:00
Paul Vriens d9b673f91a setupapi/tests: Turn guid into a global variable. 2008-05-26 19:48:38 +02:00
Paul Vriens b1b4063c0b setupapi/tests: Fix a test on NT4. 2008-05-26 19:48:32 +02:00
Paul Vriens ee975a5611 setupapi/tests: Close registry key after use. 2008-05-26 19:48:25 +02:00
Paul Vriens ed552b474c setupapi/tests: Fix typos. 2008-05-21 20:15:13 +02:00
Paul Vriens fb18592c93 setupapi/tests: Fix typo. 2008-05-21 20:15:02 +02:00
Paul Vriens bece26be54 setupapi/tests: Skip some tests if we are on win9x. 2008-05-21 17:16:20 +02:00
Paul Vriens 59b6506439 setupapi/tests: Remove a duplicate function call. 2008-05-21 17:16:11 +02:00
James Hawkins 5a701ab6b4 setupapi: Fix a few test failures in win2k3. 2008-05-21 11:37:06 +02:00
Mikołaj Zalewski 14a42f802d Make Swedish use SUBLANG_NEUTRAL. 2008-05-19 16:09:13 +02:00
Jens Albretsen c2b5749fa8 setupapi: Danish translation. 2008-05-07 12:10:48 +02:00
Paul Vriens ed67a1f350 setupapi/tests: Clean up properly on win9x. 2008-05-05 12:53:24 +02:00
Paul Vriens d6f9de67b8 setupapi/tests: Skip some tests on win9x. 2008-05-05 12:53:19 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Andrew Talbot 362cd67d3b setupapi: Remove unused variables. 2008-04-25 11:28:40 +02:00
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
Alexandre Julliard 0ed9db27c5 setupapi: Add support for creating directories from the FakeDlls section. 2008-04-17 20:34:06 +02:00
Alexander Morozov af5e168f16 setupapi: SetupDiGetDeviceRegistryProperty should return ERROR_INVALID_DATA when buffer size is not 0 but buffer is NULL. 2008-04-17 20:21:48 +02:00
Alexander Morozov 85861a4999 setupapi: SetupDiGetDeviceRegistryProperty should return ERROR_INSUFFICIENT_BUFFER when buffer size is insufficient. 2008-04-17 20:21:38 +02:00
Alexander Morozov 68f12e32a8 setupapi: Add a test for SetupDiGetDeviceRegistryProperty and SetupDiSetDeviceRegistryProperty. 2008-04-17 20:21:26 +02:00
Alexandre Julliard c7e661b8e5 setupapi: Install services in InstallHinfSection. 2008-04-16 12:36:18 +02:00
Alexandre Julliard cf78e6c38c setupapi: Implemented SetupInstallServicesFromInfSectionW. 2008-04-16 12:36:08 +02:00
Alexandre Julliard 44ab294e0b setupapi: Move strdupW and strdupWtoA to the setupapi_private.h header. 2008-04-16 12:21:09 +02:00
Alexander Morozov 62520da8d3 setupapi: Prevent of reallocating memory for _SP_DEVINFO_DATA structures. 2008-04-04 11:58:36 +02:00
Paul Vriens c535a27670 setupapi/tests: No need to use GetProcAddress as all functions exist on all platforms. 2008-04-02 19:54:31 +02:00
Alexander Morozov 997bea9b89 setupapi: Create DeviceInstance value in registry, delete todo_wine from test. 2008-04-02 13:44:08 +02:00
Alexander Morozov 6a5c1ca25b setupapi: Create device interface keys in registry as in Windows XP. 2008-04-02 13:43:47 +02:00
Alexander Morozov b622101ef2 setupapi: Creating SymbolicLink value in registry as in Windows XP. 2008-04-02 13:42:04 +02:00
Alexander Morozov c4fb0f236e setupapi: Added a test for registering device interface and getting device path. 2008-04-02 13:39:06 +02:00
Paul Vriens ebec0a9697 setupapi: Fix for SetupGetIntField, with tests. 2008-04-01 13:15:56 +02:00
Alexander Morozov bae4ebb7d7 setupapi: Add a check of "#" for interface subkey names. 2008-03-31 15:13:00 +02:00
Paul Vriens a3557272f4 setupapi: Fix some last errors for SetupGetLineByIndex. 2008-03-28 21:42:15 +01:00
Paul Vriens 50e81d0e6d setupapi: Fix some last errors for SetupFindFirstLine. 2008-03-28 21:42:15 +01:00
Paul Vriens dacb11533d setupapi/tests: Remove check as we don't care how 'field' is allocated. 2008-03-28 14:53:29 +01:00
Paul Vriens 026b252b44 setupapi/tests: Add a few tests for SetupInstallServicesFromInfSectionA. 2008-03-28 14:51:43 +01:00
Paul Vriens ea64ac8ab7 setupapi/tests: Run tests on win9x again. 2008-03-28 14:51:38 +01:00
Christopher Berner 6bc8e9a116 setupapi: Fix buffer size in SetupDiGetDeviceInterfaceDetailW. 2008-03-27 19:37:12 +01:00
Paul Vriens 18e305241d setupapi/tests: Add some tests for the last error returned. 2008-03-27 17:47:23 +01:00
Paul Vriens f14eecded8 setupapi: Forward SetupInstallServicesFromInfSectionA to W-function. 2008-03-26 13:46:16 +01:00
Alexandre Julliard 39fea9329c setupapi/tests: Use FIELD_OFFSET instead of offsetof. 2008-03-24 21:06:15 +01:00
Paul Vriens ee08320d50 setupapi/tests: Add a test for installing a driver service via an INF file. 2008-03-21 11:21:56 +01:00
Andrew Talbot bd0fec2511 setupapi: Assign to structs instead of using memcpy. 2008-03-17 11:41:20 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
James Hawkins 26ad93947b janitorial: Remove links to any microsoft site. 2008-03-01 12:04:09 +01:00
Maarten Lankhorst ba8642639a setupapi: Implement CM_Get_Device_ID and add a stub for CM_Get_Parent. 2008-03-01 12:03:44 +01:00
Paul Vriens 433ca7d8bd setupapi/devinst: Struct size passed needs to be exact. 2008-02-25 20:42:32 +01:00
Andrew Talbot e48bbc23e4 setupapi: Remove unneeded casts. 2008-01-21 11:38:51 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Andrew Talbot ac352615b1 setupapi: Fix dead code (Coverity). 2008-01-14 13:10:15 +01:00
Michael Stefaniuc 0977f858da setupapi: Remove duplicate includes. 2007-11-19 13:54:17 +01:00
Francois Gouget b1c9966828 cfgmgr32: Flesh out cfgmgr32.h a bit more and fix the corresponding functions. 2007-11-13 13:37:27 +01:00
Juan Lang 4115598d5c setupapi: Add stubs for CM_Get_Device_IDA and CM_Get_Device_ID_Size. 2007-11-08 11:49:55 +01:00
Juan Lang 2593ee873d setupapi: Don't convert strings past NULL-terminator. 2007-11-06 13:34:03 +01:00
Juan Lang 1d2e0672b7 setupapi: Downgrade an ERR to a WARN. 2007-11-06 13:33:53 +01:00
Juan Lang 13ff6e7a1b setupapi: Correct a return value. 2007-11-06 13:33:47 +01:00
Juan Lang 0a5e09d794 setupapi: Fix a leak. 2007-11-06 13:33:38 +01:00
Rob Shearman 55aeb80aa3 setupapi: Make the setupapi tests load on systems < Vista by providing a private implementation of RegDeleteTreeW. 2007-11-02 12:37:32 +01:00
Chris Robinson 4d721de4d2 setupapi: Add stub for SetupInstallServicesFromInfSectionW. 2007-11-02 12:36:03 +01:00
Juan Lang e2f1f39b52 setupapi: Include enumerator string as part of device instance ID. 2007-10-26 12:46:30 +02:00
Juan Lang 4d3853ce9f setupapi: Return FALSE if a NULL buffer is passed in. 2007-10-25 12:53:29 +02:00
Louis Lenders 1c7891f86e setupapi: Add stub for SetupInstallServicesFromInfSectionA. 2007-10-22 12:36:08 +02:00
Juan Lang 1392883b8e setupapi: Avoid spamming console. 2007-10-16 09:35:32 +02:00
Juan Lang a10a8eb134 setupapi: Correct device enumeration. 2007-10-15 12:10:25 +02:00
Juan Lang 162911baef setupapi: Don't abort key enumeration early. 2007-10-15 12:10:08 +02:00
Juan Lang 8b5faacfb4 setupapi: Implement SetupDiDeleteDevRegKey. 2007-10-15 12:10:02 +02:00
Juan Lang 36229a74d1 setupapi: Make error checking in SetupDiCreateDevRegKeyW more like that in SetupDiOpenDevRegKey. 2007-10-15 12:09:17 +02:00
Juan Lang 629123bae4 setupapi: Implement SetupDiOpenDevRegKey. 2007-10-15 12:09:11 +02:00
Juan Lang 559f89afd2 setupapi: Test SetupDiOpenDevRegKey. 2007-10-15 12:05:28 +02:00
Juan Lang 8cacf12fe5 setupapi: Improve parameter checking in SetupDiInstallClass. 2007-10-15 12:05:22 +02:00
Juan Lang f2c85adbc3 setupapi: Remove bogus part of test. 2007-10-15 12:05:15 +02:00
Juan Lang cb1d6517c7 setupapi: Implement SetupDiCreateDevRegKeyW. 2007-10-12 11:06:01 +02:00
Juan Lang 732b968b22 setupapi: Add a device ID member to DeviceInfo. 2007-10-12 11:05:49 +02:00
Juan Lang 0d39a07eca setupapi: Don't require caller to pass a SP_DEVINFO_DATA pointer to SETUPDI_AddDeviceToSet. 2007-10-12 11:05:42 +02:00
Juan Lang 22724c2c8b setupapi: Add helper function to open a device's hardware key. 2007-10-12 11:05:31 +02:00
Juan Lang e6a9eb6b85 setupapi: Implement SetupDiCreateDevRegKeyA on top of SetupDiCreateDevRegKeyW. 2007-10-12 11:05:22 +02:00
Juan Lang 0138ea49ed setupapi: Add stubs for SetupDiCreateDevRegKeyA/W. 2007-10-12 11:05:04 +02:00
Juan Lang 33c2d032fe setupapi: Install more items when installing a class. 2007-10-12 11:04:55 +02:00
Juan Lang 01bf19dc0b setupapi: Correct creating the class key. 2007-10-12 11:04:47 +02:00
Juan Lang 6851e109ed setupapi: SetupOpenAppendInfFile is implemented, so remove #if 0 around it. 2007-10-12 11:04:34 +02:00
Juan Lang caae01f8be setupapi: Test SetupDiInstallClass. 2007-10-12 11:04:25 +02:00
Juan Lang 216ab7d4cb setupapi: Remove a misleading fixme. 2007-10-09 12:34:35 +02:00
Marcus Meissner 263cb44d76 setupapi: Use correct parameter in pointer init. 2007-10-03 11:01:54 +02:00
Juan Lang 06547f129f setupapi: Implement SetupDiGetClassDevsExA. 2007-09-25 11:20:00 +02:00
Juan Lang 1b023ff69d setupapi: Implement SetupDiGetClassDevsA on top of SetupDiGetClassDevsExW. 2007-09-25 11:19:52 +02:00
Juan Lang e45f840944 setupapi: Implement SetupDiGetClassDevsW on top of SetupDiGetClassDevsExW. 2007-09-25 11:19:47 +02:00
Juan Lang 4e06874117 setupapi: Partially implement SetupDiGetClassDevsExW. 2007-09-25 11:19:41 +02:00
Juan Lang 9ac11e3864 setupapi: Implement SetupDiGetDeviceInfoListDetailA/W. 2007-09-25 11:19:32 +02:00
Juan Lang 7de0f1d583 setupapi: When freeing an interface, delete it from the registry if its device is a phantom. 2007-09-24 14:17:41 +02:00
Juan Lang dadcb201d9 setupapi: Implement SetupDiDeleteDeviceInterfaceRegKey. 2007-09-24 14:17:34 +02:00
Juan Lang e69520ab6e setupapi: Save interface to registry when creating it. 2007-09-24 14:17:27 +02:00
Juan Lang d0a2866a90 setupapi: Store pointer to set in device, and use it to make sure that a device is a member of a set. 2007-09-24 14:17:19 +02:00
Juan Lang 21b7e1faf6 setupapi: Implement SetupDiCreateDeviceInterfaceRegKeyA/W. 2007-09-24 14:17:08 +02:00
Juan Lang 443cfda4a6 setupapi: Return the interface's device from SetupDiGetDeviceInterfaceDetailA/W. 2007-09-24 14:16:54 +02:00