reactos/dll/win32/kernel32
Hermès Bélusca-Maïto effdb6f232
[KERNEL32][RTL] Diverse fixes/improvements for thread stack creation code. (#802)
- kernel32!BaseCreateStack() is compatible with ntdll!RtlpCreateUserStack().
- When checking whether a stack guard page can be added, its size has to
  be accounted for in the checking logic.
- We have to satisfy the PEB::MinimumStackCommit constraint.
- We cannot use PEB::GuaranteedStackBytes in BaseCreateStack() since it is
  nowhere initialized (default is 0). It gets initialized to a non-zero
  value when the user manually calls SetThreadStackGuarantee().
  https://www.installsetupconfig.com/win32programming/windowsthreadsprocessapis7_6.html

- RtlpCreateUserStack(): Fix memory leak in failure case.
- RtlpFreeUserStack() doesn't need to return anything.

See also commit 1bc59379 (r59868).

CORE-11319
2019-08-01 19:04:13 +02:00
..
client [KERNEL32][RTL] Diverse fixes/improvements for thread stack creation code. (#802) 2019-08-01 19:04:13 +02:00
include [KERNEL32][RTL] Diverse fixes/improvements for thread stack creation code. (#802) 2019-08-01 19:04:13 +02:00
wine [KERNEL32] Get/SetTimeZoneInformation: Convert the Milliseconds value between TIME_FIELDS and SYSTEMTIME too 2018-06-01 12:49:26 +02:00
winnls [KERNEL32] Implement InvalidateNLSCache 2019-04-16 21:41:58 +09:00
CMakeLists.txt [KERNEL32] Support Japanese calendar (#1482) 2019-04-07 20:20:23 +09:00
k32.h [KERNEL32] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
kernel32.rc [TRANSLATION] Polish translation update (#1029) 2018-11-11 17:55:01 +01:00
kernel32.spec [KERNEL32] Fix typo in kernel32.spec (#1453) 2019-04-02 15:48:41 +02:00