Commit Graph

518 Commits

Author SHA1 Message Date
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
Francois Gouget 62d1957850 include: Fix a typo in the declaration of PCUZZTSTR. 2012-10-01 11:59:52 +02:00
Francois Gouget e2f30dc115 include: Add more string types. 2012-09-24 22:27:29 +02:00
Marcus Meissner 7a529328db kernel32: Add condition variables prototypes and tests. 2012-09-11 20:56:37 +02:00
André Hentschel 538a0abbd7 include: Rename IMAGE_FILE_MACHINE_ARMV7 to IMAGE_FILE_MACHINE_ARMNT. 2012-08-17 10:45:17 +02:00
Dmitry Timoshkov 9d9496058f include/winnt.h: MSC compiler doesn't support __asm keyword in x86_64 mode. 2012-07-31 10:55:55 +02:00
Detlef Riekenberg d5e5b43cec include: Add TOKEN_MANDATORY_LEVEL definitions. 2012-07-31 10:54:22 +02:00
Nikolay Sivov 04f588e63a kernel32: Some tests for blocking initialization with InitOnceBeginInitialize(). 2012-07-24 13:36:27 +02:00
Nikolay Sivov b1c3c8c898 kernel32: Added InitOnceInitialize() implementation. 2012-07-23 12:53:24 +02:00
Thomas Faber bb95b706cb include: Make IMAGE_COR20_HEADER declaration compatible with PSDK headers. 2012-06-18 11:59:41 +02:00
Detlef Riekenberg 7fbf5c239e kernel32/tests: Accept higher PRODUCT_* values. 2012-06-13 21:35:40 +02:00
Detlef Riekenberg 0f4e9ffc22 ntdll: Implement RtlGetProductInfo. 2012-05-31 12:37:24 +02:00
Detlef Riekenberg 02b74d3fd3 ntdll: Implement NtGetCurrentProcessorNumber. 2012-05-21 10:20:25 +02:00
Jacek Caban 76693d52c7 widl: Added support for nameless structs and unions. 2012-05-14 10:29:40 +02:00
Dmitry Timoshkov 64cf2db9a6 include: Define MUTEX_ALL_ACCESS in a PSDK compatible way. 2012-04-18 14:03:12 +02:00
André Hentschel 1de185efba include: Add new ARM defines to winnt.h. 2012-03-28 11:47:51 +02:00
André Hentschel 21b6d994d2 kernel32: Handle LOCALE_NAME_USER_DEFAULT with tests. 2012-03-27 11:55:05 +02:00
Francois Gouget 5f6a8c2b60 include: Move the language and sort macros to winnt.rh. 2011-11-08 09:49:16 +01:00
André Hentschel ed4527a5a9 include: Add some new ARM defines. 2011-10-31 16:46:11 +01:00
André Hentschel d3ad06fb8b include: Clean up some comments. 2011-10-31 16:46:06 +01:00
Michael Stefaniuc 1b2f89e673 include: Add a macro to paper over LP64/LLP64 differences for numeric constants.
Based on an idea by Kai Tietz.
2011-10-27 12:28:44 +02:00
Michael Stefaniuc c5441514bc include: Drop the 'l' modifier from some numeric constants in winnt.h. 2011-10-27 12:25:37 +02:00
Francois Gouget fe9b079286 pdh: Add more Pdh macros and prototypes to the headers. 2011-09-16 17:23:10 +02:00
Alexandre Goujon 94bef59bb2 include: Add more GetVolumeInformation system flags. 2011-08-29 12:08:21 +02:00
Nikolay Sivov 7381858e98 include: Fix definition name. 2011-08-03 14:15:48 +02:00
Jacek Caban d60b53761b winnt.h: Added LOCALE_CUSTOM_* declarations. 2011-08-01 11:13:08 +02:00
Detlef Riekenberg 3fc84d4862 include: Add definitions and declarations for SRW lock. 2011-07-06 11:17:07 +02:00
André Hentschel 2680548086 include: Add PF_XSAVE_ENABLED. 2011-06-06 21:49:20 +02:00
Alexandre Julliard bc26bdea7c include: Undefine the nameless union/struct macros to avoid conflicts with mingw. 2011-05-23 13:16:25 +02:00
Austin English cad8afb8ee kernel32: Add a stub for SetThreadPreferredUILanguages. 2011-04-25 13:03:07 +02:00
Jacek Caban 42874c62a7 winnt.h: Use Common macro for __C89_NAMELESSUNION and __C89_NAMELESSSTRUCT. 2011-01-13 15:22:00 +01:00
Jacek Caban 45be01952a include: Added macros for unions and structs that should remain nameless regardless NONAMELESSUNION/NONAMELESSSTRUCT definition. 2010-12-24 12:04:59 +01:00
André Hentschel d4b26c308e include: Add new suite masks. 2010-12-21 19:47:49 +01:00
André Hentschel e230d88d74 include: Add more well known sid types. 2010-12-05 12:24:49 +01:00
André Hentschel f669272152 include: Add some relocation types. 2010-11-16 21:54:18 +01:00
André Hentschel 0e524aaaea include: Define PROCESSOR_OPTIL (MSIL). 2010-11-04 11:48:37 +01:00
André Hentschel 5f6ea28c99 include: Merge the ia64 ifdefs into one. 2010-11-01 11:32:20 +01:00
André Hentschel 98998cbad5 include: Better detect MIPS architecture. 2010-11-01 11:32:08 +01:00
André Hentschel 6798bc2c8e include: Define PROCESSOR_ARCHITECTURE_IA32_ON_WIN64. 2010-10-27 11:43:44 +02:00
Alexandre Julliard 4a1379d804 include: The FLOATING_SAVE_AREA type is i386-specific. 2010-10-20 18:37:09 +02:00
Alexandre Julliard 41454fe18b include: Get rid of the non-standard CONTEXT86 type. 2010-10-20 18:37:09 +02:00
André Hentschel 7b1e331523 winedump: Add more subsystem descriptions. 2010-09-20 15:12:20 +02:00
André Hentschel 171c9a5327 ntdll: Add ARM support. 2010-09-20 12:58:44 +02:00
Mariusz Pluciński cde2a4150c include: Add LOCALE_INVARIANT definition. 2010-09-13 14:46:03 -05:00
Austin English 7b37a6d47e ntdll: Add Sparc processor support. 2010-08-24 12:21:38 +02:00
Detlef Riekenberg 2e5d7064a6 include: Add more TOKEN_INFORMATION_CLASS result struct. 2010-08-23 13:43:18 +02:00
Austin English e92a552dca dbghelp: Add initial Sparc CPU support. 2010-08-23 13:41:17 +02:00
Hans Leidekker deb1c552d6 include: Add the TOKEN_ELEVATION_TYPE enumeration. 2010-07-26 18:38:31 +02:00
Paul Chitescu 25c8f445c0 kernel32: Declare structures related to logical processor information (core, cache, node, group). 2010-07-20 12:56:22 +02:00
Austin English f403816081 include: Rename structs to fix compile with recent gcc. 2010-05-21 18:58:04 +02:00
Alexandre Julliard f7f4e9e3be include: Force inlining exported API functions to avoid duplicate definitions. 2010-05-07 22:38:32 +02:00
Yann Droneaud b7d321769c include: Rewrote some extern inline to static inline. 2010-05-07 14:21:34 +02:00
Alexandre Julliard 442512d59f libwine: Do not export any of the LDT support on non-i386 platforms. 2009-12-30 18:05:02 +01:00
Paul Vriens 4d6b74758f kernel32: Add a define for UNICODE_STRING_MAX_CHARS. 2009-12-14 16:14:37 +01:00
Alexandre Julliard 866db819b8 ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable. 2009-12-04 14:34:45 +01:00
Alexandre Julliard 3c11ff9750 include: Move some 64-bit definitions to winnt.h to match the latest PSDK. 2009-12-04 14:30:34 +01:00
Gerald Pfeifer 2ad4439d51 include: Fix preprocessor use of _MSC_VER. 2009-11-21 14:31:45 +01:00
Maarten Lankhorst 912f040748 include: Add DEFINE_ENUM_FLAG_OPERATORS to winnt.h. 2009-11-12 13:03:26 +01:00
Paul Vriens 531363f6e6 advapi32/tests: Add some ReadEventLogA tests. 2009-11-03 21:26:15 +01:00
Alexander Nicolaysen Sørnes 1c4c2bbf33 include: Add defines for GetProductInfo. 2009-10-26 11:35:56 +01:00
Alexandre Julliard 5d31eb9377 include: Fix the C_ASSERT macro for the latest gcc. 2009-05-13 10:32:03 +02:00
Luke Benstead d2b923d58d winnt.h: Completed TOKEN_INFORMATION_CLASS enum definition. 2009-03-09 12:04:16 +01:00
Aric Stewart 8dc84666a6 advapi32: Add Security Label sids used by IE7. 2009-02-04 12:25:35 +01:00
Alexandre Julliard a3a02d430a include: Document offsets in the x86_64 context structure. 2009-01-06 17:01:15 +01:00
Alexandre Julliard 935a406b27 include: Fix data structures for processor affinity on 64-bit. 2009-01-04 14:47:24 +01:00
Alexandre Julliard b9e10147d9 ntdll: NtCurrentTeb is not exported on x86_64. 2008-12-15 13:32:15 +01:00
Alexandre Julliard a518edc3aa include: Allow 64-bit pointers to pass through LDT functions unmolested. 2008-12-15 13:31:52 +01:00
Alexandre Julliard baaaa58b50 include: Fix a few compiler warnings for the Mingw64 build. 2008-12-09 17:56:16 +01:00
Alexandre Julliard 345aff3f17 include: Added some definitions for x86_64 exception handling. 2008-12-08 19:27:59 +01:00
Alexandre Julliard 31a641aa59 ntdll: Implemented RtlCaptureContext. 2008-12-04 12:42:53 +01:00
Maarten Lankhorst e32bd2896b include: Add NtCurrentTeb assembly for win64. 2008-12-01 14:05:27 +01:00
Alexandre Julliard f3e70ee00e ntdll: Get rid of the Wine-specific MEM_SYSTEM flag. 2008-11-18 20:14:46 +01:00
Marcus Meissner 96412ee564 Annotate with allocation size attribute. 2008-09-05 11:22:26 +02:00
Alexandre Julliard b44a109b8c kernel32: Implemented the wrapper functions for job objects. 2008-09-04 22:51:02 +02:00
James Hawkins 3c53fcc4c4 advapi32: Fix the process access rights value for Vista. 2008-09-03 13:14:50 +02:00
Paul Vriens 920c1fc77a kernel32/tests: Fix two failures on win9x. 2008-08-26 10:56:58 +02:00
Mikołaj Zalewski 140b259d58 include: Add KEY_WOW64_* defines. 2008-07-24 13:03:34 +02:00
Dan Hipschman d1a5011bb2 include: Add WT_TRANSFER_IMPERSONATION to winnt.h. 2008-07-23 11:24:11 +02:00
Jon Griffiths 1ad733e4e0 ntdll: Implement [Rtl]InitializeCriticalSectionEx. 2008-06-23 14:04:24 +02:00
Alexandre Julliard a2ba7dcf7b include: Use WINE_NO_UNICODE_MACROS instead of __WINESRC__ where appropriate. 2008-05-30 10:02:42 +02:00
Alam Arias a3b7030ee8 include: Modify UNREFERENCED macros to cast to void. 2008-05-23 12:10:04 +02:00
Dan Hipschman 2904f543f4 advapi32: Add a stub for CreateRestrictedToken. 2008-03-22 11:14:13 +01:00
Steven Edwards b9a0b1b479 winnt.h: Fix dllimport and visibility attributes on cygwin. 2008-03-04 20:57:17 +01:00
Dmitry Timoshkov e49e8b20db kernel32: Add stubs for fiber local storage APIs. 2008-02-29 11:48:13 +01:00
Rob Shearman f59570db68 include: Fix the C_ASSERT macro to not generate an unused variable warning when compiling with gcc.
Provide a fallback case for other compilers to avoid C_ASSERT being 
undefined and causing an error.
2008-02-16 14:58:28 +01:00
Dmitry Timoshkov 06ce44e9ce include: Add CONTEXT86_EXTENDED_REGISTERS and CONTEXT86_ALL definitions. 2007-12-19 12:20:13 +01:00
Rob Shearman 9f8d379fb3 include: Move Wine-specific EH_* defines from winnt.h to include/wine/exception.h. 2007-12-03 11:54:10 +01:00
Alexandre Julliard 95c728551d include: Mark imported functions with hidden visibility. 2007-11-07 12:31:16 +01:00
Alexandre Julliard 6cf2df5a0c include: Add NTSYSAPI to the exported ntdll functions. 2007-11-07 12:30:08 +01:00
Mikolaj Zalewski a1e0f773e0 advapi32: Add a well known sid. 2007-10-26 14:03:46 +02:00
Rob Shearman 2c742a38c4 include: Remove duplicate ACL_REVISION1 and ACL_REVISION2 defines in winnt.h.
Move the remaining ACL_REVISION define nearer to the other ACL revision defines.
2007-10-23 18:20:52 +02:00
Mikolaj Zalewski f606055740 include: Fix the definition of VALID_INHERIT_FLAGS. 2007-09-26 12:15:14 +02:00
Peter Oberndorfer 70238568c6 include: Add new processor feature constants. 2007-09-21 11:51:46 +02:00
Francois Gouget c85b74d63e In the PSDK HRESULT_FROM_WIN32() is now an inline function, and it is __HRESULT_FROM_WIN32() which is a macro. 2007-05-29 13:17:46 +02:00
Jacek Caban 06bd1bf8e1 winnt.h: Added activation context structures declarations. 2007-03-29 21:01:32 +02:00
Francois Gouget fff13d2751 ntdll: Fix compilation on systems that don't support nameless structs. 2007-02-12 15:20:18 +01:00
Francois Gouget 76e258cb53 ntdll: Add prototypes to winnt.h for the SList functions. 2007-02-12 14:16:52 +01:00
Francois Gouget ac2754b74d Make winnt.h C++ compatible. 2007-02-09 14:32:56 +01:00