Commit Graph

270 Commits

Author SHA1 Message Date
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
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +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
Andreas Mohr 841ce935d2 Removed obsolete email address. 2002-05-23 02:41:46 +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 ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +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
Patrik Stridvall 14c96c1017 Fixed some issues found by winapi_check. 2002-04-03 02:37:09 +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
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Mehmet Yasar 78f41aeaf7 Prevent setup from crashing if a section in the INF is empty (no
entries) (this happens when installing IE5).
2002-03-11 01:15:01 +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
Patrik Stridvall 651a8ba880 Added some defines for compatibility with Windows headers. 2002-02-15 19:12:35 +00:00
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Alexandre Julliard 9fcd89a5d8 Removed unnecessary includes. 2001-12-17 22:12:23 +00:00
Stefan Leichter 5bc7d7361e Fixed parameters of SetupOpenInfFileA. 2001-10-09 21:47:11 +00:00
Alexandre Julliard 629aab1768 Fixed a couple of HWND type mismatches. 2001-09-19 20:34:17 +00:00
Patrik Stridvall 3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Alexandre Julliard 5f728cae70 Removed HEAP_strdupA. 2001-07-24 21:45:22 +00:00
Alexandre Julliard f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Patrik Stridvall a84934403d Fixed some issues found by winapi_check. 2001-06-20 22:53:48 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Andreas Mohr 43e12ae268 VcpQueueDelete() does not have a LPEXPANDVTBL parameter. 2001-05-24 18:41:21 +00:00
Chris Morgan 130289a212 Fix duplicate directories being concatenated to buffer in
VcpExplain16().  Added a few useful TRACE lines.  Enabled a ifdef'ed
out call to CopyFile() inside of VCP_CopyFiles() so files are copied
to a users directories during an install.
2001-05-07 18:17:19 +00:00
Patrik Stridvall b3086a7593 Fixed some issues found by winapi_check. 2001-04-25 19:54:21 +00:00
Andreas Mohr 9bebbc5d8e - implement some more virtcopy (VCP) stuff
- add some setupx resources
- implement VHSTR functionality
- large parts of VCP callback handling
- merge setupapi and setupx stuff, especially resource handling
  gets rid of setupx debug channel; setupapi is the only one that remains
2001-04-17 17:39:35 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Jon Griffiths 4ab1558d8a - Remove <string.h> from winnt.h.
- ntdll: complete crt functions, prevent libc imports, fix sscanf.
2001-01-22 02:17:29 +00:00
James Juran c85144b0d9 Added some stubs needed for IE 5.5 setup. 2001-01-17 20:17:46 +00:00
Patrik Stridvall 00b86a9b04 Fixed some issues found by winapi_check. 2000-12-16 21:55:05 +00:00