Commit Graph

48 Commits

Author SHA1 Message Date
Frédéric Delanoy cef6b07372 setupapi: Use BOOL type where appropriate. 2013-10-10 10:44:30 +02:00
Marcus Meissner 1b27af164c setupapi: Avoid NULL dereference in error path (Coverity). 2010-01-08 10:13:46 +01:00
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
Alexandre Julliard b70bbe3d29 setupapi: Duplicate the string substitution code to implement GenFormStrWithoutPlaceHolders16. 2009-10-01 19:44:43 +02:00
Michael Stefaniuc ffae0123ac setupapi: Remove superfluous pointer casts. 2009-01-28 12:30:57 +01:00
Andrew Talbot f34e733c2c setupapi: Declare a function static. 2009-01-26 15:48:51 +01:00
Rico Schüller 619a74ec5f setupapi: Fix if condition in SetupEnumInfSectionsA/W. 2009-01-12 13:18:28 +01:00
Alexandre Julliard b45cfc123e setupapi: Implemented SetupEnumInfSectionsA/W. 2009-01-05 20:26:50 +01:00
Michael Stefaniuc 02d1154bab setupapi: Remove some superfluous casts. 2008-12-08 12:04:25 +01:00
Andrew Talbot 1c64c934db setupapi: Sign-compare warnings fix. 2008-11-11 11:40:42 +01:00
Andrew Talbot 362cd67d3b setupapi: Remove unused variables. 2008-04-25 11:28:40 +02:00
Paul Vriens ebec0a9697 setupapi: Fix for SetupGetIntField, with tests. 2008-04-01 13:15:56 +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
Andrew Talbot e48bbc23e4 setupapi: Remove unneeded casts. 2008-01-21 11:38:51 +01:00
Andrew Talbot 3bf6315af2 setupapi: Constify some variables. 2007-08-27 19:27:26 +02:00
Jason Edmeades 7f901f41f0 setupapi: Remove duplicate backslashes on dirids. 2007-08-13 13:04:16 +02:00
Detlef Riekenberg 8be4e8537c setupapi: Avoid crash in SetupCloseInfFile. 2007-07-10 13:31:54 +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
Alexandre Julliard 31ade1eb67 setupapi: Add support for .inf files in utf-8 format. 2007-03-21 13:52:43 +01:00
Andrew Talbot a89d5de5df setupapi: Replace inline static with static inline. 2007-03-21 11:55:37 +01:00
Michael Stefaniuc 79ecfaf52f setupapi: Win64 printf format warning fixes. 2006-10-14 20:17:25 +02:00
James Hawkins 7588b669d8 setupapi: Implement pSetupGetField, with tests. 2006-09-14 11:40:27 +02:00
James Hawkins bce44161f1 setupapi: Fix SetupCloseInfFile when a NULL handle is given, with tests. 2006-06-27 11:15:36 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 4d7946464a setupapi: Fix parsing of UCS-16 files.
Fix parsing of UCS-16 files prefixed with the Unicode BOM. Based on a 
patch by Hervé Poussineau.
2006-05-05 21:58:28 +02:00
Alexandre Julliard 6cb7ca4177 setupapi: Store the full name to the INF file in the inf_file structure
(based on a patch by James Hawkins).
2006-02-07 16:08:19 +01:00
Alexandre Julliard 6c0fc4205c Added a bunch of tests for the INF parser. 2005-11-07 16:41:37 +00:00
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Ge van Geldorp 3ebeb2377f index is 1-based at this point, index == line->nb_fields is the last
field and is valid.
2005-08-15 09:43:28 +00:00
Alexandre Julliard 4ed08c497b Preserve the spaces before an opening quote in the middle of a token
(reported by Matthew Davison).
2005-07-22 18:30:53 +00:00
Alexandre Julliard 4b63ed83cf Revert previous change, it shouldn't be necessary (reported by Rob
Shearman).
2005-06-01 11:05:47 +00:00
Alexandre Julliard ec3cf77d65 Skip the Unicode signature if present. 2005-05-31 13:29:48 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +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
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Alexandre Julliard cb283489ad Added support for the RegisterDlls section (partly based on a patch by
Chris Morgan).
2004-02-27 00:47:10 +00:00
Steven Edwards 6518b5ca27 MSVC porting fixes. 2004-01-05 21:12:21 +00:00
Oleg Prokhorov b6ee614a81 Another portion of HeapReAlloc fixes. 2003-10-24 00:29:43 +00:00
Steven Edwards b2b7262815 Porting fixes. 2003-09-11 02:58:46 +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
Tony Lambregts 2e24a148bf Replace DPRINTF with TRACE. 2003-03-15 00:12:42 +00:00
Patrik Stridvall 9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
Dmitry Timoshkov 2a00807f40 Fixed hex to binary conversion. 2002-08-13 18:11:15 +00:00
Alexandre Julliard 6f2791093b For lines that contain a single field, the field is also the line key
(thanks to Aric Stewart).
2002-06-13 21:52:44 +00:00
Alexandre Julliard 9b6f433ebb Implemented strtolW/strtoulW in libwine_unicode and used it to replace
wcstol and friends.
2002-05-16 18:58:47 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Alexandre Julliard 5068347b19 Implemented a large number of the 32-bit setupapi functions.
Fixed a number of setupx functions by making them call the setupapi
equivalents.
2002-04-02 02:57:50 +00:00