Commit Graph

594 Commits

Author SHA1 Message Date
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
Juan Lang 5ce7fcae8e setupapi: Store pointer to an interface's device in the interface instance. 2007-09-24 14:16:47 +02:00
Juan Lang e9b55346c2 setupapi: Add stubs for SetupDiCreateDeviceInterfaceRegKeyA/W. 2007-09-24 14:16:33 +02:00
Juan Lang 44ac73effe setupapi: Convert device's interfaces to a standard list. 2007-09-24 14:16:26 +02:00
Juan Lang df3cb0630d setupapi: Create symbolic link value when interface is created. 2007-09-24 14:16:04 +02:00
Juan Lang d34ec8b8a1 setupapi: Add test showing value of path. 2007-09-24 14:15:32 +02:00
Juan Lang a63c9356a4 setupapi: Implement SetupDiGetDeviceInterfaceDetailA/W. 2007-09-24 14:15:22 +02:00
Juan Lang 6bd4ed73cb setupapi: Add tests for SetupDiGetDeviceInterfaceDetail. 2007-09-24 14:14:44 +02:00
Juan Lang 50a4039037 setupapi: When enumerating an interface, add the interface to its device. 2007-09-24 14:14:34 +02:00
Juan Lang be863b07ff setupapi: Implement SetupDiEnumDeviceInterfaces. 2007-09-24 14:14:23 +02:00
Juan Lang 69b0b42455 setupapi: Implement SetupDiCreateDeviceInterfaceW. 2007-09-24 14:14:15 +02:00
Juan Lang 707fca6cbc setupapi: Set last error on invalid input. 2007-09-24 14:13:58 +02:00
Juan Lang 15eba01660 setupapi: Remove a redundant parameter check. 2007-09-24 14:13:51 +02:00
Juan Lang 6682012209 setupapi: Add error checking to SetupDiCreateDeviceInterfaceW stub. 2007-09-24 14:13:44 +02:00
Juan Lang aa2b23cab5 setupapi: Implement SetupDiCreateDeviceInterfaceA on top of SetupDiCreateInterfaceW. 2007-09-24 14:13:33 +02:00
Juan Lang 8069619b90 setupapi: Add tests for SetupDiCreateDeviceInterface. 2007-09-24 14:13:09 +02:00
Juan Lang d1878ab8fd setupapi: Add stubs for SetupDiCreateDeviceInterfaceA/W. 2007-09-24 14:13:01 +02:00
Juan Lang 9b1e1b2aad setupapi: Set last error on failure in SetupDiOpenClassRegKeyExW. 2007-09-24 14:12:53 +02:00
Juan Lang a9d74cf994 setupapi: Respect samDesired in SetupDiOpenClassRegKeyExW. 2007-09-24 14:12:42 +02:00
Alexandre Julliard 5d0dc48193 setupapi: Simplify the SetupDiGetClassDescriptionExA/W implementation. 2007-09-21 12:21:17 +02:00
Juan Lang f841667cac setupapi: Implement SetupDiGetClassDevsW. 2007-09-21 12:17:48 +02:00
Juan Lang f4b9bc2454 setupapi: Implement SetupDiRegisterDeviceInfo. 2007-09-21 12:14:48 +02:00
Juan Lang a57a17d3fc setupapi: Add tests for SetupDiRegisterDeviceInfo. 2007-09-21 12:14:38 +02:00
Juan Lang 3a2a99474e setupapi: Add stub for SetupDiRegisterDeviceInfo. 2007-09-21 12:14:31 +02:00
Juan Lang 6b50538f12 setupapi: Implement SetupDiGetClassDescriptionExA. 2007-09-21 12:13:24 +02:00
Juan Lang 80be1fe740 setupapi: Devices created by SetupDiCreateDeviceInfo are "phantoms", and are deleted from the registry when the set that contains them is closed. 2007-09-21 12:09:17 +02:00
Juan Lang 00ef2e3269 setupapi: Save class GUID to registry when creating a device. 2007-09-21 12:08:57 +02:00
Juan Lang 8985a62a34 setupapi: Save device description to registry when creating a device. 2007-09-21 12:08:51 +02:00
Juan Lang e144979697 setupapi: Make a helper to convert a GUID to a string. 2007-09-21 12:08:43 +02:00
Juan Lang 60fefd72e8 setupapi: Implement SetupDiSetDeviceRegistryPropertyA/W. 2007-09-21 12:08:25 +02:00
Juan Lang bc924f5b3a setupapi: Implement SetupDiGetDeviceRegistryPropertyA/W. 2007-09-21 12:08:20 +02:00
Juan Lang f94f6367f2 setupapi: Implement SetupDiGetDeviceInstanceIdW. 2007-09-21 12:06:14 +02:00
Juan Lang 83f05e79bb setupapi: Implement SetupDiCreateDeviceInfoW. 2007-09-21 12:05:48 +02:00
Juan Lang 1bbfd72afb setupapi: Add error checking to SetupDiCreateDeviceInfoW stub. 2007-09-20 14:27:13 +02:00
Juan Lang c1ccd65792 setupapi: Implement SetupDiGetDeviceInstanceIdA on top of SetupDiGetDeviceInstanceIdW. 2007-09-20 14:27:13 +02:00
Juan Lang 634cba84d2 setupapi: Implement SetupDiEnumDeviceInfo. 2007-09-20 14:27:13 +02:00
Juan Lang a7ad54ef92 setupapi: Add a placeholder for devices. 2007-09-20 14:27:13 +02:00
Juan Lang e481b1eaee setupapi: Add tests for SetupDiGetDeviceInstanceId. 2007-09-20 14:27:13 +02:00
Juan Lang 7c0a311753 setupapi: Add stubs for SetupDiGetDeviceInstanceIdA/W. 2007-09-20 14:27:13 +02:00
Juan Lang 362e8e1f62 setupapi: Add tests for SetupDiCreateDeviceInfo. 2007-09-20 14:27:13 +02:00
Juan Lang 9fc7973727 setupapi: Add missing prototypes and definitions, and change function prototypes to match. 2007-09-19 12:48:46 +02:00
Juan Lang d62285d006 setupapi: Fix typo. 2007-09-19 12:34:33 +02:00
Juan Lang 2e2fe9b9f7 setupapi: Fix return type. 2007-09-19 12:31:43 +02:00
Lionel Debroux 85022e50c2 setupapi: Fix memory leak (found by Smatch). 2007-09-13 11:04:52 +02:00
Lionel Debroux d7abb09b46 setupapi: Fix HeapFree of wrong pointer (found by Smatch). 2007-09-12 14:07:49 +02:00