Commit Graph

458 Commits

Author SHA1 Message Date
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
Steven Edwards c9a0da51a5 Remove more unneeded wine 16bit header usage. 2007-08-30 12:31:01 +02:00
Francois Gouget a116879507 Assorted spelling fixes. 2007-08-30 12:26:02 +02:00
Francois Gouget c2d47ced74 setupapi: Add prototypes for the Setup*Log*() functions. Better stick to the PSDK types. 2007-08-30 11:57:18 +02:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Andrew Talbot 926a008ffb setupapi: Constify some variables. 2007-08-29 12:10:56 +02:00
Andrew Talbot 3bf6315af2 setupapi: Constify some variables. 2007-08-27 19:27:26 +02:00
Paul Vriens 86e2d1a5e7 setupapi/tests: Use skip instead of trace. 2007-08-27 11:57:49 +02:00
Damjan Jovanovic 28025d64ef setupapi: Use NtDeleteKey instead of an invalid RegDeleteKeyW. 2007-08-21 21:38:27 +02:00
Mikolaj Zalewski 0d00a74f47 setupapi: If needed create directories for fake dlls. 2007-08-21 12:42:24 +02:00
Jason Edmeades 7f901f41f0 setupapi: Remove duplicate backslashes on dirids. 2007-08-13 13:04:16 +02:00
Jason Edmeades ac6343cd5a setupapi: Add test to show setupapi does not handle single quotes. 2007-08-10 12:58:17 +02:00
Paul Vriens c0cc85f78e setupapi/tests: Use GetModuleHandleA instead of LoadLibraryA. 2007-07-31 12:34:54 +02:00
Detlef Riekenberg 6a95b93ec3 advpack+setupapi: Remove unneeded checks before SetupCloseInfFile. 2007-07-10 13:32:10 +02:00
Detlef Riekenberg 8be4e8537c setupapi: Avoid crash in SetupCloseInfFile. 2007-07-10 13:31:54 +02:00
Francois Gouget a3317a5c01 Assorted spelling fixes. 2007-07-05 19:56:34 +02:00
Misha Koshelev 0e369586df setupapi: Simplify code as native setupapi does not handle quoted paths. 2007-06-25 11:44:09 +02:00
Michael Stefaniuc 67ed76e685 setupapi: Do not use wide character constants. 2007-06-22 12:18:46 +02:00
Misha Koshelev 41fd380005 setupapi: Handle unquoted paths in InstallHinfSection as native. 2007-06-15 13:24:01 +02:00
Misha Koshelev 095c9bf26a setupapi/tests: Add basic tests for InstallHinfSectionA/W command line processing. 2007-06-15 13:23:55 +02:00
Francois Gouget b6a2102d34 setupapi/tests: There is no strncasecmp() on Windows. So use CompareString() instead. 2007-05-29 13:46:24 +02:00
Rob Shearman 34556854ed setupapi: Add a FIXME in SetupCopyOEMInfW for when we should be copying a catalog file. 2007-05-29 11:54:38 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Andrew Talbot 9f2a62ed0a setupapi: Exclude unused headers. 2007-05-21 12:31:11 +02:00
Hans Leidekker 3cfb018ea6 setupapi: Don't require a valid version section for INF_STYLE_OLDNT files. 2007-05-21 12:30:34 +02:00
Hans Leidekker 6cc0b4e88e setupapi: Add a partial implementation for SetupScanFileQueue{A, W}. 2007-05-18 14:18:49 +02:00
Hans Leidekker 108288ec3a setupapi: Correctly handle an empty filename in SetupGetSourceFileLocationA. 2007-05-18 14:13:53 +02:00
Hans Leidekker d060160b7a setupapi: Implement pSetup{Get, Set}QueueFlags. 2007-05-18 14:12:28 +02:00
Rob Shearman c4eeb9f6fa setupapi: SetupOpenInfFile returns INVALID_HANDLE_VALUE on failure, not NULL.
Fix SetupQueryInfOriginalFileInformation to check for the former rather than the latter.
2007-05-11 11:20:04 +02:00
Paul Vriens 299a358fdb setupapi/tests: SetupQueryInfOriginalFileInformationA is not available on win98. 2007-05-08 20:09:31 +02:00
Rob Shearman 04fada9035 setupapi: Improve the stub for SetupQueryInfOriginalFileInformation
to return information for OriginalCatalogName based on information in
the installed inf file.
2007-05-08 18:09:49 +02:00
Rob Shearman 672a611379 setupapi: Don't copy an OEM inf file if the exact same OEM inf file already exists. 2007-05-08 18:09:36 +02:00
Rob Shearman c572ddb40c setupapi: Partially implement SetupQueryInfOriginalFileInformationW.
Implement SetupQueryInfOriginalFileInformationA on top of SetupQueryInfOriginalFileInformationW.
2007-05-04 12:40:43 +02:00
Rob Shearman 712bffb54e setupapi: Add stubs for SetupQueryInfOriginalFileInformationA/W. 2007-05-04 12:40:17 +02:00
Rob Shearman 66d5cb2967 setupapi: The inf file containing the SourceDisksFiles and SourceDisksNames sections is the same as hinf if there is no layout file specified.
So pass the correct inf handle to SetupQueueDefaultCopyW and SetupQueueCopySectionW.
2007-05-04 12:40:00 +02:00
Rob Shearman b1030f59e6 setupapi: SetupCopyOEMInfW should preserve the basename when copying the inf file to the inf directory if possible.
If the file already exists, then it should use a name with the form oem%u.inf instead.
2007-05-02 15:03:25 +02:00
Paul Vriens 4b34ba65d9 setupapi/tests: SetupCopyOEMInfA is not available on NT4. 2007-04-26 14:25:00 +02:00