Commit graph

116 commits

Author SHA1 Message Date
Jacek Caban
81aa05eab6 kernel32: Moved GetProcessImageFileName implementation from psapi to kernel32. 2011-04-08 17:06:46 +02:00
Maarten Lankhorst
8b163d6fb6 kernel32: CreateProcessA should not call CreateProcessW directly. 2011-03-17 10:58:24 +01:00
Igor Egorov
b970462825 kernel32: Add stderr redirection for native Unix programs started from Windows program. 2011-02-15 17:24:26 +01:00
Henri Verbeet
4c200a2050 kernel32: Fix some memory leaks in set_wow64_environment(). 2010-12-22 12:48:47 +01:00
Marcus Meissner
a601c75db3 kernel32: Fixed size to GetEnvironmentVariableW. 2010-12-17 13:26:01 +01:00
Alexandre Julliard
01af5452c5 kernel32: Update the environment variables that vary across 32-bit/64-bit/Wow64. 2010-12-14 22:48:44 +01:00
Ken Thomases
47dea9b670 loader: On Mac, reserve the process's original thread for the frameworks.
The frameworks expect the original thread to run its run loop, so input
sources (like distributed notifications) get processed.  For example,
Core Audio on Snow Leopard doesn't track changes in the default ouput
device, such as when headphones are plugged in, without this.
2010-11-16 11:47:58 +01:00
Detlef Riekenberg
41bd5d4efa kernel32: Add a stub for SetProcessDEPPolicy. 2010-11-12 15:49:48 +01:00
Andrew Nguyen
6d605e68f4 kernel32: Make the return type of LoadModule match the Windows SDK. 2010-10-11 17:11:28 +02:00
Austin English
e99612c4c8 kernel32: Add a stub for GetSystemDEPPolicy. 2010-09-22 12:47:39 +02:00
Eric Pouech
45ade6c2f5 ntdll: Allocate a console (without renderer) when starting a program from unix console. 2010-09-01 14:01:03 +02:00
André Hentschel
0029e64e4e kernel32: Better describe an error. 2010-08-30 11:26:29 +02:00
Juan Lang
5e87ca772e kernel32: Implement GetErrorMode/SetErrorMode on top of NTDLL. 2010-08-16 16:39:58 +02:00
Paul Chitescu
2e97746340 kernel32: Declare and add stubs for GetLogicalProcessorInformation(Ex). 2010-07-20 12:56:26 +02:00
Francois Gouget
7bf45b4c35 kernel32: GetProcessDword() is unused so remove it.
We use krnl386.exe16's implementation instead.
2010-06-24 10:35:21 +02:00
Alexandre Julliard
2b99e1c17d kernel32: Make sure we always have a valid process title. 2010-06-08 11:53:58 +02:00
Alexandre Julliard
a10e9ba092 kernel32: Unalign the stack on process startup to work around Doom3 bug. 2010-05-28 11:20:28 +02:00
Alexandre Julliard
775e5f7b3e kernel32: Reset stdio handles when they are closed. 2010-05-26 23:16:34 +02:00
Alexandre Julliard
f3831cf2cb configure: Rename the 64-bit loader to wine64 and keep wine always for the 32-bit loader.
This provides better backwards compatibility when running with a
32-bit prefix.
2010-05-17 12:42:30 +02:00
Alexandre Julliard
ac69fcb14f server: Check that the prefix type can support the client architecture. 2010-05-04 20:27:20 +02:00
Marcus Meissner
35dfd34a9f kernel32: Initialize env (Coverity). 2010-03-31 11:44:30 +02:00
Alexandre Julliard
02aef1c3b8 kernel32: Increase the wineboot timeout. 2010-03-30 16:55:11 +02:00
Alexandre Julliard
be0db98a23 kernel32: Fix processing of spaces in command line for builtin exes. 2010-03-29 19:37:35 +02:00
Alexandre Julliard
808c29b908 kernel32: Add support for starting binaries in 32/64-bit mode from the other mode. 2010-03-29 17:57:15 +02:00
André Hentschel
a9a7d963c2 kernel32: Make process traces aware of 64-bit. 2010-03-25 16:08:27 +01:00
Alexandre Julliard
c7bed19c0b kernel32: Don't try to open builtin exe files during CreateProcess, only check the path syntax. 2010-03-18 13:46:22 +01:00
Reece Dunn
1b46c0660d kernel32/tests: Add a test case for calling TlsFree on a freed index. 2010-03-03 11:49:35 +01:00
Alexandre Julliard
6beb82e2d6 kernel32: Append the user PATH value to the system one. 2010-01-28 14:53:24 +01:00
Alexandre Julliard
17dea24f48 kernel32: Make sure the volatile environment is always loaded. 2010-01-28 13:35:03 +01:00
Alexandre Julliard
0daf0528da kernel32: Load USERNAME and USERPROFILE from the volatile environment. 2010-01-28 13:34:05 +01:00
Alexandre Julliard
2c0e31cfdc kernel32: Treat PWD as a special environment variable. 2010-01-28 13:29:53 +01:00
Michael Stefaniuc
4f60b6bf91 kernel32: Add missing stdarg.h includes. 2009-12-31 12:12:17 +01:00
Alexandre Julliard
8268ed9783 kernel32: Do not include 16-bit headers in 32-bit files. 2009-12-30 16:21:56 +01:00
Andrew Nguyen
9294882b94 kernel32: Ignore empty environment values from registry. 2009-12-24 17:00:08 +01:00
Andrew Nguyen
542feda6b8 ntdll: Use the HKCU\Volatile Environment key when generating the initial process environment. 2009-12-24 16:59:00 +01:00
Dmitry Timoshkov
2536bfd1d8 kernel32: Explicitly treat the current working directory name as a unix one. 2009-12-04 14:42:05 +01:00
Paul Chitescu
590cc1ad55 kernel32: Reduce registry access to KEY_READ wherever possible. 2009-11-30 16:33:54 +01:00
Alexandre Julliard
a045122754 kernel32: Pass the exe name as argument to FormatMessage. 2009-11-29 16:42:50 +01:00
Alexandre Julliard
c9e25dbe35 kernel32: Set the 64-bit flag for builtin executables based on their load directory. 2009-10-28 11:09:20 +01:00
Alexandre Julliard
4313c95526 kernel32: Retrieve the executable information as soon as we open the file. 2009-10-28 11:03:05 +01:00
Alexandre Julliard
28f13f83a6 kernel32: Add a structure to store all the information about an executable. 2009-10-28 11:03:04 +01:00
Alexandre Julliard
072b737059 kernel32: Specify the full application path when starting wineboot.exe. 2009-10-28 10:55:35 +01:00
Alexandre Julliard
c9689897d9 kernel32: Create the syswow64 directory if necessary. 2009-10-22 19:52:12 +02:00
Alexandre Julliard
f86d10ffb6 kernel32: Make sure the 32/64-bit state of the wineprefix matches the binary we are running. 2009-10-21 19:45:17 +02:00
Alexandre Julliard
87894c5f7b kernel32: Use the PWD variable to set the initial current directory. 2009-10-15 12:06:23 +02:00
Stefan Dösinger
282cc71aed kernel32: Make some functions hookable. 2009-10-14 12:21:05 +02:00
Alexandre Julliard
e0ce6dc32e kernel32: Move Get/SetProcessDword to kernel16.c. 2009-10-08 11:12:21 +02:00
Alexandre Julliard
6404817de4 kernel32: Move the 16-bit handle functions to kernel16.c. 2009-10-08 11:12:14 +02:00
Alexandre Julliard
b6e0b3428d kernel32: Move the 16-bit thread and process functions to kernel16.c. 2009-10-08 11:11:45 +02:00
Alexandre Julliard
c9d85dd576 ntdll: Route the process startup through the platform-specific thread startup code. 2009-08-29 11:24:44 +02:00