Commit Graph

71 Commits

Author SHA1 Message Date
Alexandre Julliard af1a328fa0 ntdll: Use syscalls for the Wine version functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-25 19:31:43 +02:00
Alexandre Julliard dd77ff754b ntdll: Move the token functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-20 17:58:12 +02:00
Jacek Caban 180f7cf412 ntdll: Always use GNU _CI* functions implementation on clang.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-17 23:16:52 +02:00
Alexandre Julliard 3df16c0b70 ntdll: Use the exported name directly for a few more functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-30 12:25:08 +02:00
Alexandre Julliard 8a169390c9 ntdll: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-30 12:25:08 +02:00
Alexandre Julliard e605919198 ntdll: Move the math functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-26 09:12:11 +02:00
Alexandre Julliard 9b8fabf4b0 ntdll: Silence a va_start compiler warning.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-22 14:32:02 +02:00
Zebediah Figura 4cb95848fd ntdll: Remove extraneous newline from debugstr_ObjectAttributes().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-19 11:04:46 +02:00
Alexandre Julliard 9b8afa0f83 ntdll: Move the Wine version functions to the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-17 16:54:39 +02:00
Andrew Eikum 364d654ba3 advapi32: Add EventRegister and EventUnregister tests.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-31 17:43:58 +01:00
Richard Yao 8d55542473 advapi32: Add EventWriteString stub.
"Are You Ready for Valve Index?" needs this to work.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 16:13:26 +02:00
Jacek Caban 7f9faf10c7 ntdll: Implement DbgUiIssueRemoteBreakin.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 17:42:04 +02:00
Alexandre Julliard f535bcb2e6 advapi32: Move more event log stubs to ntdll.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 14:52:08 +02:00
Andrey Gusev 0296edbee8 ntdll: Add WinSqmIncrementDWORD stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45828
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-05 19:12:12 +01:00
Michael Müller 3b0d064283 ntdll: Add stub for ApiSetQueryApiSetPresence.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-14 14:07:42 +02:00
Fabian Maurer 754ee56644 ntdll: Add stub for NtCreateLowBoxToken.
This is required by chromium x64 sandbox >=win8.
Chrome for some reason is not affected.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45646
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-17 16:52:10 +02:00
Fabian Maurer d863e26834 ntdll: Add stub for WinSqmSetDWORD.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 16:05:38 +02:00
Austin English e13f59085f ntdll: Add DbgUiRemoteBreakin() stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 19:05:42 +02:00
Nikolay Sivov 77887b474e ntdll: Move EventWrite() to ntdll.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-07 16:17:03 -05:00
Nikolay Sivov 9f55292085 ntdll: Move EventEnabled() to ntdll.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-05 19:17:35 +02:00
Andrey Gusev 03d22addd1 ntdll: Move UnregisterTraceGuids from advapi32 to ntdll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 10:35:50 +01:00
Michael Müller 7ce4ae6895 ntdll: Move EventSetInformation from advapi32 to ntdll.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-02 15:55:46 +01:00
Michael Müller 900366fd07 ntdll: Move EventRegister/Unregister from advapi32 to ntdll.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-02 17:03:09 +01:00
Austin English 4f3607f754 ntdll: Add WinSqmEndSession/WinSqmStartSession stubs.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-01 22:12:21 +09:00
Jacek Caban d2d40b1da3 ntdll: Moved RegisterTraceGuids[AW] implementation to ntdll.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 22:45:08 +09:00
Stefan Leichter a9ae8dbf14 ntdll: Add stub for WinSqmIsOptedIn. 2015-04-22 14:02:21 +09:00
Frédéric Delanoy ec3a9a54f5 ntdll: Avoid potential integer overflow when computing median position in bsearch. 2014-07-03 18:17:30 +02:00
Jacek Caban 1d6bf952d3 ntdll: Removed no longer used defines. 2014-06-11 16:16:08 +02:00
Frédéric Delanoy 86fdca6750 ntdll: Use BOOL type where appropriate. 2013-10-30 09:45:20 +01:00
Francois Gouget 77a142da55 ntdll: Remove an unused debug channel. 2013-04-18 19:12:57 +02:00
Alexandre Julliard 17be935568 ntdll: Copy some missing math functions from msvcrt. 2013-03-14 13:43:46 +01:00
Piotr Caban 49250bec7c ntdll: Don't call compare function on memory not provided by user in qsort. 2011-03-30 12:20:47 +02:00
Stefan Oberhumer 6a3ca3ca5d ntdll: Fix possible overflow computing middle in NTDLL_mergesort(). 2010-10-05 12:20:19 +02:00
Stefan Oberhumer c8fb366eb0 ntdll: qsort: Comparator must not get the same pointer. 2010-10-05 12:20:08 +02:00
Stefan Oberhumer 38769ddfe9 ntdll: qsort: Check if necessary to sort. 2010-10-05 12:20:00 +02:00
Stefan Oberhumer 1d241bb200 ntdll: Make NTDLL_mergesort() stable. 2010-10-04 15:00:07 +02:00
Stefan Oberhumer 98134a8c5a ntdll: Fix 64 bit issue within NTDLL_mergesort(). 2010-10-04 15:00:07 +02:00
Marcus Meissner 34d17c9ea1 ntdll: qsort: comparator must not get the same pointer. 2010-05-24 11:27:25 +02:00
Alexandre Julliard 4dae774893 ntdll: Reimplement bsearch to avoid redundant and possibly out of bounds comparisons. 2010-05-23 22:26:51 +02:00
Marcus Meissner 2ecd1dfaba ntdll: Implement bsearch, lfind to use correct comparator functions. 2010-05-13 11:50:51 +02:00
Marcus Meissner 364242fcf3 ntdll: Rename mergesort to NTDLL_mergesort. 2010-05-12 14:13:15 +02:00
Marcus Meissner 7642e03c63 ntdll: Reimplement qsort() using generic mergesort. 2010-05-11 11:27:03 +02:00
Alexandre Julliard 4964374570 ntdll: The large integer functions are 32-bit only. 2009-08-24 15:17:33 +02:00
Alexandre Julliard 912d98c2ae ntdll: Improve debugging helper for object attributes structure. 2009-02-16 11:46:44 +01:00
Alexandre Julliard 66eb4bd375 ntdll: Add a function to export the host OS type and version. 2008-12-09 19:33:06 +01:00
Alexandre Julliard ccd0d6259d ntdll: Export the libwine version functions from ntdll too. 2008-03-26 23:38:36 +01:00
Francois Gouget 6936bb100f ntdll: Improve the prototypes Win64 compatibility by replacing long with LONG. 2007-06-11 20:18:28 +02:00
Francois Gouget f3899c2651 ntdll: Better match the PSDK types and fix the winapi_check warnings. 2007-02-09 14:32:57 +01:00
Hans Leidekker f7b0ba7aa7 ntdll: Win64 printf format warning fixes. 2006-10-18 12:35:26 +02:00
Alexandre Julliard 57939d8fa4 ntdll: Explicitly specify CDECL calling convention on exported functions. 2006-06-12 21:35:07 +02:00