Marcus Meissner
4a7666190f
Pass characters to get_file_name() helper, not bytes.
2005-10-10 10:28:48 +00:00
Alexandre Julliard
ce1196a84b
Copy WINEDEBUG from the Windows environment to allow passing a
...
modified value to a child process.
2005-10-04 18:09:51 +00:00
Alexandre Julliard
7ddab75619
Declare debug channels as static variables so that we don't need to
...
generate an external .dbg.c file to define them.
2005-09-28 18:34:00 +00:00
Eric Pouech
b09582a890
Implemented kernel32 process affinity handling on top on ntdll.
2005-09-27 10:52:10 +00:00
Alexandre Julliard
7c1925a0f3
Remove the 'L' suffix on a number of constants to avoid comparison
...
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Alexandre Julliard
f367051afe
Parameters to virtual memory functions need to be SIZE_T.
2005-09-12 15:35:04 +00:00
Eric Pouech
b3badc7dd3
- rewrite kernel32:{Set|Get}PriorityClass on top of ntdll equivalent
...
- priority for process in wineserver is now the NTDLL form (no longer
the kernel32 one)
2005-09-06 10:25:11 +00:00
Ivan Leo Puoti
6e508761bf
Get ExitProcess to call NtTerminateProcess.
2005-09-06 09:25:19 +00:00
Alexandre Julliard
73cb76542f
Rewrote Get/SetHandleInformation to call the corresponding ntdll
...
functions.
2005-08-23 18:20:59 +00:00
Alexandre Julliard
19c1af5b01
Set the default system dir to windows/system32.
2005-08-15 14:53:35 +00:00
Alexandre Julliard
915aebb852
Moved the version initialization to ntdll.
...
Properly set the version fields in the PEB.
Removed some no longer used structures.
2005-08-10 13:12:27 +00:00
Alexandre Julliard
3be8cb8b02
Moved initialization of the default user process parameters to ntdll.
2005-07-14 12:33:30 +00:00
Alexandre Julliard
9ad5628639
Moved the server start time to the init_thread request and got rid of
...
the init_process request (based on a patch by Felix Nawothnig).
2005-07-14 10:32:46 +00:00
Alexandre Julliard
11ad6a0ac4
Return the startup info size in the init_thread request, and allocate
...
the process parameters structure in ntdll instead of kernel.
2005-07-13 19:43:35 +00:00
Alexandre Julliard
4391be583e
Get rid of the boot_done request.
2005-07-13 14:20:13 +00:00
Alexandre Julliard
0424f38169
Already initialize the process in the first init_thread request
...
instead of waiting for the init_process request.
2005-07-13 12:12:43 +00:00
Alexandre Julliard
01caa5e645
Moved the fields that depends on startup info from the init_process
...
request to get_startup_info.
2005-07-12 20:27:09 +00:00
Eric Pouech
6d68a03d4f
Implemented OpenProcess on top of NtOpenProcess.
2005-06-27 11:12:11 +00:00
Mike McCormack
405ac7a80c
- don't include winreg.h
...
- include kernel_private.h to get declaration for convert_old_config()
2005-06-20 10:40:37 +00:00
Mike McCormack
5b2d5fd758
Use HANDLE instead of HKEY in the NT API.
2005-06-17 13:58:33 +00:00
Mike McCormack
0f36d124a2
Fix warnings from -Wmissing-declarations.
2005-06-14 11:42:34 +00:00
Alexandre Julliard
bd000a0203
Removed some unnecessary inclusions of thread.h
2005-06-06 20:13:08 +00:00
Alexandre Julliard
4a334aed3c
Move all the old config conversion code to a new oldconfig.c file, and
...
get rid of misc/registry.c and the misc directory.
2005-04-20 15:43:36 +00:00
Alexandre Julliard
f1020bc6e0
Added support for the TLS expansion slots, adding an extra 1024
...
entries.
2005-03-19 17:14:12 +00:00
Rein Klazes
0ed059cd77
Support execution of pif files.
2005-03-07 19:24:43 +00:00
Francois Gouget
fbb3343547
Assorted spelling fixes.
2005-03-02 13:53:50 +00:00
Jon Griffiths
eb5bf7dd38
Documentation spelling fixes.
2005-02-25 14:07:56 +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
Jon Griffiths
7b188952a5
Documentation fixes.
2004-12-15 10:48:18 +00:00
Francois Gouget
65f1958249
Add support for REG_EXPAND_SZ in set_registry_variables().
...
Fix processing of environment variables that are too big (>1024
characters): they should be truncated, not ignored.
2004-10-30 02:11:33 +00:00
Eric Pouech
4bb5d3ab3e
- fixed the way length of msvcrt runtime info is passed
...
- always return a NULL runtime info buffer in child if parent's
runtime info is NULL
- fixed typo in startupinfo size
2004-10-25 21:47:23 +00:00
Vincent Béron
6c644d68cf
Fix various function prototypes.
2004-10-19 23:55:15 +00:00
Robert Shearman
2050591370
Fix NtAllocateVirtualMemory declaration and fix users of the
...
function.
2004-10-11 20:59:06 +00:00
Mike McCormack
d80eb97b29
Use FILE_SHARE_DELETE when loading modules, as running an exe that's
...
going to be deleted should work.
2004-09-15 18:02:49 +00:00
Andreas Mohr
85b06836a5
Don't reject OS/2 programs, try to carry on in DOS mode.
2004-09-10 21:16:02 +00:00
Alexandre Julliard
bb8f36addc
Fixed the check for removable media in load_pe_exe (spotted by
...
Francois Gouget).
2004-09-09 00:26:57 +00:00
Eric Pouech
0bfb1cbc6b
- msvcrt: the file descriptors are now inherited between parent/child
...
processes
- kernel32.CreateProcess: make use of the *reserved2 fields for
C-RunTime data inheritance
2004-09-03 01:05:30 +00:00
Robert Shearman
3ae44f72b9
Added GetProcessId.
2004-08-24 18:46:05 +00:00
Alexandre Julliard
905e75f8e9
The argv array passed to the app needs to be in the Ansi codepage, not
...
the Unix one.
2004-08-18 21:03:32 +00:00
Mike McCormack
e3d8853bb8
Moved FlushInstructionCache to ntdll.
2004-08-04 18:15:04 +00:00
Alexandre Julliard
c4ec2108b1
Pass the environment for a child process through the server instead of
...
relying on the Unix environment.
2004-07-16 03:54:35 +00:00
Alexandre Julliard
9f58ee709d
Set the system directory in ntdll as soon as we have determined it.
2004-07-15 22:07:21 +00:00
Eric Pouech
b0fd2ade62
- Added ProcessBasicInformation class to ntdll.NtQueryInformationProcess.
...
- Make use of it in kernel32.
2004-06-14 17:02:00 +00:00
Rein Klazes
667ac7ff5e
Fix a crash when launching Unix executables.
2004-06-04 18:01:02 +00:00
Alexandre Julliard
10e6f57fab
Set the WINEPRELOADRESERVE variable when starting a new process.
2004-06-03 00:25:08 +00:00
Alexandre Julliard
b1abca8a5d
Initial version of the Wine preloader, used to reserve memory
...
areas at startup. Based on the work of Mike McCormack.
2004-05-28 20:59:22 +00:00
Alexandre Julliard
94d74b5fed
Added support for managing reserved memory areas in libwine and ntdll.
...
Try to reserve everything above 0x80000000 on startup.
2004-05-25 01:29:24 +00:00
Alexandre Julliard
ad546918b4
Use environment variables instead of config file entries to specify
...
path, profile, temp, windows and system directories.
Convert existing config file entries to registry values under
HKCU\Environment.
2004-05-14 21:43:18 +00:00
Alexandre Julliard
6ab8827236
Set environment variables from the HKCU\Environment key too.
...
Moved current directory initialisation to process.c.
Make sure to always pass the correct current directory in the process
parameters for child processes.
2004-05-14 05:03:29 +00:00
Alexandre Julliard
0d33e5e32d
Added proper support for switching file APIs between ANSI and OEM
...
codepages. Optimized some of the A->W conversions by using the
per-thread Unicode string buffer.
2004-05-13 20:21:25 +00:00