Eric Pouech
a0fee49db2
kernel32: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 11:21:29 +01:00
Alexandre Julliard
97479d3d32
ntdll: Move some exception definitions to winternl.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 13:52:42 +02:00
Alexandre Julliard
171de0a7f6
kernel32: Fix GetLogicalProcessorInformationEx() usage.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-26 21:29:37 +02:00
Alex Henrie
8ddff3f51f
kernel32: Reimplement GetMaximumProcessorGroupCount on top of GetLogicalProcessorInformationEx.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-25 22:01:44 +02:00
Alex Henrie
04114db90b
kernel32: Reimplement GetMaximumProcessorCount on top of GetLogicalProcessorInformationEx.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-25 22:01:41 +02:00
Alex Henrie
6aeb297d20
kernel32: Reimplement GetActiveProcessorCount on top of GetLogicalProcessorInformationEx.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-25 22:01:39 +02:00
Alex Henrie
59e9a8ecf3
kernel32: Reimplement GetActiveProcessorGroupCount on top of GetLogicalProcessorInformationEx.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-25 22:01:37 +02:00
Alex Henrie
0cd033a07e
kernel32: Fix return type of GetMaximumProcessorGroupCount.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-25 22:01:34 +02:00
Alex Henrie
1e9757778c
kernel32: Print processor group in Get(Active|Maximum)ProcessorCount.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-26 21:34:02 +02:00
Esme Povirk
773161f84b
kernel32: Add stub for GetMaximumProcessorGroupCount.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-12 19:32:15 +02:00
Alexandre Julliard
e11f6e0eb3
kernel32: Don't use wine/server.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-16 23:01:37 +01:00
Alexandre Julliard
584427fc89
server: Avoid redefining the DuplicateHandle() constants.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-16 21:20:47 +01:00
Zebediah Figura
b629212452
kernel32: Implement SetProcessDEPPolicy().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:17:45 +01:00
Zebediah Figura
246e2356e5
kernel32: Implement GetSystemDEPPolicy().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:17:43 +01:00
Jacek Caban
9091121669
kernel32: Remove no longer used variables.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-02 19:08:04 +01:00
Michael Stefaniuc
c5ff8ff27e
kernel32: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-17 09:52:27 +01:00
Alexandre Julliard
0c631ebb23
kernel32: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-28 19:38:42 +02:00
Alexandre Julliard
f7e4fd0cf8
kernel32: Remove the no longer used __wine_start_process() function.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-01 16:41:03 +02:00
Alexandre Julliard
2b40969c58
kernel32: Move the initial process breakpoint to LdrInitializeThunk().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-31 11:36:24 +02:00
Paul Gofman
a4af2b2b70
kernel32: Implement GetEnabledXStateFeatures().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-20 21:14:15 +02:00
Alex Henrie
f189bd4ba8
kernel32: Stub SetFirmwareEnvironmentVariableW.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49581
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-20 20:19:00 +02:00
Rémi Bernon
ceeb11d2a6
kernel32: Catch process creation breakpoint exceptions.
...
Metal Gear Solid V: Ground Zeroes attaches itself and continues this
specific breakpoint with DBG_EXCEPTION_NOT_HANDLED. It crashes the
child process and the game terminates.
It is correct for old Windows versions, but more recent versions are
apparently catching exceptions here, and the process should continue.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44127
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-03 11:58:05 +02:00
Alexandre Julliard
3c9cf9b65f
kernel32: Remove environ.c.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-27 00:14:03 +02:00
Alexandre Julliard
1b653e020d
kernel32: Remove cpu.c.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-27 00:13:59 +02:00
Alexandre Julliard
30428c19c1
kernel32: Remove actctx.c.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-27 00:13:55 +02:00
Alexandre Julliard
fc173ccca8
kernel32: Reimplement GetProcessVersion() in kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-26 15:58:13 +02:00
Dmitry Timoshkov
360820fb58
kernel32: On process entry store PEB address in %ebx.
...
8k demo custom PE loader depends on this.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=42125
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-15 11:42:25 +02:00
Alexandre Julliard
876d7af94e
kernel32: Move the psapi functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-06 16:24:24 +02:00
Alexandre Julliard
0c90da7f7e
kernel32: Move some stub functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-05 20:53:02 +02:00
Alexandre Julliard
a10f1e9d7b
kernel32: Move FlushProcessWriteBuffers() stub to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-05 20:53:02 +02:00
Andrew Wesie
f7a184e1bf
kernel32: Make QueryWorkingSetEx use MemoryWorkingSetExInformation.
...
Signed-off-by: Andrew Wesie <awesie@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 13:25:37 +01:00
Louis Lenders
626162f7db
kernel32: Return S_OK in RegisterApplicationRecoveryCallback stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43817
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-10 22:15:05 +01:00
Alexandre Julliard
30e5f1215e
kernel32: Remove __wine_kernel_init().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-10 18:24:32 +01:00
Alexandre Julliard
830de63139
kernel32: Use MultiByteToWideChar() and WideCharToMultiByte() from kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 15:30:03 +01:00
Alexandre Julliard
331947c993
kernel32: Move some initialization code to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
Alexandre Julliard
74eaa34147
kernel32: Initialize argv from the dll entry point.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
Chip Davis
19549d11a7
mountmgr: Populate HKLM\HARDWARE\DEVICEMAP\Scsi here instead of in kernel32.
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 21:56:23 +01:00
Alexandre Julliard
712ae337fe
kernel32: Move CreateProcess() functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 22:05:58 +01:00
Alexandre Julliard
eee3a4e84a
kernel32: Move support for starting Unix processes to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 22:05:58 +01:00
Alexandre Julliard
1deefb84ee
kernel32: Use RtlCreateUserProcess() to start new processes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 22:05:58 +01:00
Alexandre Julliard
83e520f556
kernel32: Move exec process functionality to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-11 22:58:00 +01:00
Alexandre Julliard
8c4a1cc792
server: Get rid of the unused file parameter in exec_process.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-11 20:02:36 +01:00
Alexandre Julliard
b0199ea2fe
ntdll: Load the main binary directly in ntdll when possible.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-07 19:24:19 +01:00
Alexandre Julliard
e5354008f4
kernel32: Move initialization of the WoW64 environment to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-05 13:25:02 +01:00
Alexandre Julliard
461b5e56f9
kernel32: Move support for running wineboot to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-05 13:25:02 +01:00
Alexandre Julliard
fd3735cf4d
kernel32: Move dll load path initialization to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-22 23:04:26 +02:00
Alexandre Julliard
2607bfa28f
kernel32: Move command line initialization to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-22 23:04:26 +02:00
Alexandre Julliard
ee56be3fcd
kernel32: Move Unicode argv initialization to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-22 23:04:26 +02:00
Alexandre Julliard
075741b681
kernel32: Move image path name initialization to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-22 23:04:26 +02:00
Alexandre Julliard
6b528d526d
kernel32: Move additional environment initialization to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-22 23:04:26 +02:00