Alexandre Julliard
ff039ccdf3
We don't need the shared heap on non-i386 platforms.
2004-08-13 00:42:09 +00:00
Alexandre Julliard
cc461324da
Store the number of processors in the PEB structure.
...
More correct support for setting critical section spin counts (based
on a patch by Robert Shearman).
2004-06-15 00:52:03 +00:00
Alexandre Julliard
7163000df8
Only create the shared heap when Windows version is Win9x.
2004-05-25 05:08:28 +00:00
Alexandre Julliard
643617f2ae
Moved most remaining file functions to dlls/kernel.
...
Removed files/file.c and include/file.h.
2004-05-01 05:25:07 +00:00
Alexandre Julliard
c349d7d297
Removed a number of internal file functions that are no longer used.
2004-04-28 03:53:19 +00:00
Alexandre Julliard
174e2a6464
Reimplemented GetFileAttributesW, SetFileAttributesW and SetFileTime
...
using the corresponding ntdll functionality.
2004-04-20 00:36:29 +00:00
Alexandre Julliard
a45931c6f3
Get rid of the TEB flags, they are no longer used.
2004-04-15 05:04:53 +00:00
Alexandre Julliard
693a3cd049
Create the devices earlier on during startup.
2004-04-12 22:12:43 +00:00
Alexandre Julliard
1de20ae4af
Rewrote handling of COM and LPT devices to use symlinks in
...
$WINEPREFIX/dosdevices, with suitable defaults if the symlinks are
missing.
Rewrote QueryDosDevice and DefineDosDevice to use the new scheme.
Added temporary code to create the symlinks based on the contents of
the config file.
2004-03-20 02:28:51 +00:00
Alexandre Julliard
e92b7eed7e
Store the kernel32 module handle globally to avoid some
...
GetModuleHandle calls that can cause deadlocks with the loader
section.
Moved some 16-bit definitions out of kernel_private.h.
2004-02-12 00:00:55 +00:00
Dimitrie O. Paun
2eaefbd1a4
Move content of global.h into the appropriate private headers.
2003-12-08 21:58:55 +00:00
Alexandre Julliard
436eda3071
Removed task.h.
2003-11-25 00:42:26 +00:00
Alexandre Julliard
a3c45689b4
Moved codepage functions to dlls/kernel.
...
Changed initialisation of the locale functions so that CP_UNIXCP works
as soon as possible during kernel32 init.
2003-10-14 05:32:30 +00:00
Alexandre Julliard
7196724ad0
We can now use the standard DllMain as entry point.
2003-10-10 00:50:56 +00:00
Alexandre Julliard
0f01858228
Moved the 16-bit environment support to dlls/kernel.
2003-09-18 04:28:22 +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
Alexandre Julliard
3be5d62b29
Moved 16-bit calls initialization and exception handling to kernel32.
...
Store the call_to_16 return address on the stack from the C code so
that we don't need two variants of call_to_16_regs.
2003-08-25 00:56:37 +00:00
Alexandre Julliard
5fbb446cfc
Moved most of the 16-bit task support and NE module loader to
...
dlls/kernel.
2003-08-23 00:03:40 +00:00
Alexandre Julliard
d8e34ebc21
Renamed system.dll to system.drv.
2003-08-19 03:27:45 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Eric Pouech
c962a6997c
- in kernel32, replaced all {Enter|Leave}CriticalSection calls with
...
ntdll counterparts
- {Enter|Leave}CriticalSection is now a pure forward from kernel32 to
ntdll (we now longer can use {Enter|Leave}CriticalSection in kernel32)
- replaced a few kernel32 heap management calls from ntdll, with
RtlHeap* equivalents
2003-06-23 18:12:28 +00:00
Eric Pouech
b53b5bcb50
- fixed a couple of bugs in ntdll environment functions (one in trace,
...
the other one in environment variable expansion)
- the process parameters, when passed thru wineserver, are now fully
handled in ntdll, they are stored in the RTL_USER_PROCESS_PARAMETERS
structure.
- later on in kernel32 loading sequence, those parameters are copied
into STARTUPINFO shadow structures
- later modification to those paramters are now reflected to the
RTL_USER_PROCESS_PARAMETERS structure (and STARTUPINFO is kept
untouched) (for example, StdHandle setting) (Win 2k behaves like this)
- ENVDB has been removed
- command line inheritance (from unix command line) is now purely in ntdll
- all kernel32 environment functions now rely on their ntdll counterparts
- goodies: input/output handle inheritance while asking for a detached
console is better handled; a few more kernel32 environment tests now
pass ; silenced a valgrind warning in process creation
2003-06-18 03:23:22 +00:00
Alexandre Julliard
2f24859b59
Beep() is still needed in ntdll, move it back to some random file.
2003-05-22 03:41:27 +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
Alexandre Julliard
e15aadd58a
Allocate/free the 16-bit thread stack in the kernel dll init routine.
2003-05-13 00:49:49 +00:00
Alexandre Julliard
ce13153821
Moved LDT selector allocation routines to libwine.
...
Added support for correct locking of all LDT operations.
Added separate functions to manipulate the %fs selector, which allows
using a global GDT selector on recent Linux kernels.
2003-02-26 20:34:45 +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
Alexandre Julliard
9842b19931
Make sure things still work if 16-bit dlls cannot be loaded.
2002-10-02 02:36:20 +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
Eric Pouech
d7d983641e
Now passing some console parameters at wineconsole creation instead of
...
successive server requests.
Better prototypes for console functions in kernel.
Some minor console creation fixes.
2002-09-04 18:41:03 +00:00
Patrik Stridvall
9aab47ed24
MSVC compatibility fixes.
2002-08-28 23:42:34 +00:00
Patrik Stridvall
d97f7cdecb
Fixed some issues found by winapi_check.
2002-08-17 00:21:53 +00:00
Aric Stewart
e23c96f649
Added SwitchToThread.
2002-08-16 01:38:20 +00:00
Alexandre Julliard
66e3183099
Fixed GetLocaleInfoW to handle Unicode properly and completed
...
implementation.
Update win.ini and registry on startup when language changed.
More logical priority order for locale environment variables.
Implemented SetLocaleInfoW.
Moved some locale functions to kernel32.dll.
2002-08-15 23:18:47 +00:00
Alexandre Julliard
99d8b7f755
Moved initial AllocConsole call to kernel init (based on a patch by
...
Eric Pouech).
2002-07-31 19:19:36 +00:00
Eric Pouech
3d4d7e0153
Added a generic mechanism to set up hooks for dispatching signal
...
handlers outside ntdll.
2002-07-31 18:46:09 +00:00
Alexandre Julliard
59008670be
Moved the selector access functions out of winnt.h into libwine.
2002-05-16 20:32:16 +00:00
Francois Gouget
34372dcbf0
Fix SetFileAttributes to honor the umask (rather than making files
...
world-writable).
2002-03-29 18:17:35 +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
Alexandre Julliard
7f826665e1
Do not call THUNK_Init at startup, only do it when the app actually
...
requires thunks.
2001-12-17 22:08:17 +00:00
Alexandre Julliard
8cd55d0eba
Moved most of the real-mode stuff to dlls/winedos.
2001-12-04 19:54:44 +00:00
Mike McCormack
e4ca13ea82
Move 16-bit COMM code to USER dll.
2001-07-24 20:49:41 +00:00
Patrik Stridvall
33929be46f
- Made sure that the files that contains the declarations
...
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Dmitry Timoshkov
fc99ddd926
Remove kernel32 dependency on user32 by implementing family of k32
...
functions as callouts to user32.
2001-05-24 19:32:00 +00:00
Alexandre Julliard
389b039fe4
We need to create the system heap at startup even though we don't use
...
it, since some Win95 native dlls depend on that.
2001-03-04 01:06:07 +00:00
Alexandre Julliard
9ee9efff1b
Use the standard CreateThread routine to create 16-bit tasks instead
...
of duplicating the code.
2001-02-28 05:29:50 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Patrik Stridvall
0c61028734
Documentation ordinal fixes.
2001-01-25 22:22:21 +00:00
Andreas Mohr
0bc1d2729b
Added Reserved5 -> lstrcmp16.
2001-01-02 20:00:37 +00:00