Commit Graph

139 Commits

Author SHA1 Message Date
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 a63c9356a4 setupapi: Implement SetupDiGetDeviceInterfaceDetailA/W. 2007-09-24 14:15:22 +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 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 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 7c0a311753 setupapi: Add stubs for SetupDiGetDeviceInstanceIdA/W. 2007-09-20 14:27:13 +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
Michael Stefaniuc 67ed76e685 setupapi: Do not use wide character constants. 2007-06-22 12:18:46 +02:00
Hans Leidekker 7a039ebbf1 setupapi: Always return an empty list from SetupDiGetClassDevs. 2007-02-20 20:27:13 +01:00
James Hawkins 3b6017ae18 include: Move cfgmgr32.h to include/ to match the SDK. 2006-10-14 20:18:44 +02:00
Michael Stefaniuc 79ecfaf52f setupapi: Win64 printf format warning fixes. 2006-10-14 20:17:25 +02:00
Francois Gouget 82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +02:00
Damjan Jovanovic e6e96d3ea1 setupapi: Brace the guid in SetupDiOpenClassRegKeyExW. 2006-09-26 21:50:09 +02:00
Paul Vriens 270dbc9d07 setupapi: Fixed wrong check (Coverity). 2006-09-20 11:18:10 +02:00
Damjan Jovanovic 9bbcb857f9 setupapi: Fixed returns values and added a test for SetupDiOpenClassRegKeyExW. 2006-09-10 10:17:55 +02:00
Kevin Koltzau 93f5e0a7fd setupapi: Create an empty list when getting device interface classes. 2006-08-05 11:25:44 +02:00
Christian Gmeiner c514700be2 setupapi: Move SetupDiGetClassDevsExW into devinst.c. 2006-07-24 19:56:03 +02:00
Christian Gmeiner 51cd07c37e setupapi: Implemented SetupDiCreateDeviceInfoA. 2006-07-21 13:26:01 +02:00
Christian Gmeiner 41aefd8c62 setupapi: Add stub for SetupDiCreateDeviceInfoW. 2006-07-20 12:52:39 +02:00
Christian Gmeiner bb80e2282e setupapi: Remove unneeded NULL checks before MyFree(). 2006-07-20 12:52:14 +02:00
Christian Gmeiner 8f5d90b44d setupapi: Implement SetupDiCreateDeviceInfoListExW. 2006-06-19 21:16:04 +02:00
Christian Gmeiner f14f04dc8a setupapi: Documentation update. 2006-06-12 13:21:48 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Detlef Riekenberg 92eedf8567 Moved cfgmgr32.h to include/ddk/. 2005-09-06 11:42:50 +00:00
Mike McCormack 09d5cc2363 Declare some functions. 2005-06-07 20:07:34 +00:00
Juan Lang 6f3228a539 Implement SetupDiClassNameFromGuidExA. 2005-04-11 12:59:45 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Juan Lang 47f1c88817 Implement SetupDiGetClassDevsA/W, SetupDiEnumDeviceInterfaces,
SetupDiDestroyDeviceInfoList, and SetupDiGetDeviceInterfaceDetailA for
serial ports.
2005-03-01 11:44:27 +00:00
Eric Kohl 69d3afc99e - Implement SetupDiBuildClassInfoListExA,
SetupDiClassGuidsFromNameExA, SetupDiCreateDeviceInfoListExA and
  SetupDiOpenClassRegKeyExA using MultiByteToUnicode.
- Retrieve OS version upon process attach.
2005-02-03 13:34:50 +00:00
Alexandre Julliard f7fb73710a Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>, Mike McCormack <mike@codeweavers.com>
Added some stub implementations.
2005-01-19 16:57:24 +00:00
Mike McCormack d921d161c4 Stub implementation for SetupDiOpenDeviceInterface. 2004-12-06 16:19:15 +00:00
Eric Kohl faa7df1e08 Implement SetupDiBuildClassInfoList(ExW),
SetupDiClassGuidsFromName(W/ExW), SetupDiClassNameFromGuid(W/ExW),
SetupDiGetActualSectionToInstallW, SetupDiGetClassDescription(W/ExW),
SetupDiInstallClassW partially, SetupDiOpenClassRegKey(ExW),
SetupOpenMasterInf.
2004-12-02 18:09:53 +00:00
Steven Edwards c48c16471c Remove a few unneeded include statements in internal headers.
Started bringing setupapi in line with PSDK.
2003-10-07 22:51:09 +00:00
Steven Edwards b2b7262815 Porting fixes. 2003-09-11 02:58:46 +00:00
Francois Gouget ae50013017 Fix the case of product and company names. 2003-09-08 19:38:45 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Francois Gouget 9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Steven Edwards d8b97af8f5 Split Win16/32 setupapi device installer support. 2003-06-16 19:40:53 +00:00
Huw Davies 565b92b042 Implement a load of setupx Di* stubs. 2003-05-13 22:16:53 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00
Steve Lustbader cee34aa5fe Provide stub for SetupDiGetClassDevsW.
Fix return value of SetupDiGetClassDevsA.
2002-10-10 18:57:32 +00:00
Patrik Stridvall 296c5a6b97 Fixed some issues found by winapi_check. 2002-06-04 22:12:50 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Mike McCormack a8693258af Stub implementations of some functions. 2002-05-28 22:39:14 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Patrik Stridvall 00b86a9b04 Fixed some issues found by winapi_check. 2000-12-16 21:55:05 +00:00
Andreas Mohr 559f432126 - implemented proper LDD/LDID handling
- implement Ctl*Ldd(), Ctl[GS]etLddPath, GenInstall (no real operations
  yet, I want help), InstallHinfSection
- Stubbed out DiGetClassDevs16 (needed for e.g. Monkey Island 3 ;)
- many new .spec stubs
2000-12-13 21:31:37 +00:00