Alexandre Julliard
2436da5cef
include: Add some new information classes.
2023-07-13 18:41:13 +02:00
Alistair Leslie-Hughes
b55cc1bf8a
kernelbase: Remove DECLSPEC_HIDDEN usage.
2023-07-12 10:55:10 +02:00
Paul Gofman
4021dde40d
kernelbase: Add stub for QueryIoRingCapabilities().
2023-07-11 20:23:08 +02:00
Alexandre Julliard
7261aca185
kernelbase: Use ProcessWow64Information to retrieve the 32-bit PEB.
2023-07-11 14:15:30 +02:00
Zhiyi Zhang
884cff8214
kernelbase: Check if locale is NULL before using it in Internal_EnumDateFormats().
...
Initialize the calendars variable after checking if locale is NULL before using it to avoid NULL
pointer references. Fix a Excel 2016 crash when formatting dates with the custom format 'ddd'.
It calls EnumDateFormatsExEx() with the 'yi-Hebr' locale, which is added in Win10.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55099
2023-06-30 20:24:42 +02:00
Alexandre Julliard
c908ad6fcd
kernelbase: Don't define stdcall functions on non-i386.
2023-06-14 18:53:36 +02:00
Alexandre Julliard
0d2046ccf3
kernelbase: Use nameless unions/structs for IO_STATUS_BLOCK.
2023-06-06 21:09:32 +02:00
Alexandre Julliard
4f6a40b1e2
kernelbase: Use nameless unions/structs for CPU-related data.
2023-06-06 21:09:32 +02:00
Alexandre Julliard
9276d53ee8
kernelbase: Use nameless unions/structs for loader data.
2023-06-06 21:09:32 +02:00
Rémi Bernon
6e23814253
kernelbase: Comment out DECLSPEC_HOTPATCH for ConvertThreadToFiber.
2023-06-05 14:01:07 +02:00
Alexandre Julliard
58bc99dce6
kernelbase: Update timezone data to version 2023c.
2023-06-04 18:25:55 +02:00
Paul Gofman
e7845fc330
kernelbase: Don't modify non-volatile regs in RaiseException() on x64.
2023-06-01 22:00:19 +02:00
Paul Gofman
fce615a2c3
ntdll: Support MEM_PRESERVE_PLACEHOLDER in NtUnmapViewOfSectionEx().
2023-05-30 12:12:09 +02:00
Paul Gofman
3e3ca7dd28
ntdll: Validate flags in NtUnmapViewOfSectionEx().
2023-05-30 12:12:09 +02:00
Paul Gofman
4806b1c226
kernelbase/tests: Add tests for MEM_PRESERVE_PLACEHOLDER with UnmapViewOfFile2().
2023-05-30 12:12:09 +02:00
Paul Gofman
f99b972771
ntdll/tests: Add more tests for placeholders.
2023-05-25 16:21:17 +02:00
Paul Gofman
4142d1e049
ntdll: Support MEM_PRESERVE_PLACEHOLDER in NtFreeVirtualMemory().
2023-05-25 16:21:17 +02:00
Paul Gofman
383d43d6cc
ntdll: Support MEM_RESERVE_PLACEHOLDER in NtAllocateVirtualMemoryEx().
...
Based on a patch by Nikolay Sivov.
2023-05-25 16:21:17 +02:00
Paul Gofman
376bd69c42
ntdll: Handle NULL process handle in MapViewOfFile3().
...
Based on a patch by Nikolay Sivov.
2023-05-25 16:21:17 +02:00
Alexandre Julliard
d203af0fd7
kernelbase: Add support for the PROC_THREAD_ATTRIBUTE_MACHINE_TYPE attribute.
2023-05-24 15:43:54 +02:00
Alexandre Julliard
ca7a7abe85
kernelbase: Add a helper function to validate process/thread attributes.
2023-05-24 15:43:54 +02:00
Francois Gouget
c6ab26bd04
kernelbase/tests: Use win_skip() for missing APIs.
2023-05-11 22:53:14 +02:00
Alexandre Julliard
483a2203eb
kernelbase: Move Wow64EnableWow64FsRedirection() from kernel32 to kernelbase.
...
Following recent Windows versions.
2023-05-11 22:53:14 +02:00
Paul Gofman
d8fc23d86e
kernelbase: Validate nonzero size for MEM_RELEASE in VirtualFreeEx().
2023-05-11 13:51:12 +02:00
Zebediah Figura
8fb562f7c2
ntdll: Fix the prototype of NtDuplicateToken().
...
The fourth parameter is a boolean flag. The impersonation level is specified
only through the SECURITY_QUALITY_OF_SERVICE structure.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54913
2023-05-08 20:02:26 +02:00
Etaash Mathamsetty
bd89ab3040
kernelbase: Add GetPackagesByPackageFamily stub.
2023-05-03 22:10:46 +02:00
Ake Rehnman
5a3fd972f4
ntdll: Fix RtlValidSecurityDescriptor() return value.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-05-03 16:48:44 +02:00
Ake Rehnman
f6e11d6566
ntdll: Fix return value of RtlInitializeSid().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-05-03 16:48:44 +02:00
Alexandre Julliard
cab914c3aa
kernelbase: Move to a higher address on 64-bit.
2023-04-22 17:34:32 +02:00
Jinoh Kang
3268601dae
kernelbase: Implement activation context switching for fibers.
2023-04-19 20:26:15 +02:00
Hugh McMaster
30f1c1be74
kernelbase: Implement GetConsoleOriginalTitleA().
2023-04-03 16:52:01 +02:00
Hugh McMaster
887aa70e08
kernelbase: Implement GetConsoleOriginalTitleW().
2023-04-03 16:52:01 +02:00
Sven Baars
24208208e3
kernelbase: Remove special Wow64 handling for HKEY_CLASSES_ROOT.
...
The server always returns the same key now.
2023-03-29 22:29:37 +02:00
Sven Baars
da0ec7fbbd
kernelbase: Recursively obtain the Wow6432Node parent.
2023-03-28 20:40:09 +02:00
Sven Baars
63c6b89314
kernelbase: Add support for shared registry keys.
2023-03-28 20:40:09 +02:00
Sven Baars
3bbd37d0bb
kernelbase: Call create_key() from create_subkey().
2023-03-28 20:40:08 +02:00
Sven Baars
899b0b82af
kernelbase: Factor creating a subkey out of create_key().
2023-03-28 20:40:08 +02:00
Sven Baars
3609508c2f
kernelbase: Don't open Wow6432nodes from create_key().
...
These can never exist in a newly created key.
2023-03-28 20:40:07 +02:00
Alexandre Julliard
94456eb46d
kernelbase: Fix pattern checking for genitive month names in get_date_format().
2023-03-24 16:06:08 +01:00
Sven Baars
5ed70ee20e
kernelbase: Return the last existing key from open_key() when it's called from create_key().
2023-03-22 20:03:52 +01:00
Sven Baars
6e3e9a1787
kernelbase: Pass a name pointer to open_key().
2023-03-22 20:03:52 +01:00
Sven Baars
3f82f6ff59
kernelbase: Use open_key() to obtain any existing Wow6432node in create_key().
2023-03-22 20:03:52 +01:00
Sven Baars
35b56daf1f
kernelbase: Call open_key() from open_subkey().
2023-03-22 20:03:52 +01:00
Alexandre Julliard
ccd9640493
kernelbase: Use RtlGetNativeSystemInformation() to implement GetNativeSystemInfo().
2023-03-22 20:03:51 +01:00
Alexandre Julliard
687068e7d6
include: Declare some missing ntdll functions, and fix the sorting.
2023-03-22 20:03:51 +01:00
Sven Baars
88fa3459b9
kernelbase: Also call NtOpenKeyEx() on empty key names.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54691
2023-03-17 14:12:33 +01:00
Sven Baars
b5a0759b15
kernelbase: Restructure the create_key() loop.
2023-03-15 16:12:31 +01:00
Sven Baars
6b7adb3d5d
kernelbase: Add a fast path to create_key().
2023-03-15 16:12:31 +01:00
Sven Baars
5d7bbb56c1
kernelbase: Move create_key() below open_key().
2023-03-15 16:12:31 +01:00
Sven Baars
0badf072e0
kernelbase: Factor opening a subkey out of open_key().
2023-03-15 16:12:31 +01:00