Commit Graph

776 Commits

Author SHA1 Message Date
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
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
François Gouget 456ffd6241 Change the default CPU type so that QuickTime will also run on
platforms where the cpu detection code does not work.
2002-08-16 20:00:14 +00:00
Alexandre Julliard a5dea216cc Implemented the RtlImage* functions, and use them to replace the
PE_HEADER macro.
2002-08-09 19:57:38 +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
Alexandre Julliard 7015ce3096 No need to call GetModuleFileName16 now that GetModuleFileNameA
handles 16-bit tasks.
2002-07-05 01:28:10 +00:00
Alexandre Julliard 4144b5b8fc Create the server directory and socket file in /tmp.
Use fcntl file locking to ensure exclusion on the server socket and to
better recover from crashes.
Flush the registry before closing the socket to avoid timeouts on the
client side.
Moved get_config_dir functionality to libwine.
2002-06-20 23:21:27 +00:00
Alexandre Julliard a061b84ee1 Moved specification of relay and snoop include/exclude functions to
the config file.
Changed spy config a bit to follow the same scheme.
Moved debug option parsing routine into libwine.
2002-06-04 17:48:41 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Andreas Mohr e6b031bb03 - Use Win98 SE values for WIN98 setting.
- Win ME is DOS 8.00.
- Rename variable defaultWinVersion to forcedWinVersion.
- VERSION_GetSystemDLLVersion(): add W2K/XP support, add "unknown"
  warning.
2002-05-25 21:06:37 +00:00