Commit Graph

307 Commits

Author SHA1 Message Date
Alexandre Julliard ebc65aea8d setupapi: Ignore ok file for new query test. 2006-01-31 18:18:24 +01:00
James Hawkins ac6c941058 setupapi: Add tests for SetupGetInfInformation. 2006-01-31 12:22:48 +01:00
Thomas Weidenmueller 278bd29b8d setupapi: Fix comparing the group SIDs in IsUserAdmin. 2005-12-19 18:15:58 +01:00
James Hawkins 11fced7b57 setupapi: Added stubs for SetupGetInfInformation and
SetupQueryInfFileInformation.
2005-12-15 11:02:20 +01:00
Eric Pouech 8cddd5d2fb Made some functions static. 2005-12-12 11:53:56 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
YunSong Hwang 58d6722e7a Add Korean translations. 2005-11-11 10:55:09 +00:00
Francois Gouget 2adb302a99 Add trailing '\n's to ok() and TRACE() calls. 2005-11-10 11:17:38 +00:00
Alexandre Julliard 6c0fc4205c Added a bunch of tests for the INF parser. 2005-11-07 16:41:37 +00:00
Alexandre Julliard 4f128fa874 Added support for optional section.ntx86 and section.nt in
InstallHinfSection when current version is set to NT.
2005-11-03 19:34:03 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Anders Bergh 925e4674a7 Added Swedish translation. 2005-09-28 10:16:33 +00:00
Alexander N. Sørnes 8822dbbb92 Added Norwegian translations. 2005-09-25 15:15:25 +00:00
Eric Kohl da46628883 - String id 0 becomes a reserved (invalid) id.
- StringTableStringFromId returns a pointer to an empty string if the
  string id is invalid.
2005-09-23 10:09:47 +00:00
Alexandre Julliard 9f1c6de1ef We are no longer generating .spec.c files. 2005-09-21 14:42:52 +00:00
Steven Edwards 331e09c22c Added stringtable regression test. 2005-09-21 14:16:05 +00:00
Eric Kohl 8196e2d0d0 Implement setupapi stringtable functions. 2005-09-21 14:12:15 +00:00
Milko Krachounov 980f817737 Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
setupapi, wininet, regedit, uninstaller, notepad, winecfg and
winhelp.
2005-09-19 17:00:58 +00:00
Ge van Geldorp 748d23a7d4 Base of REG_DWORD entries must be auto-detected. 2005-09-14 11:15:58 +00:00
Filip Navara 5d0a292dd2 Fix a couple of prototypes. 2005-09-14 10:06:17 +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
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Detlef Riekenberg 92eedf8567 Moved cfgmgr32.h to include/ddk/. 2005-09-06 11:42:50 +00:00
Kimmo Myllyvirta 3344365f08 Added Finnish resources. 2005-09-06 09:22:19 +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 8328c61a01 Added stubs for pSetupGet/SetGlobalFlags. 2005-08-12 18:23:06 +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
Detlef Riekenberg 521d067ba9 SetupSetFileQueueAlternatePlatform{AW} implemented as stub. 2005-07-10 18:16:26 +00:00
Thomas Weidenmueller 738c770dd5 Fixed enumerating the drive strings. 2005-07-10 17:39:26 +00:00
Sebastian Gasiorek 0b30ae582e Added Polish resources. 2005-07-08 11:31:51 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Mike McCormack d7b9a23afd gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-06 19:08:05 +00:00
Stefan Huehner 17ed5537e7 Fix some more -Wmissing-declarations warnings. 2005-07-05 11:05:50 +00:00
Alexandre Julliard aa0b9aac0d Sort entry points alphabetically. 2005-06-22 18:38:23 +00:00
Matthew Davison 5014e742fb Stub out the error dialog functions.
Modify the default callbacks to call these for Delete and Rename
errors.
Modify the default callbacks to ignore file missing errors when
deleting files.
2005-06-12 11:05:58 +00:00
Mike McCormack 09d5cc2363 Declare some functions. 2005-06-07 20:07:34 +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
Alexandre Julliard aebb745488 Comment out stub WEP entry points so that we can call WEP for builtin
dlls too.
2005-05-23 10:12:26 +00:00
Alexandre Julliard 0ddd30b0b6 Removed unnecessary code in the 16-bit DllEntryPoint function of some
dlls, and also fixed its ordinal in a few places.
2005-05-23 10:00:26 +00:00
Ivan Leo Puoti 6be20a7c96 Minor fix in SetupQueueCopySectionW. 2005-05-16 08:49:51 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Alexandre Julliard 3629cc4ed6 Eric Kohl <eric.kohl_at_t-online.de>
Implement CaptureAndConvertAnsiArg, CaptureStringArg,
OpenAndMapForRead, RetreiveFileSecurity, StampFileSecurity,
TakeOwnershipOfFile, and UnmapAndCloseFile.
2005-05-06 15:38:22 +00:00
Hans Leidekker 64dcb35a4e Stub implementation for SetupCopyOEMInfW. 2005-05-04 09:47:28 +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
Hans Leidekker d0965ae873 Remove stray 8bit character. 2005-03-27 17:54:17 +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
Alex Villacís Lasso 18bfe6a095 Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Eric Kohl 4d5c2318e6 Implement DelayedMove and FileExists. 2005-02-14 11:04:39 +00:00
Alexandre Julliard ba7a43e208 Authors: Américo José Melo <mmodem00@netvisao.pt>, Francois Gouget <fgouget@codeweavers.com>
Translate the Wine resources to Portuguese.
2005-02-10 17:14:15 +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
Eric Kohl 69bdc10aed - Implement DoesUserHavePrivilege, EnablePrivilege, IsUserAdmin,
MultiByteToUnicode and UnicodeToMultiByte.
- Sort prototypes in setupapi.h and a few function in spec.
2005-02-02 19:09:33 +00:00
Hans Leidekker a82f1350c2 Don't use utf8 in rc files. 2005-01-26 19:42:40 +00:00
Eric Kohl 3b4801c5e5 Implement DuplicateString and QueryRegistryValue. 2005-01-25 19:02:08 +00:00
Eric Kohl 38b14b4ccf Implement MyFree, MyMalloc and MyRealloc. 2005-01-24 13:32:26 +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
Aric Stewart cc8f18f96f Copy the implementation from SetupDefaultQueueCallbackA and make it
W.
2005-01-18 11:39:49 +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
Gerald Pfeifer 53b71e464a Use proper type for fourth parameter to VerQueryValueW(). 2004-12-13 13:20:36 +00:00
Mike McCormack d921d161c4 Stub implementation for SetupDiOpenDeviceInterface. 2004-12-06 16:19:15 +00:00
Robert Shearman cba8763c33 Remove unnecessary WNDPROC casts. 2004-12-06 11:51:29 +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
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Juan Lang 352a00b635 Use shell32 to get the user profile dir. 2004-10-25 21:44:01 +00:00
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Huw Davies 174e6a5d28 Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif. 2004-08-24 18:33:01 +00:00
David Kredba b45744c817 Added Czech resources. 2004-08-16 20:02:09 +00:00
Alexandre Julliard b459952144 Avoid some non-portable makefile constructs, and get rid of the
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
Henning Gerhardt 74cebde291 Translated some English resource files into German. 2004-07-12 19:55:59 +00:00
Hajime Segawa 76e280b401 Added some Japanese translations. 2004-06-28 23:50:22 +00:00
Vincent Béron 9d8036e1d8 Replace some more -debugmsg references for WINEDEBUG. 2004-06-21 23:56:15 +00:00
Stefan Leichter 8a918011fe Replaced the call to GetFullPathNameA by a call to GetFullPathNameW to
get rid of the W->A cross calls.
2004-06-02 00:34:08 +00:00
Alexandre Julliard 5ae62e3d7a Added support for dirids that map to a CSIDL value (based on a patch
by Mike McCormack).
2004-05-28 03:43:22 +00:00
Ivan Leo Puoti 3e42f6953e Changed my name, so update copyright info. 2004-05-27 02:25:13 +00:00
Patrik Stridvall 070db4e5de Fixed some issues found by winapi_check. 2004-05-17 21:08:31 +00:00
Matthew Davison 2e2f666032 Update spec file. 2004-05-07 00:40:44 +00:00
Alexandre Julliard 4113217155 Added support for DIRID_USERPROFILE. 2004-05-05 22:01:10 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Aric Stewart ffbb75fe25 Beginnings on implementations of SetupCreateDiskSpaceListA/W,
SetupQuerySpaceRequiredOnDriveA, SetupDestroyDiskSpaceList and
SetupAddInstallSectionToDiskSpaceListA for MDAC install.
2004-03-17 01:46:00 +00:00
Aric Stewart bb86eb6588 Added stubs needed by some Windows Update installs. 2004-03-16 19:13:18 +00:00
Mike McCormack 65be0d1f50 Added SetupCreateDiskSpaceList stub. 2004-03-15 20:07:25 +00:00
Alexandre Julliard 8887d74bbf SPINST_UNREGSVR must use the UnregisterDlls section, not the
RegisterDlls one.
2004-02-27 06:06:38 +00:00
Alexandre Julliard 5a157628c7 Implemented InstallHinfSection (based on a patch by Chris Morgan). 2004-02-27 04:43:32 +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
Patrik Stridvall ede82e3055 Fixed some issues found by winapi_check. 2004-02-20 20:19:23 +00:00
Alexandre Julliard 1c63357e78 Fixed a trace. 2004-02-17 22:48:25 +00:00
Christian Costa fabcd27800 Added some stubs. 2004-02-17 21:05:44 +00:00
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Rein Klazes 5560d47539 Stub for DiBuildClassDrvList(). 2004-01-20 21:51:46 +00:00
Steven Edwards 6518b5ca27 MSVC porting fixes. 2004-01-05 21:12:21 +00:00
Ivan Leo Murray-Smith e51000f44f Added Italian translation. 2003-11-17 19:59:13 +00:00
Marcelo Duarte 8defcd386c Localization to the Portuguese of Brazil. 2003-11-05 23:27:01 +00:00
Uwe Bonnes f227cfaac6 Added a few stubs. 2003-10-27 22:05:33 +00:00
Hans Leidekker a2977cf5b8 Added Dutch translations. 2003-10-27 22:04:36 +00:00
Oleg Prokhorov b6ee614a81 Another portion of HeapReAlloc fixes. 2003-10-24 00:29:43 +00:00
Steven Edwards f508a78509 - Win16/32 cleanup.
- Fixes for building with the PSDK.
2003-10-21 23:45:43 +00:00
Oleg Prokhorov de12a97041 Another portion of HeapReAlloc fixes. 2003-10-14 05:24:20 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +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
Michael Stefaniuc 1cd884eb5c Due to a misplaced "}" memory wasn't freed on the error path. 2003-09-27 02:25:40 +00:00
Dimitrie O. Paun 8b255842ec Remove the obsolete pascal16 (replaced by pascal -ret16). 2003-09-26 04:32:19 +00:00
José Manuel Ferrer Ortiz 28c87b0b7a Added Spanish resources. 2003-09-25 23:47:55 +00:00
Vincent Béron bf5f07a5b4 Yet another batch of French resources updates. 2003-09-22 21:16:56 +00:00
Igor Stepin f2cac81ac5 Added Russian translation. 2003-09-17 22:39:01 +00:00
Steven Edwards b2b7262815 Porting fixes. 2003-09-11 02:58:46 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +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
Gregory M. Turner fca4a8f877 Implement (most of) SetupIterateCabinet. 2003-08-27 23:12:36 +00:00
Steven Edwards 6af30d6994 Split win16/32 support. 2003-08-23 23:18:13 +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
Francois Gouget 61aac4eaa1 Fix some typos. 2003-06-04 20:29:05 +00:00
Aric Stewart b5d318460d Respect the version SP_COPY flags when installing files.
Make GenInstall16 only copy files if the version is new or same.
2003-05-19 18:52:16 +00:00
Huw Davies 565b92b042 Implement a load of setupx Di* stubs. 2003-05-13 22:16:53 +00:00
Huw Davies 0704955ca4 Use strtoulW instead of strtolW for DWORD conversion. 2003-05-13 22:16:11 +00:00
Francois Gouget f803e2a92d Fix miscellaneous spelling errors and typos. 2003-05-13 00:41:57 +00:00
Uwe Bonnes 5eb88a08a2 Added some stubs. 2003-04-02 23:19:14 +00:00
Andreas Mohr 114b667f41 Some spelling and formatting fixes. 2003-04-02 01:23:43 +00:00
Alexandre Julliard e048adab83 List 16-bit spec files explicitly to avoid problems with some versions
of make.
2003-03-23 20:00:02 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Tony Lambregts 2e24a148bf Replace DPRINTF with TRACE. 2003-03-15 00:12:42 +00:00
Alexandre Julliard 7e92c9af7b Replaced most uses of the auto-generated glue code by explicit calls
to WOWCallback16Ex.
2003-02-27 21:09:45 +00:00
Robert Shearman bda22de541 - Add some stubs.
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Patrik Stridvall c72255c715 Fixed some issues found by winapi_check. 2002-10-29 21:31:26 +00:00
Jaco Greeff 8dc2b10a22 Made the reporting for the (current) unsupported flags in GenInstall16
more user-friendly, i.e. report per missing flag instead of DWORD value.
2002-10-29 21:23:04 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00
Alexandre Julliard 0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Uwe Bonnes d241176fef More stubs. 2002-10-10 19:23:57 +00:00
Steve Lustbader cee34aa5fe Provide stub for SetupDiGetClassDevsW.
Fix return value of SetupDiGetClassDevsA.
2002-10-10 18:57:32 +00:00
Alexandre Julliard 5cf56a3afe Removed LPxxx handle types that don't exist under Windows. 2002-10-03 19:46:27 +00:00
Michael Stefaniuc 9d2b862883 Convert HRSRC to a void*. 2002-09-16 22:47:05 +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
Michael Stefaniuc 025c0b716b Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00
Dmitry Timoshkov 2a00807f40 Fixed hex to binary conversion. 2002-08-13 18:11:15 +00:00
Alexandre Julliard 526531eb6c Create at most one glue file for a single dll.
Avoid the intermediate .tmp.o file when building programs.
2002-08-01 18:36:58 +00:00
Alexandre Julliard 7375597fe2 Fixed some handle type mismatches and added a few casts in prevision
of void* handles.
2002-07-31 19:26:03 +00:00
Andreas Mohr 283a7ff8d1 Honour the VNLP_COPYIFEXISTS flag when doing a copy operation. 2002-07-20 18:54:51 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard a5755b10a7 Authors: Mike McCormack <mikem@codeweavers.com>, Jeremy White <jwhite@codeweavers.com>
Fixed memory leaks.
2002-06-13 23:54:55 +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
Aric Stewart 5de3334a7f When processing the reg section we need to delete before adding.
First pass implementation of UpdateIni.
2002-06-13 21:51:45 +00:00
Patrik Stridvall 296c5a6b97 Fixed some issues found by winapi_check. 2002-06-04 22:12:50 +00:00