Michael Müller
37c983966b
ntdll: Implement RunlevelInformationInActivationContext in RtlQueryInformationActivationContext.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:55:08 +01:00
Alexandre Julliard
4a2ad423a6
server: Implement the various image flags in SECTION_IMAGE_INFORMATION.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 12:22:43 +01:00
Alexandre Julliard
2df367a4f7
kernel32/tests: Add some tests for CIL 32-bit image flags.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 08:25:29 +01:00
Alexandre Julliard
b6ca8fd25d
kernel32/tests: Add some tests for image flags and CLR images.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 20:23:27 +01:00
Mark Jansen
0f1cb96b69
ntdll: Parse manifest compatibility section.
...
Signed-off-by: Mark Jansen <mark.jansen@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 17:20:36 +01:00
Mark Jansen
74862f2e96
kernel32/tests: Add tests for the compatibility section in actctx.
...
Signed-off-by: Mark Jansen <mark.jansen@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 16:34:14 +01:00
Daniel Lehman
fe09e2dba6
kernel32: Change error return from GlobalFree.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-03 12:01:40 +01:00
Paul Graham
39899fd11a
kernel32: Fix failure reporting in WritePrivateProfile* and add tests.
...
Conformance tests based on work by Fabian Maurer, with some adaptations.
Signed-off-by: Paul Graham <development@omega-software.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:58 +01:00
Alexandre Julliard
a8a74134e8
ntdll: Check for file mappings that cannot be loaded as dlls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 15:10:24 +01:00
Alexandre Julliard
0810e6a688
server: Implement the ImageContainsCode flag for image mappings.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 11:12:49 +01:00
Alexandre Julliard
41275cbabf
ntdll: Don't return 64-bit image info to 32-bit processes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 10:59:12 +01:00
Alexandre Julliard
f9bd73c4d6
server: Allow creating image mappings for all supported CPU platforms.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 10:57:00 +01:00
Jacek Caban
72f3fa9e2d
kernel32: Don't initialize Information of passed OVERLAPPED struct in WriteFile.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:28:38 +01:00
Jacek Caban
84ae4b937f
kernel32: Always set bytes written in WriteFile.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:28:38 +01:00
Jacek Caban
c47c74e5d3
kernel32: Don't initialize Information of passed OVERLAPPED struct in ReadFile.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:28:38 +01:00
Jacek Caban
d5cd34c7df
kernel32: Always set bytes read in ReadFile.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:28:38 +01:00
Michael Stefaniuc
0efd18f45a
kernel32/tests: Fix the HeapReAlloc name in two comments.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 12:41:16 +01:00
Alexandre Julliard
a83532d8dd
ntdll: Store the context on the thread stack after the initial suspend.
...
The initial stack pointer may have been modified during suspend.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:45 +01:00
Alexandre Julliard
f10b6f6c35
kernel32/tests: Also test wrong architecture with matching 32/64 bitness.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-11 10:06:41 +01:00
Alex Henrie
84a5c59604
kernel32/tests: Drop module test workarounds for Windows <= 2000.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-10 18:26:56 +01:00
Francois Gouget
8f35b20a11
kernel32/tests: A couple spelling fixes in a comment.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-08 22:47:23 +01:00
Alex Henrie
3675b7035e
kernel32/tests: Add missing return value check to module tests (Coverity).
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-08 19:26:44 +01:00
Andrey Gusev
e041039ce6
kernel32/tests: Fix a typo in comment.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-08 13:58:21 +01:00
Andrey Gusev
027e2add2e
kernel32/tests: Fix resource leak.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-03 19:13:24 +01:00
Zebediah Figura
e87ced67c8
kernel32/tests: Update product type test.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 13:25:20 +01:00
André Hentschel
a1da7dbd2b
kernel32/tests: Don't test functions directly when reporting GetLastError().
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 11:10:39 +01:00
Alexandre Julliard
d108ff79d5
ntdll: NtQuerySection takes SIZE_T parameters.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-28 13:06:43 +01:00
Alexandre Julliard
decf34e0e8
kernel32/tests: Add missing todos for 64-bit.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-28 13:04:09 +01:00
Alexandre Julliard
8a3624afc2
kernel32/tests: Add tests for loading dlls of different 32/64 bitness.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-27 21:12:46 +01:00
Alexandre Julliard
69a332fd03
kernel32/tests: Add tests for the ImageContainsCode flag.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-27 21:12:46 +01:00
Alexandre Julliard
c1487e4938
kernel32/tests: Build the dll path in the create_test_dll helper function.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-27 18:36:34 +01:00
Andrey Gusev
c49e306cac
kernel32/tests: Fix a typo in ok() message.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-22 16:29:33 +01:00
Alexandre Julliard
e5d8129a3f
kernel32/tests: Improve tests for 32/64-bit image mappings.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-19 19:48:45 +01:00
Andrew Eikum
f87a2f0e4c
ntdll: Don't require full-page reads in NtReadFileScatter.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-07 19:13:52 +01:00
Andrew Eikum
64edbfa6fe
ntdll: Don't return an error when reading past EOF in NtReadFileScatter.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-07 19:13:41 +01:00
Andrew Eikum
5262761135
ntdll: Report NtReadFileScatter results asynchronously.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-07 19:13:37 +01:00
Alexandre Julliard
b802f88319
kernel32/tests: Add a test for the thread initial context.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 19:06:44 +01:00
Alexandre Julliard
c63a08586f
kernel32: Don't return a parent locale for neutral locales in GetLocaleInfoEx.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 20:32:52 +01:00
Jacek Caban
4e9f4ee4a7
kernel32/tests: Silence noisy debug traces.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 19:08:54 +01:00
Alexandre Julliard
8477ae27a8
ntdll: Fixup imports in the first thread that runs, even if it's not the main one.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-20 20:24:39 +01:00
Jonathan Doron
2f8c9d449b
kernel32/tests: Test suspended process with new thread.
...
Test the exe imports resolve time if a new thread is being created in
a new suspended process.
Signed-off-by: Jonathan Doron <jond@wizery.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-20 17:10:47 +01:00
Zebediah Figura
74b1426bba
kernel32/tests: Don't close the stop_event handle.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-17 10:28:35 +01:00
Zebediah Figura
7ecf84c421
kernel32/tests: Trace thread IDs in hexadecimal.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-17 10:28:26 +01:00
Alexandre Julliard
c5a39bd98f
kernel32: Keep the sublanguage specified by the script name when looking for the default.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-13 19:43:13 +01:00
Rafał Harabień
56424c5b6f
kernel32/tests: Check last error after successful Tls/FlsGetValue calls.
...
Signed-off-by: Rafał Harabień <rafalh1992@o2.pl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-13 13:02:58 +01:00
Alex Henrie
f962bb0039
kernel32/tests: Detect and handle a redirected stdin.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-06 21:31:07 +01:00
Zhiyi Zhang
1354c0f3e4
kernel32/tests: Add more tests for LocaleNameToLCID and LCIDToLocalName.
...
Signed-off-by: Zhiyi Zhang <gd.yi@139.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 12:14:11 +01:00
Alexandre Julliard
e488a246a5
kernel32/tests: Use WINAPIV calling convention for variadic functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:17:04 +01:00
Andrey Gusev
c9e37d8142
kernel32/tests: Remove redundant comparison.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-11 20:31:05 +02:00
Zebediah Figura
7477792b4c
server: FSCTL_PIPE_LISTEN on a pipe client should return STATUS_ILLEGAL_FUNCTION.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 19:52:36 +02:00