Michael Müller
ab3c0a3e0a
ntdll: Implement ProcessPriorityClass in NtQueryInformationProcess.
...
Allows Process Hacker to show process priority.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:25:56 +01:00
Michael Müller
556ba38dd1
ntdll: Fix error code when querying too large memory address.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 17:24:36 +01:00
Alistair Leslie-Hughes
3b05f552e2
ntdll/tests: Use standard wine_dbgstr_longlong.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-08 20:13:55 +09:00
Akihiro Sagawa
7c06d99e83
ntdll/tests: Add more tests if we have real VM counters.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:24 +02:00
Alex Henrie
146cf041d9
ntdll: Always fill PagefileUsage counter with a nonzero value on Linux.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 21:57:12 +02:00
Alex Henrie
d6dfe19794
ntdll/tests: Dump entire VM_COUNTERS structure.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 21:57:12 +02:00
Alex Henrie
19a79f4228
ntdll: Implement ProcessVmCounters for Linux for other processes.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-09 16:37:42 -05:00
Alex Henrie
bf7a97e5d3
ntdll: Implement ProcessVmCounters for Linux.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:38 +01:00
Huw Davies
92fe612acb
ntdll/tests: Skip broken SYSTEM_HANDLE_INFORMATION behaviour.
...
Vista and 2008 only copy the first handle's information into the
buffer.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 20:38:15 +09:00
Huw Davies
cf22192b28
ntdll/tests: Dump the handle table on failure.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 00:09:39 +09:00
Michael Müller
1311c8157b
ntdll: NtUnmapViewOfSection should succeed for all offsets within the mapped range.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 22:03:21 +09:00
Michael Müller
5c50f65830
ntdll: Implement SystemRecommendedSharedDataAlignment class in NtQuerySystemInformation.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:06:54 +09:00
Francois Gouget
93988c5039
ntdll/tests: Fix an infinite loop on platforms where NtQuerySystemInformationEx() is not implemented.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:30:50 +09:00
Andrew Eikum
a124064ce5
ntdll: Implement SystemLogicalProcessorInformationEx.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 00:49:31 +09:00
Nikolay Sivov
ae1fe69e39
kernel32: Forward GetLogicalProcessorInformationEx() to ntdll.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 15:08:29 +01:00
Nikolay Sivov
114123370b
ntdll: Add NtQuerySystemInformationEx() stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 15:08:26 +01:00
Nikolay Sivov
c9c138f53f
ntdll/tests: Some tests for NtQuerySystemInformationEx().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 15:08:20 +01:00
Sebastian Lackner
08706ef357
server: Implement wineserver call for SystemHandleInformation.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 17:51:59 +01:00
Sebastian Lackner
e4e906c871
ntdll/tests: Add more tests for SystemHandleInformation.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 11:51:06 +01:00
Sebastian Lackner
1980834c7d
ntdll: ProcessDebugFlags should return debug_children flag instead of !debugger_present.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:14:43 +01:00
Sebastian Lackner
85df0c61e5
ntdll/tests: Add more tests for ProcessDebugFlags.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-10 16:26:03 +09:00
Sebastian Lackner
b1c8e0591c
ntdll/tests: Print the correct status code in ok() messages.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:09:24 +09:00
André Hentschel
c4cd981a61
ntdll/tests: Add ARM64 support for map protection tests.
2015-08-17 16:59:32 +09:00
Sebastian Lackner
905bf79337
server: Store correct entry point for first thread.
2015-07-30 11:37:15 +02:00
Sebastian Lackner
22f0611cf9
ntdll/tests: Add tests for ThreadQuerySetWin32StartAddress info class.
2015-07-29 21:44:03 +02:00
Qian Hong
d45bda3014
ntdll: Fixed buffer size checking for ProcessWow64Information on 64bit in NtQueryInformationProcess.
2015-01-15 11:39:42 +01:00
Frédéric Delanoy
0f2bed51bd
Assorted spelling fixes.
2014-02-10 15:47:29 +01:00
André Hentschel
51ec8af230
ntdll/tests: Add ARM support for map protection tests.
2013-12-10 12:20:36 +01:00
Frédéric Delanoy
5ba7f79bad
Assorted spelling fixes.
2013-12-03 19:41:53 +01:00
André Hentschel
a160a65317
ntdll: Enable compilation with -D__WINESRC__.
2013-11-06 12:01:53 +01:00
Frédéric Delanoy
81b181fe72
ntdll/tests: Use BOOL type where appropriate.
2013-10-29 10:22:15 +01:00
Detlef Riekenberg
3e162934d1
ntdll/tests: Fix SYSTEM_CACHE_INFORMATION failures.
2013-01-17 12:18:54 +01:00
André Hentschel
7f74df0224
ntdll/tests: Fix check for PAGE_READWRITE.
2012-12-03 18:24:39 +01:00
Akihiro Sagawa
bb4a31a8ed
ntdll: Calculate SystemProcessInformation's ReturnLength and return it.
2012-10-24 14:19:47 +02:00
Akihiro Sagawa
3fc4e88473
ntdll: Add ReturnLength test for NtQuerySystemInformation with SystemProcessInformation.
2012-10-24 14:19:35 +02:00
Alexandre Julliard
be2b45ce0a
ntdll/tests: Fix some test failures on Windows.
2012-10-12 11:47:01 +02:00
Michael Stefaniuc
dfd4191de4
ntdll/tests: Fix a memory leak (Smatch).
2012-09-17 12:05:48 +02:00
James Eder
fbd5a9aaff
ntdll/tests: Add test for ProcessorInformation case of NtPowerInformation.
2012-09-13 16:55:33 +02:00
Piotr Caban
67920ea6dd
ntdll/tests: Added basic NtQuerySystemInformation(SystemLogicalProcessorInformation) tests.
2012-09-04 16:15:55 +02:00
Gerald Pfeifer
80d078d071
ntdll: Omit unused typedef in test_query_process_basic.
2012-07-09 09:59:46 -04:00
Gerald Pfeifer
0016d8a2dd
ntdll: Omit unused typedef in test_query_process.
2012-06-21 08:36:38 +02:00
Gerald Pfeifer
43923decba
ntdll: Omit unused typedef in test_query_timeofday.
2012-06-05 19:58:12 +02:00
Detlef Riekenberg
0e235e5dc6
ntdll/tests: Add tests for NtGetCurrentProcessorNumber.
2012-05-21 11:33:40 +02:00
Dmitry Timoshkov
277259157b
ntdll: Change the virtual memory test to accept both READWRITE and WRITECOPY protections.
2011-11-23 14:14:17 +01:00
André Hentschel
94a9db6383
ntdll/tests: Run the execution test only on x86 platforms.
2011-09-08 11:13:36 +02:00
Steven Wallace
b3369e06c7
ntdll: implemented ProcessDebugFlags in NtQueryInformationProcess.
2011-03-30 15:10:01 +02:00
Austin English
3dd514cee7
ntdll/tests: Make sure return values are used (LLVM/Clang).
2011-02-08 13:42:14 -06:00
Marcus Meissner
da8c179d61
ntdll: Fixed file view mapping in regards to no-exec.
2010-11-15 13:20:09 +01:00
Marcus Meissner
2e7dc35786
ntdll: Check and fix PE header protections.
2010-11-08 18:12:57 +01:00
Alexandre Julliard
7a151d5e3e
ntdll/tests: Fix a test failure on 64-bit platforms.
2010-09-30 11:19:31 +02:00