Commit Graph

431 Commits

Author SHA1 Message Date
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
Kevin Koltzau 5f8659b186 winnt.h: Correct declaration of SLIST_HEADER and SLIST_ENTRY for Win64. 2007-02-08 11:56:00 +01:00
Alexandre Julliard 0c3f12154c winnt.h: Avoid warnings on Mac OS X. 2007-02-05 18:04:24 +01:00
Mike McCormack a425bfc622 winnt.h: Add defines for SLIST_HEADER. 2007-02-05 14:01:33 +01:00
Alexandre Julliard 80cff47c87 include: Get rid of the WINE_NO_LONG_AS_INT ifdefs. 2006-12-20 14:57:08 +01:00
Hans Leidekker 1698c44ed3 winedump: Start dumping .NET specific bits from PE executables. 2006-12-20 12:31:29 +01:00
Dmitry Timoshkov eea1b5e219 include: Add some structures a definitions required for the COFF library dumper. 2006-11-27 13:44:58 +01:00
Kevin Koltzau c3c1b7025f winnt.h: Add AMD64 relocation types. 2006-11-17 11:14:14 +01:00
Kevin Koltzau 8cebef6797 winnt.h: Add defines for new DLL characteristics. 2006-11-17 11:14:07 +01:00
Dmitry Timoshkov 8120dea049 include: Add the PROCESS_SUSPEND_RESUME definition. 2006-11-08 20:16:06 +01:00
Mike McCormack c4f815f304 kernel32: Declare HeapQueryInformation and HeapSetInformation. 2006-11-02 12:24:18 +01:00
Andrew Talbot 89e139e17f winedump: Cast-qual warnings fix (with thanks to Dmitry Timoshkov and Eric Pouech). 2006-10-12 11:34:11 +02:00
Michael Stefaniuc f8b8f216dd include: Make DWORD/LONG/ULONG an int to use the same type in Win32 and Win64. 2006-09-29 16:09:07 +02:00
Robert Shearman f9e12a1001 include: Add recently added PSDK VM flags to winnt.h. 2006-09-28 11:55:39 +02:00
Alexandre Julliard a27d0aa4e9 include: Added definitions for the fault address exception information. 2006-09-20 11:27:53 +02:00
Alexandre Julliard 530e765035 include: Exception filters should return LONG, not DWORD.
Also move UnhandledExceptionFilter definitions to winbase.h since they
are there in the latest SDK.
2006-09-20 11:26:59 +02:00
Robert Reif 1b2b2bd78e winnt.h: Add some more RIDs. 2006-08-07 13:11:34 +02:00
Robert Reif fc7f5b3364 winnt.h: Add missing define. 2006-08-03 18:20:47 +02:00
Robert Reif 11370742b5 winnt.h: Add more SID defines. 2006-07-24 12:57:33 +02:00
Robert Reif 2a1727a7d9 include: Add well known sids and quota limits to winnt.h. 2006-07-17 13:44:16 +02:00
Michael Stefaniuc 3f46314e33 include: The visibility attribute is supported only by gcc >= 3.3. 2006-06-13 11:40:21 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
James Hawkins 70b2811e45 include: Add missing SECURITY_QUALITY_OF_SERVICE defines. 2006-05-08 14:50:10 +02:00
Thomas Weidenmueller ae8b835d85 advapi32: Fixed building TRUSTEEs with objects.
Fill the TRUSTEE structure properly in BuildTrusteeWithObjectsAndName
and BuildTrusteeWithObjectsAndSid, including regression tests.
2006-03-28 12:34:43 +02:00
Alexandre Julliard c307f4990f ntdll: Added a DLL_WINE_PREATTACH call to DllMain for builtins.
By returning FALSE from this call, a builtin dll can specify that we
should try to load the native one instead.
2006-03-21 15:10:22 +01:00
Mike McCormack 948c49cbde include: Add WT_ defines for use with RegisterWaitForSingleObject. 2006-02-15 11:50:58 +01:00
Francois Gouget 90aaf6ba8f include: Add missing LANG_xxx and SUBLANG_xxx constants. 2006-02-14 10:42:12 +01:00
Mike McCormack 39f711ae6e ntdll: Add FILE_ACTION and FILE_NOTIFY_CHANGE_ defines for streams. 2006-02-03 18:45:51 +01:00
Hans Leidekker 69c5f62da8 include: Add some defines related to tape support. 2006-01-26 13:22:24 +01:00
Mike McCormack b8e5e0168a kernel32: Add FILE_NOTIFY_INFORMATION. 2006-01-16 20:38:39 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Alexandre Julliard 220f2ce9fb Make all winecrt0 functions and variables hidden. 2005-10-30 19:10:35 +00:00
Alexandre Julliard bdf01c368d Define data types to the correct size on 64-bit platforms. 2005-09-22 10:58:04 +00:00
Alexandre Julliard ba41fe20bc Fixed a few more pointer to integer typecast issues for 64-bit
platforms.
2005-09-12 21:22:32 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Huw Davies 9317115ec5 Add the 'flag' types: FCHAR, FSHORT and FLONG. 2005-07-27 10:50:40 +00:00
Kevin Koltzau 6873379991 Define 64bit PE structures. 2005-07-19 11:44:32 +00:00
Kevin Koltzau ca8c23034d Define x86_64 context. 2005-07-18 09:11:42 +00:00
Dmitry Timoshkov 1dc18952ae Use SIZE_T type for size variables in NTDLL when appropriate. 2005-07-15 10:01:30 +00:00
Mike McCormack 526daeafd4 Define PVOID64 and FILE_SEGMENT_ELEMENT. 2005-07-06 10:32:46 +00:00
Mike McCormack 8f7799493d Add pointer types for token structures. 2005-06-27 11:09:42 +00:00
Mike McCormack 901f5b328c DUPLICATE_* flags should be defined in winnt.h. 2005-06-27 09:44:08 +00:00
Marcus Meissner 4b6b2768d3 Added PF_NX_ENABLED definition. 2005-06-20 10:32:31 +00:00
Steven Edwards 68784b46fd Removed duplicated ALPHA platform context definitions.
Added ARM context definitions.
2005-06-16 09:45:36 +00:00
Ivan Leo Puoti a7275c85c4 Update LDT_ENTRY definition. 2005-05-23 16:23:35 +00:00
Alexandre Julliard 3629cc4ed6 Eric Kohl <eric.kohl_at_t-online.de>
Implement CaptureAndConvertAnsiArg, CaptureStringArg,
OpenAndMapForRead, RetreiveFileSecurity, StampFileSecurity,
TakeOwnershipOfFile, and UnmapAndCloseFile.
2005-05-06 15:38:22 +00:00
Robert Shearman d2ea92d14e - Clean up well-known privileges.
- Implement checking tokens for privileges in the server.
- Implement NtPrivilegeCheck.
2005-04-22 21:17:15 +00:00
Ivan Leo Puoti 3f379d96ae Added typedef for DEVICE_POWER_STATE. 2005-04-12 11:58:43 +00:00
Benjamin Cutler ee59cad92d Added function/enum/structs for power management API. 2005-04-11 18:49:10 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Alexandre Julliard f1020bc6e0 Added support for the TLS expansion slots, adding an extra 1024
entries.
2005-03-19 17:14:12 +00:00
Dmitry Timoshkov 75b93ff1aa Match OVERLAPPED structure to the SDK definition. 2005-03-17 19:00:08 +00:00
Dmitry Timoshkov 0497af09a7 Match RaiseException and EXCEPTION_RECORD to SDK definitions. 2005-02-24 13:15:36 +00:00
Ivan Leo Puoti d8793bb776 Added a couple of defines. 2005-02-22 19:32:22 +00:00
James Hawkins ee8479596a Conditionally add DECLSPEC_ALIGN(8) to wine's 64-bit types and leave
the modifier off when compiling with msvc.
2005-02-18 12:56:35 +00:00
Ivan Leo Puoti b0208974bd Add EVENT_QUERY_STATE define. 2005-02-16 17:52:22 +00:00
Robert Shearman b0f02b28b9 - Implement AdjustTokenPrivileges, DuplicateTokenEx and
GetTokenInformation (for the TokenPrivileges case).
- Return STATUS_NO_TOKEN for OpenThreadToken when there is no token
  set for the thread.
2005-02-11 11:52:06 +00:00
Jon Griffiths 21c8663f92 Use _WINNT_ as exclusion define for source compatibility. 2004-11-19 17:59:41 +00:00
Adam D. Moss 0fde2d1944 Define VER_SUITE_BLADE. 2004-10-11 19:52:10 +00:00
Alexandre Julliard b0394dea42 Get rid of the WINE_UNUSED macro. 2004-09-01 17:36:04 +00:00
Alexandre Julliard 9bf729b7cb Fixed alignment of TOKEN_STATISTICS. 2004-09-01 04:58:53 +00:00
Mike McCormack 60fbc97f08 Added a few more prototypes to the headers. 2004-08-27 19:11:37 +00:00
Francois Gouget dff5004bc0 Assorted spelling fixes. 2004-08-26 00:31:20 +00:00
Francois Gouget 2e360b3ee4 Fix alignment issues for MEMORYSTATUSEX, WIN32_STREAM_ID and
IO_COUNTERS. The corresponding tests now succeed both when compiled
with the Windows headers and when compiled with the Wine headers.
2004-08-24 20:16:25 +00:00
Francois Gouget d21458500d Move LDT_ENTRY to winnt.h. 2004-08-23 17:49:32 +00:00
Francois Gouget 6b1e83281b Update FPO_DATA and IMAGE_LOAD_CONFIG_DIRECTORY to match the latest
platform SDK. This helps compile the ntdll tests on Windows.
2004-08-22 22:28:53 +00:00
Francois Gouget 493cf88bb6 Remove these Wine-only types:
EnumICMProfilesProcCallback
  PEXCEPTION_REGISTRATION_RECORD
Don't test these Wine-only types:
  EMRSETTEXTJUSTIFICATION
  EXCEPTION_REGISTRATION_RECORD
Remove EXCEPTION_FRAME, it doesn't exist at all.
2004-08-22 02:07:13 +00:00
Francois Gouget 870f55fefc Fix the PSID and PSECURITY_DESCRIPTOR types.
Add PISID and PISECURITY_DESCRIPTOR.
2004-08-13 23:55:43 +00:00
Francois Gouget 9b0136fbff Rename ResourceHandle to Reserved in the IMAGE_RESOURCE_DATA_ENTRY
structure to match the Windows headers.
2004-08-13 19:46:28 +00:00
Emmanuel Maillard 7890457d5e Remove implementation of NtCurrentTeb for ppc host. 2004-07-19 19:33:08 +00:00
Ge van Geldorp 606cc0acb6 Add missing privilege names. 2004-07-07 00:47:50 +00:00
Alexandre Julliard 47a88ba221 Explicitly specify alignment of 64-bit types. 2004-05-04 00:43:02 +00:00
Alexandre Julliard 73d9e1a62f Fixed/updated the file attributes defines. 2004-04-19 23:11:31 +00:00
Juan Lang a89674f302 ifdef guard TCHAR declaration like PSDK does. 2004-04-05 20:18:22 +00:00
Alexandre Julliard 954c570ae3 Reimplemented GetVolumeInformation and SetVolumeLabel; volume label
and serial number are now stored in the filesystem instead of in the
config file (partly based on a patch by Eric Pouech).
2004-03-09 01:03:03 +00:00
Patrik Stridvall 5b6ba6038d Added macro DEFAULT_UNREACHABLE. 2004-02-27 21:25:12 +00:00
Ge van Geldorp 399901e054 Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
with PSDK.
2004-01-23 01:51:33 +00:00
Alexandre Julliard e8283089cb Get rid of no longer needed WINE_PACKED define. 2004-01-09 22:18:49 +00:00
Ge van Geldorp 6ba2226f2c When building a PE DLL (MinGW), variables exported from a DLL must be
explicitly marked as dllimport when using them.
2003-12-13 00:02:31 +00:00
Alexandre Julliard e85491274d Moved the DEFINE_REGS_ENTRYPOINT macros to include/wine/port.h.
Removed the C fallback code, do that in the callers instead.
2003-12-04 05:48:03 +00:00
Ulrich Czekalla fd5e811c4e Added stubs for AccessCheckByType, AddAuditAccessAce,
GetNamedSecurityInfoA, GetNamedSecurityInfoW.
Implemented ConvertStringSecurityDescriptorToSecurityDescriptorW,
DeleteAce, MakeAbsoluteSD, GetAclInformation, ConvertStringSidToSidW,
RtlDeleteAce, RtlQueryInformationAcl.
2003-11-11 22:03:24 +00:00
Alexandre Julliard 54b1d87daf Implemented Add/RemoveVectoredExceptionHandler. 2003-10-28 21:22:50 +00:00
Daniel Marmier a613de2a22 Use #ifdef instead of #if for all feature tests.
Check that _MSC_VER is defined before using it.
2003-09-30 00:33:47 +00:00
Alexandre Julliard 240b0a9b48 Moved the Windows version code to dlls/ntdll, and implemented
RtlGetVersion and RtlVerifyVersionInfo.
Moved the 16-bit and DOS version support to dlls/kernel.
2003-09-24 05:26:00 +00:00
Eric Pouech c3e6c095e1 Implemented kernel32.GetIoProcessCounters and stubbed
ntdll.NtQueryProcessInformation(ProcessIoCounters).
2003-09-19 00:06:45 +00:00
Mike McCormack 2b2a6f31a9 Added mailslot defines. 2003-09-16 20:26:28 +00:00
Alexandre Julliard cc392b95cf Some STATUS_* defines have to be duplicated in winnt.h. 2003-09-09 19:26:40 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00