Commit graph

66 commits

Author SHA1 Message Date
Alexandre Julliard
da8acbc47d server: Define an architecture-independent structure for process startup info. 2009-08-21 20:00:12 +02:00
Alexandre Julliard
e49918b5a2 kernel32: Use a longer wineboot timeout for the initial prefix creation. 2009-08-18 12:17:04 +02:00
Alexandre Julliard
d492389d23 kernel32: Don't wait for wineboot once the process is no longer running. 2009-08-18 12:14:12 +02:00
Alexandre Julliard
a9feb3d271 kernel32: Check the 64-bit flag when starting a process. 2009-08-12 17:25:59 +02:00
Alexandre Julliard
f274d1d03f kernel32: Change MODULE_GetBinaryType return value to make dll a flag instead of a type. 2009-08-12 17:04:38 +02:00
Andrew Nguyen
f63f4026cf kernel32: Implement WTSGetActiveConsoleSessionId as a stub. 2009-07-16 11:21:21 +02:00
Alexandre Julliard
03d6da0894 kernel32: Add implementation of GetSystemWow64DirectoryA/W. 2009-07-07 11:42:03 +02:00
Alexandre Julliard
887af61219 kernel32: Avoid the close-on-exec race with pipe() on kernels that support pipe2(). 2009-07-01 12:13:46 +02:00
Alexandre Julliard
d303d9dc29 kernel32: Add appropriate stdcall decorations to assembly functions. 2009-06-15 13:42:26 +02:00
Stefan Leichter
57f9236741 kernel32: Implement QueryFullProcessImageNameA. 2009-06-11 13:23:25 +02:00
Andrew Nguyen
7c2c6a575c kernel32: Correct the last error of CreateProcessW with an empty command line string. 2009-05-18 14:31:07 +02:00
Andrew Nguyen
645e59c490 kernel32: Correct the last error of CreateProcessW with an empty application name string. 2009-05-18 14:31:07 +02:00
Andrew Nguyen
6c27fa1038 kernel32: Don't validate the command line parameter of CreateProcessW. 2009-05-18 14:31:07 +02:00
Alexandre Julliard
c6083037a8 kernel32: Make sure the string is properly terminated in QueryFullProcessImageNameW. 2009-04-22 16:56:37 +02:00
Alexandre Julliard
fc87182d19 kernel32: Set argv[0] to the full path of the binary when starting from Unix. 2009-04-02 12:59:32 +02:00
Alexandre Julliard
7b7f35aee5 kernel32: Use __wine_main_environ by default, environ is broken on FreeBSD too. 2009-04-02 12:03:35 +02:00
Alexandre Julliard
8edf353bd2 libwine: Export __wine_get_main_environment on Mac OS to make sure it's reevaluated when used. 2009-04-01 15:07:42 +02:00
Mikołaj Zalewski
9c9532265d kernel32: Implement QueryFullProcessImageFileNameW. 2009-03-31 18:05:55 +02:00
Alexandre Julliard
f4a19c8463 loader: Merge the first and second stage loaders into a single wine binary. 2009-03-10 18:22:38 +01:00
Alexandre Julliard
825d7fda6c kernel32: Make sure the process has an entry point before starting it. 2009-02-26 13:25:40 +01:00
Alexandre Julliard
3d0cf96f01 kernel32: Print a nicer error message when 16-bit/DOS apps cannot be launched. 2009-02-24 16:57:25 +01:00
Francois Gouget
4a8e1feeb4 kernel32: Fix an off-by-one error in build_envp().
We need to take into account the trailing NULL in envp.
2009-02-18 12:17:41 +01:00
Marcus Meissner
5493b77290 kernel32: Handle username conversion failure (Coverity). 2009-02-02 15:21:43 +01:00
Nikolay Sivov
2013cdc604 kernel32: Implemented GetErrorMode(). 2009-01-13 16:39:45 +01:00
Maarten Lankhorst
70441d5bb8 kernel32: Change all functions to use CDECL. 2008-12-23 13:09:45 +01:00
Maarten Lankhorst
768160e944 ntdll: Make all exported wine functions CDECL. 2008-12-17 15:02:25 +01:00
Austin English
7a92db4e8b kernel32: Convert a warn to an err. 2008-12-10 11:23:37 +01:00
Alexandre Julliard
d1b3d484f7 server: Add functions for conversions between server object handles and pointer-style handles. 2008-12-08 16:05:17 +01:00
Alexandre Julliard
fea2aa55d0 include: Fix the 64-bit value of magic handle constants. 2008-12-08 15:51:22 +01:00
Alexandre Julliard
a4e688218c kernel32: Call build_envp in the parent process so that it can use the Win32 heap. 2008-10-31 14:55:33 +01:00
Alexandre Julliard
da03d9355d kernel32: Call build_argv in the parent process so that it can use the Win32 heap. 2008-10-31 14:02:04 +01:00
Alexandre Julliard
5002bd21d1 kernel32: Moved the pthread emulation support to ntdll. 2008-10-30 15:39:50 +01:00
Dmitry Timoshkov
228c52de57 kernel32: Add support for foreign process handles in GetProcessVersion. 2008-10-16 11:21:40 +02:00
Andrey Turkin
7ba54ab45c kernel32: Add ExitProcess wrapper to please Shrinker. 2008-10-08 14:26:19 +02:00
Alexandre Julliard
5861612e86 kernel32: Set the stdin/stdout file descriptors to match the specified Win32 handles when possible. 2008-07-10 12:20:56 +02:00
Louis Lenders
d9fa87382e kernel32: Fix typo in SetProcessAffinityMask. 2008-06-20 11:18:06 +02:00
Alexandre Julliard
12de7d7591 kernel32: Move the wineboot event wait so that 16-bit processes wait too. 2008-05-13 20:26:37 +02:00
Alexandre Julliard
6477a1c1bf kernel32: Set the USERPROFILE and ALLUSERSPROFILE environment variables based on the ProfileList registry keys. 2008-05-06 16:07:13 +02:00
Dmitry Timoshkov
fab78cdc8d kernel32: Print in the trace pid and tid of the created process. 2008-05-06 11:25:50 +02:00
Alexandre Julliard
4073805aeb kernel32: If necessary reload the environment after wineboot has run. 2008-04-24 11:53:45 +02:00
Alexandre Julliard
05e55edd82 kernel32: Create the windows and system directories if necessary. 2008-04-17 20:33:47 +02:00
Alexandre Julliard
7a7ef6a64c kernel32: Moved the allocation of the process stack to ntdll. 2008-03-26 17:08:38 +01:00
Anatoly Lyutin
f773e148b0 kernel32: Implement IsWow64Process. 2008-03-24 20:39:22 +01:00
Dmitry Timoshkov
aebcbf0f6e kernel32: Return upper cased drive letters in paths, some applications depend on it. 2008-02-27 14:52:26 +01:00
Alistair Leslie-Hughes
9d36b416a7 kernel32: Add RegisterApplicationRestart stub. 2008-02-05 12:06:09 +01:00
Gerald Pfeifer
39f672798b kernel32: Use setproctitle where applicable to set the process name.
Based on a patch by Kris Moore.
2008-01-21 11:52:33 +01:00
Alexandre Julliard
9261c63ab3 kernel32: Fix the system affinity returned by GetProcessAffinityMask. 2008-01-16 21:01:33 +01:00
Alexandre Julliard
1d6d080d4b wineboot: Add a --init option used when launched automatically at startup.
Don't execute Run entries in that case.
2008-01-16 19:51:14 +01:00
Alexandre Julliard
9c00a78da5 kernel32: Don't inherit stdin/stdout handles in wineboot. 2008-01-14 15:49:56 +01:00
Alexandre Julliard
5a3132343d kernel32: Close the stdio handles when creating a detached process. 2008-01-14 15:49:12 +01:00