Commit Graph

785 Commits

Author SHA1 Message Date
Alexandre Julliard f9be2f3d21 Removed some unnecessary includes. 2003-11-17 20:31:29 +00:00
Alexandre Julliard 7999469e7d Moved memory/environ.c, memory/virtual.c and misc/cpu.c to
dlls/kernel.
Get rid of the memory/ directory.
2003-11-13 20:58:55 +00:00
Daniel Marmier 7832562ee6 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-21 23:57:25 +00:00
Rolf Kalbermatter 76f13deb26 Use INVALID_FILE_ATTRIBUTES to test for failure of
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Alexandre Julliard 87ae825bf8 Get rid of the argv0 and full_argv0 global variables. 2003-10-08 00:45:01 +00:00
Alexandre Julliard 2052538a47 Moved loadorder support to dlls/ntdll.
Removed the --dll option and replaced it by the WINEDLLOVERRIDES
environment variable.
2003-09-25 20:33:41 +00:00
Alexandre Julliard 240b0a9b48 Moved the Windows version code to dlls/ntdll, and implemented
RtlGetVersion and RtlVerifyVersionInfo.
Moved the 16-bit and DOS version support to dlls/kernel.
2003-09-24 05:26:00 +00:00
Alexandre Julliard 52f692fb9b Moved the wine server client-side support to dlls/ntdll. Removed a
couple of unnecessary functions.
2003-09-18 23:27:19 +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
Eric Pouech 61f84c18d5 Translate a few more kernel32 calls into the ntdll equivalents. 2003-08-20 03:39:38 +00:00
Alexandre Julliard e0deb0c627 Replaced remaining calls to PROFILE_GetWineIniString/Bool by direct
registry accesses.
2003-08-19 03:21:04 +00:00
Vincent Béron 2ab7c87cc3 Add Windows 2003 to the versions Wine can return. 2003-08-13 19:36:35 +00:00
Alexandre Julliard 9060d47118 Get rid of wrong/confusing _strdupnA usage. 2003-08-07 03:15:20 +00:00
Lionel Ulmer 0a9b6cf174 Fix the MHz detection code. 2003-08-05 18:29:46 +00:00
Mike Hearn 69e609d9e5 Merge CPU detection code into misc/cpu.c.
Add support for Mhz registry key.
2003-07-28 19:12:33 +00:00
Marcus Meissner 85147ee96d Added PF_PAE_ENABLED and PF_XMMI64_INSTRUCTIONS defines.
Detect them and 3DNOW and XMMI_INSTRUCTIONS for Linux.
2003-06-30 18:28:08 +00:00
Marcus Meissner 6ee59918dc Fixed CPU detection for FreeBSD and P4. 2003-06-30 02:04:41 +00:00
Eric Pouech f6a70969e1 - start moving a few file related functions from files/file.c to
dlls/kernel subdir (also splitting 16bit APIs in a separate file)
- implemented ntdll.Nt{Lock|Unlock}File, and made use of those for the
  kernel32 equivalent
- implemented a few information classes in NtQueryInformationFile and
  NtSetInformationFile (still lots of missing classes)
- enhanced the get_file_info server request in order to implement
  correctly NtQueryInformationFile (change time & file alloc size)
- rewrote registry loading to comply with latest changes
2003-06-24 02:32:01 +00:00
Alexandre Julliard 78d108b964 Moved misc/error.c to dlls/kernel/error16.c.
Get rid of misc/main.c.
2003-05-21 18:31:01 +00:00
Eric Anholt cd46d71ebd Added CPU detection for FreeBSD. 2003-05-21 18:24:34 +00:00
Alexandre Julliard b2f32bc604 Moved system.dll implementation to dlls/kernel. 2003-05-20 17:50:59 +00:00
Yorick Hardy b133454a2e Implemented GetSystemInfo on NetBSD. 2003-05-20 17:48:40 +00:00
Dimitrie O. Paun 7864f3b9b3 Small debug channel cleanup. 2003-05-13 00:28:43 +00:00
Alexandre Julliard 98cfe58dcf Removed useless check for registry file version. 2003-05-02 20:17:32 +00:00
Alexandre Julliard a058584d4c Explicitly call VERSION_Init with the main exe file name, so that
application settings work for Win16 and DOS apps too.
2003-04-20 02:46:44 +00:00
Vincent Béron d3ac422e1c Change the version of win2k to SP3.
Change the version of XP to SP1.
Modify values of XP according to a post by Philipp Wollermann.
2003-04-19 02:47:56 +00:00
Andreas Mohr 5f66b04e46 Print out Windows version values, in human-readable format. 2003-04-16 23:08:33 +00:00
Alexandre Julliard 915a4bacb1 Fixed regression in VERSION_GetLinkedDllVersion() introduced by
previous change.
2003-03-30 03:08:13 +00:00
Maxime Bellengé e3b9bd9747 Fix a regression when loading a real windows registry. 2003-03-30 03:05:12 +00:00
Eric Pouech c9fda6faeb No longer using kernel32's APIs but ntdll's. 2003-03-25 00:33:32 +00:00
Eric Pouech 051f87150f - implemented LdrQueryProcessModuleInformation
- rewrote VERSION_GetLinkedDllVersion() with this new function instead
  of accessing directly the modref list
2003-03-21 00:34:36 +00:00
Eric Pouech 19e050eb6f Moved WINE_MODREF.flags to WINE_MODREF.ldr.Flags, and make use of the
same flags values as Win2000.
2003-03-20 23:40:08 +00:00
Eric Pouech f94c8b85b9 Move some fields (refCount, tls_index and module) from WINE_MODREF to
LDR_MODULE.
2003-03-20 22:05:26 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Alexandre Julliard 8ed35fe87f Warnings fixes. 2002-11-25 01:14:15 +00:00
Alexandre Julliard 60bace9cfa Replace most PROFILE_GetWineIni calls by direct registry accesses.
Keep the config key open to query all values instead of re-opening it
all the time.
2002-11-24 22:19:57 +00:00
Andrew John Hughes ed800c69c8 Build ntdll with -DSTRICT. 2002-11-21 03:45:01 +00:00
Martin Wilck 6d886a52b3 - Allow setting NetBIOS ComputerName through registry.
- Keep old behavior as default, using new config option to change.
- Implement SetComputerName(), SetComputerNameEx(),
  GetComputerNameEx().
- ComputerName initialization moved to kernel32.
2002-11-15 01:01:47 +00:00
Patrik Stridvall e29345c3bb Added a GNU C implementation of some of the DECLSPEC_ macros and used
them wherever possible.
2002-10-01 18:07:37 +00:00
Raul Dias bbc2b5b9cc Added new "GlobalRegistryDir" option. 2002-09-24 03:07:17 +00:00
Alexandre Julliard f2ef2c2bb2 Handle special registry root keys directly in advapi32, and avoid
using them in kernel and ntdll.
2002-09-13 21:42:28 +00:00
Alexandre Julliard dafbc3f73f Removed remaining references to advapi32 registry functions from
kernel functions.
2002-09-13 18:52:01 +00:00
Alexandre Julliard 81bdcf126f Removed references to advapi32 registry functions from some of the
kernel functions.
2002-09-13 17:47:44 +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
Alexandre Julliard f4bf7185a7 Moved 16-bit registry functions to kernel dll and implemented them by
calling up to advapi32.
2002-09-09 19:34:48 +00:00
Alexandre Julliard 1df18838f6 Fixed checking of special dll names. 2002-09-06 18:37:48 +00:00
Alexandre Julliard 3fa613cf61 Moved internal context macros out of winnt.h.
Added SET_AX etc. macros to avoid non-portable pointer manipulations.
2002-08-31 18:47:00 +00:00
Dmitry Timoshkov d75aed2c92 Convert most of the file APIs to Unicode. 2002-08-27 01:13:58 +00:00
Patrik Stridvall 57bf45067a MSVC compatibility fixes. 2002-08-26 21:53:24 +00:00