Commit Graph

515 Commits

Author SHA1 Message Date
Vijay Kiran Kamuju 0f23cf61da include: Add missing defines for tokens in winnt.h.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:17:05 +01:00
Jacek Caban 7ceca21835 winnt.h: Add missing NTSYSAPI attributes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-11 21:51:28 +01:00
Alexandre Julliard bf03953942 kernelbase: Implement GetSystemWow64Directory2().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 22:05:58 +01:00
Alistair Leslie-Hughes 2ef00173e1 include: Add COM_DECLSPEC_NOTHROW define.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-18 18:05:32 +02:00
Alex Henrie 4407fb7ada include: Add Tag field to SYSTEM_BATTERY_STATE.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-25 20:10:55 +02:00
Jacek Caban 8bbdfbceed include: Add threadpoolapiset.h file.
Based on patch by Hans Leidekker.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-25 16:30:41 +02:00
Chip Davis 6e10f8fad3 include: Pick up the ms_hook_prologue attribute for Clang, too.
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-19 22:07:53 +02:00
Alexandre Julliard 14e34bedbf ntdll: Share dynamic exception table functions across platforms.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 13:21:47 +02:00
Alexandre Julliard 44a6043388 ntdll: Move some exception definitions to winnt.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 13:17:37 +02:00
Chip Davis 49ffaddf9b kernel32: Forward power request functions to ntdll.
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 19:12:03 +02:00
Chip Davis ca2b701249 ntdll: Stub power request APIs.
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 19:12:03 +02:00
Martin Liska 9afc341c4f include: Avoid compound literals for WCHAR strings.
Starting from GCC 9, compound liferal's scope has changed:
https://www.gnu.org/software/gcc/gcc-9/porting_to.html#complit

Signed-off-by: Martin Liska <mliska@suse.cz>
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 11:44:26 +02:00
Alexandre Julliard 60df3b14b5 include: Make the Wine exception handlers cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:04:06 +02:00
Alexandre Julliard 10584d2057 include: Use the __fastcall attribute directly for the Windows build.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 14:07:15 +02:00
Alexandre Julliard d624883047 include: Move DECLSPEC_HOTPATCH definition out of config.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:35 +02:00
Vijay Kiran Kamuju ec8bc65b30 include: Add missing structures for ACE and Tokens in winnt.h.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-26 21:03:02 +02:00
Vijay Kiran Kamuju a20014a5e7 include: Add missing ACE and ACL related defines in winnt.h.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-25 17:28:11 +02:00
André Hentschel 49abdbcda9 include: Fix vararg standard call types for ARM.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 08:58:03 +02:00
Nikolay Sivov 82d059d922 include: Add IDebugClient interface definition.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 19:28:19 +02:00
André Hentschel 0e26aaa3ed ntdll: Add stub for RtlInstallFunctionTableCallback on ARM/ARM64.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 23:25:49 +02:00
Alexandre Julliard 20a2cc9751 ntdll: Store extended FPU state and debug registers in RtlRaiseException().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-14 19:53:25 +01:00
Michael Müller 7529e74516 ntoskrnl.exe: Implement ExInitializeNPagedLookasideList.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-06 19:57:27 +01:00
Jacek Caban 0b9090acca include: Avoid using attributes on elaborated type specifier.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-08 17:20:05 -06:00
André Hentschel ebc80ad1c4 ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable on ARM64.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46143
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-15 09:57:28 +01:00
André Hentschel 9b94d0fda0 winedump: Add IMAGE_DEBUG_TYPE_REPRO.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-13 20:54:28 +01:00
André Hentschel 2febd18e28 include: Add more PROCESSOR_ARCHITECTURE defines.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-12 10:21:51 +01:00
André Hentschel 3aa8206b37 include: Add IMAGE_REL_ARM64_BRANCH19.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-12 10:21:51 +01:00
Nikolay Sivov 7c0cd8c740 advapi32: Add WinCreatorOwnerRightsSid to wellknown list.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-08 09:32:21 +02:00
Fabian Maurer 41c0219e05 kernel32: Add stub for SetProcessMitigationPolicy.
This is needed by x64 chromium sandbox for >= win8.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45643
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 21:01:09 +02:00
Michael Stefaniuc 962b31c80b include: Add a generic available ARRAY_SIZE().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-04 10:39:15 +02:00
Roderick Colenbrander 13bd1b9f75 ntdll: GetLogicalProcessorInformationEx report LTP_PC_SMT for SMT cores.
Signed-off-by: Roderick Colenbrander <thunderbird2k@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-22 12:53:24 +02:00
Zebediah Figura 4e5f163334 include: Add some WOW64 definitions.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 11:41:59 +02:00
Gijs Vermeulen f32862b099 include: Add IO_REPARSE* definitions.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-23 09:26:56 +02:00
Daniel Lehman 19e96b567f advapi32/tests: Add tests for REG_NOTIFY_THREAD_AGNOSTIC.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-03 10:38:52 +02:00
Alexandre Julliard fc14442970 ntdll: Add support for parsing application settings in manifests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-23 09:12:52 +01:00
Martin Storsjo e0780c258f ntdll: Update the ARM64 CONTEXT struct to match Win SDK 10.0.16299.0.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 13:13:59 +01:00
Alistair Leslie-Hughes d3ea561f55 include: Add UMS typedef's.
Based on a patch by Dmitry Timoshkov.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:53:18 -06: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
Michael Müller 0a7d627ca3 include: Add run level information enum and structure to winnt.h.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 19:15:00 +01:00
Mark Jansen 7960ce3ddd include: Add ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION and related struct/enum.
Signed-off-by: Mark Jansen <mark.jansen@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 16:34:12 +01:00
Alexandre Julliard c3d78af9bb include: Add missing CONTEXT_ALL definitions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 15:49:45 +01:00
Stefan Leichter 3b4c6e6d99 include: Add RtlCompareMemory declaration to winnt.h.
Signed-off-by: Stefan Leichter <sle85276@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-04 12:32:51 +01:00
Alexandre Julliard 21c12ddc64 ntdll: Fix CONTEXT definition for ARM64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-05 20:30:01 +01:00
Alexandre Julliard eb337adcc2 ntdll: Fix CONTEXT definition for ARM.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-05 13:21:31 +01:00
Martin Storsjo 3d3d080688 msvcrt: Implement setjmp/longjmp on aarch64.
Also include the rest of except_*.c (based on except_arm.c) as stubs.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 16:23:14 +02:00
Michael Müller 2ebe679638 server: Implement querying the security label of a security descriptor.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-15 10:50:54 +02:00
Alexandre Julliard 70d8503d5e include: Add back a typecast that's needed for C++.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 13:15:44 +01:00
Alistair Leslie-Hughes d5292b1fcf winnt.h: Implement RtlSecureZeroMemory.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 12:33:06 +01:00
Nikolay Sivov c98ec64a9e powrprof: Added PowerDeterminePlatformRole() stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 18:41:29 +09:00
Ken Thomases 7501942008 ntdll: For Mac 64-bit, poke the TEB address to %gs:0x30 and re-enable the inlining of NtCurrentTeb().
64-bit Windows apps have hard-coded accesses to %gs:0x30 baked into them.  They
need to find the TEB self pointer there.

Technically, the gsbase register and the memory it points to belong to the
pthread implementation on macOS.  It's used for the pthread TLS implementation.
However, study of the sources and experimentation reveal that TLS slot 6
(offset 0x30) is not currently used.  Furthermore, Apple has promised to not
use that slot in the future.  So, we hijack it for our purposes.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-28 21:38:01 +09:00
Alexandre Julliard 1ddc636051 server: Store the section flags separately from the protection.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 14:20:02 +09:00
Hadrien Boizard 03840373ef include: Add file notification flags.
Signed-off-by: Hadrien Boizard <h.boizard@laposte.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-07 17:08:26 +09:00
Hadrien Boizard 221b23bf48 include: Add missing FILE_ATTRIBUTE flags.
Signed-off-by: Hadrien Boizard <h.boizard@laposte.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-04 13:36:50 +09:00
Sebastian Lackner eb5f4b86d5 include: Add definition for TP_CALLBACK_ENVIRON_V3.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 15:57:31 +09:00
Francois Gouget 947fd6e6f9 include: Don't use the visibility attribute on Solaris.
It is not supported and mostly ignored but can still break linking with
static libraries.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-07 13:21:52 +09:00
Paul Gofman 98d5c4a90f mscoree: Call native DllEntryPoint when it is defined in COR header.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-04 14:41:00 +09:00
Nikolay Sivov 75286b0ac7 include: Fix a couple of logical processor info structures.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 13:17:52 +09:00
Hans Leidekker 3a771b6066 advapi32: Add well-known SID WinBuiltinAnyPackageSid. 2015-08-26 23:15:26 +09:00
Alistair Leslie-Hughes 0174a6fc1d include: Add more WELL_KNOWN_SID_TYPE values. 2015-08-21 14:33:12 +09:00
Dmitry Timoshkov 770e15eef1 include: Add support for NtCurrentTeb and PSDK compiler in 64-bit mode. 2015-07-14 14:39:42 +09:00
Sebastian Lackner 025ea11dc4 ntdll/tests: Add tests for RtlCompressBuffer. 2015-07-09 17:34:37 +09:00
André Hentschel 8d4917e865 include: Add IMAGE_LOAD_CONFIG_DIRECTORY64 definition. 2015-06-24 15:37:02 +09:00
André Hentschel bd1f7ef186 include: Rename 64-bit PState to 32-bit Cpsr on ARM64. 2015-06-15 14:51:33 +09:00
Sebastian Lackner 5204d89dc9 kernel32/tests: Add tests for virtual memory alignment behaviour.
AT_ROUND_TO_PAGE is only available on 32-bit non-wow64 systems.
2015-06-08 15:33:59 +09:00
André Hentschel 29c47defe6 winedump: Add more image debug types. 2015-05-28 14:20:57 +09:00
André Hentschel 8e0164bd26 include: Add more ARM64 CV constants. 2015-05-28 14:20:55 +09:00
André Hentschel cc95ba7ed2 include: Add more defines related to ARM64. 2015-05-21 14:23:42 +09:00
Hans Leidekker 985e226c07 advapi32: Support parsing mandatory label ACE strings. 2015-04-17 14:53:13 +09:00
Andrew Cook ecd41d1de7 server: Implement job limit flags. 2015-04-03 00:33:29 +09:00
Charles Davis 97bda9a05f ntdll: Support 64-bit Mac OS. 2015-02-06 22:35:17 +09:00
Sebastian Lackner 0114be0978 kernel32: Process DBG_RIPEXCEPTION events like regular exceptions. 2014-06-23 10:18:39 +02:00
Sebastian Lackner 1b3d67aace kernel32: Raise DBG_PRINTEXCEPTION_C exception in OutputDebugStringA. 2014-06-17 10:58:28 +02:00
Michael Müller 97c3bb040e ntdll: Stub TokenAppContainerSid in NtQueryInformationToken. 2014-06-12 18:13:19 +02:00
Huw Davies 76fca0f953 include: Add a couple of new win 8 access rights. 2014-05-07 18:57:32 +02:00
Sebastian Lackner 4d8edf7612 ntdll: Implement RtlInstallFunctionTableCallback on x86_64. 2014-04-08 19:23:14 +02:00
Dmitry Timoshkov 4dff2e7157 include: Fix a typo in _MSC_VER. 2014-03-24 11:46:41 +01:00
Dmitry Timoshkov 383f7ba002 server: Add THREAD_[SET|QUERY]_LIMITED_INFORMATION to generic access mappings and appropriately change THREAD_ALL_ACCESS. 2014-02-06 17:08:33 +01:00
Dmitry Timoshkov a0b08adbe4 server: Add PROCESS_QUERY_LIMITED_INFORMATION to GENERIC_EXECUTE access mapping and appropriately change PROCESS_ALL_ACCESS. 2014-02-06 17:08:32 +01:00
Marcus Meissner cef12abd4f kernel32: Thread pool definitions and prototypes. 2014-02-04 11:14:23 +01:00
Dmitry Timoshkov bfb4f28dc5 ntdll: Implement NtQuerySemaphore/SemaphoreBasicInformation. 2013-12-26 16:51:07 +01:00
André Hentschel fd01828903 include: Add more ARM processor feature flags. 2013-11-11 17:06:46 +01:00
Dmitry Timoshkov ebc7dcc630 include: Redefine security privilege names without using TEXT macro. 2013-10-21 20:23:54 +02:00
Alexandre Julliard a804cc711b jscript: Use the official Windows constant for MAXLONGLONG. 2013-10-14 17:26:14 +02:00
Andrew Cook 868890fb72 include: Add types for SetInformationJobObject. 2013-10-14 10:47:46 +02:00
André Hentschel e99e9d8d82 winebuild: Update IMAGE_FILE_MACHINE_ARM64.
According to pecoff 8.3.
2013-09-26 10:45:10 +02:00
André Hentschel d9a6deff4b winedump: Add and use IMAGE_DELAYLOAD_DESCRIPTOR. 2013-09-09 22:10:00 +02:00
Alexandre Julliard fcb3e60332 ntdll: Implement the RunOnce functions. 2013-08-28 22:27:31 +02:00
Detlef Riekenberg f8971d0342 include: Add missing InitOnce / RtlRunOnce prototypes. 2013-05-24 11:03:19 +02:00
Dmitry Timoshkov 10476af626 include: Make KNONVOLATILE_CONTEXT_POINTERS match PSDK definition. 2013-04-30 11:47:05 +02:00
Dmitry Timoshkov e2791cdfb1 include: Make IMAGE_RESOURCE_DIRECTORY_ENTRY match PSDK definition. 2013-04-29 13:33:54 +02:00
André Hentschel 3c04958b8a ntdll: Implement RtlLookupFunctionEntry on ARM. 2013-03-25 14:08:42 +01:00
André Hentschel df7f4fb720 ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable on ARM. 2013-03-25 14:08:32 +01:00
André Hentschel 5d712e7ea0 winedump: Recognize IMAGE_DEBUG_TYPE_CLSID. 2013-03-25 14:07:49 +01:00
Jacek Caban 15448724be winnt.h: Added GCC variant of DEFAULT_UNREACHABLE macro. 2013-03-13 16:27:45 +01:00
André Hentschel 41658157b1 include: Remove SPARC support. 2013-03-11 10:51:27 +01:00
André Hentschel 874d077ca6 msvcrt: Add a new file for the ARM exception handling. 2013-02-27 19:23:45 +01:00
André Hentschel 0993f8bb7b ntdll: Implement IMAGE_REL_BASED_THUMB_MOV32 relocation on ARM. 2013-01-21 12:51:14 +01:00
André Hentschel a431f83ec1 include: Add ARM64 context. 2013-01-16 12:48:27 +01:00
Amine Khaldi 649c982e60 include: Define CONTAINING_RECORD using the standard offsetof. 2012-12-11 15:48:57 +01:00
Amine Khaldi e3dd01a264 include: Define FIELD_OFFSET to the standard offsetof. 2012-12-11 15:48:54 +01:00