Commit Graph

408 Commits

Author SHA1 Message Date
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
Dimitrie O. Paun 53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Alexandre Julliard ee106783d0 Renamed EXCEPTION_FRAME to EXCEPTION_REGISTRATION_RECORD since that
seems to be the official name.
2003-08-28 03:07:56 +00:00
Dimitrie O. Paun 1fa4a1a2a1 Add a bunch of IMAGE_SIZEOF_* constants. 2003-08-13 19:35:22 +00:00
Dimitrie O. Paun cbefdefb02 Consolidate all kernel power management functions.
Provide prototypes and stubs for missing functions.
2003-08-12 18:56:54 +00:00
Jeff Muizelaar 0a002212c1 - add IMAGE_FILE_NET_RUN_FROM_SWAP define
- update IMAGE_FILE_MACHINE_* defines
- update IMAGE_SUBSYSTEM_* defines
- uncomment IMAGE_SCN_TYPE_NO_PAD define
- update IMAGE_SCN_ALIGN_* defines
2003-07-19 03:01:04 +00:00
Pierre d'Herbemont 7f3074d1d4 Change __PPC__ define to __powerpc__. 2003-07-15 20:46:40 +00:00
Marcus Meissner 85147ee96d Added PF_PAE_ENABLED and PF_XMMI64_INSTRUCTIONS defines.
Detect them and 3DNOW and XMMI_INSTRUCTIONS for Linux.
2003-06-30 18:28:08 +00:00
736ff98510 Added AddAccessAllowdAceEx, AddAccessDeniedAceEx, GetAclInformation. 2003-06-16 19:44:06 +00:00
Pierre d'Herbemont bf01f050df Add Dar, Dsisr and Trap registers for the PowerPC CONTEXT structure. 2003-05-08 03:48:08 +00:00
Alexandre Julliard f00c46f030 Use a more compatible technique to declare COM interfaces methods,
using Microsoft's STDMETHOD macros instead of the Wine-specific
ICOM_METHOD ones.
2003-04-10 00:19:24 +00:00
Thomas Mertes 0ce4826eee Implemented RtlRandom, RtlAreAllAccessesGranted,
RtlAreAnyAccessesGranted, RtlCopyLuid, RtlEqualLuid, RtlMapGenericMask
and RtlCopyLuidAndAttributesArray.
Documentation updates for RtlExtendedMagicDivide, RtlUniform,
RtlUnicodeStringToAnsiString, RtlAppendAsciizToString,
RtlAppendStringToString, RtlAppendUnicodeToString and
RtlAppendUnicodeStringToString.
2003-04-08 00:55:36 +00:00
Andreas Mohr 114b667f41 Some spelling and formatting fixes. 2003-04-02 01:23:43 +00:00
Tony Lambregts 8cf24b7d80 Add flags for RegRestoreKey. 2003-03-12 20:14:35 +00:00
Dimitrie O. Paun d61e43ca30 Remove writable-strings support. 2003-01-30 00:19:14 +00:00
Alexandre Julliard 29419b13c9 Removed a couple of extra semicolons. 2003-01-24 00:49:32 +00:00
Alexandre Julliard c5abf54be1 Fixed typo. 2003-01-15 03:32:22 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Dimitrie O. Paun 8b36681bad Rename __WINE__ to __WINESRC__. 2003-01-04 00:52:18 +00:00
Dimitrie O. Paun 1f722892d8 Enable nameless structures in C++ for gcc >= 3.x (discovery and
testing done by Dan Kegel).
2003-01-04 00:17:11 +00:00
Dimitrie O. Paun a5246c68c3 Add definitions for N[W]PSTR.
Add a bunch of SE_* definitions.
2002-12-19 21:12:35 +00:00
Alexandre Julliard 3f5ff2fba2 Avoid including other headers from the msvcrt headers, duplicate some
definitions instead like Windows does.
Always define wchar_t (suggested by Dimitrie O. Paun), and use wchar_t
everywhere instead of WCHAR to avoid depending on Windows headers.
2002-12-18 20:17:20 +00:00
Alexandre Julliard 9e8e5ff71d Implemented the Fiber* functions (with the help of Huw Davies). 2002-12-17 21:06:25 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Jeff Smith 9bd21c4a6c Added definitions for REG_QWORD and REG_QWORD_LITTLE_ENDIAN. 2002-12-10 19:59:33 +00:00
Steven Edwards 31e4629085 Alpha porting fixes. 2002-12-10 19:04:45 +00:00
Mike McCormack 11f4b44451 Implemented registry change notifications. 2002-11-25 02:47:32 +00:00
Alexandre Julliard b31af31cbf Removed the WINE_NO_STRICT support. 2002-11-23 01:09:57 +00:00
Patrik Stridvall f9128d79d2 No version of GNU C++ (unlike GNU C) supports unnamed structs. 2002-11-18 19:46:34 +00:00
Patrik Stridvall ba9dc78e39 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-04 22:43:24 +00:00
Alexandre Julliard 64e047fed3 Get rid of FILE_ATTRIBUTE_SYMLINK (based on a patch by Bill Medland). 2002-10-25 03:32:10 +00:00
Patrik Stridvall 1298eb4053 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-10-23 18:50:10 +00:00
Alexandre Julliard b1df392f02 Fixed the WINE_NO_STRICT #ifdefs to do the right thing if STRICT is
defined (spotted by Michael Stefaniuc).
2002-10-21 23:43:04 +00:00
Alexandre Julliard 6fa2ac693e Removed DECLARE_OLD_HANDLE. Fixed a few remaining warnings. 2002-10-19 17:20:02 +00:00
Alexandre Julliard 23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Steve Lustbader 5795143368 Provide stubs for Create/DeleteTimerQueueTimer. 2002-10-07 21:46:02 +00:00
Alexandre Julliard 5cf56a3afe Removed LPxxx handle types that don't exist under Windows. 2002-10-03 19:46:27 +00:00
György 'Nog' Jeney d313073247 Added a couple of defines. 2002-10-02 19:46:45 +00:00
Patrik Stridvall b3c989e6b2 Added some more useful macros. 2002-10-02 01:23:33 +00:00
Patrik Stridvall e29345c3bb Added a GNU C implementation of some of the DECLSPEC_ macros and used
them wherever possible.
2002-10-01 18:07:37 +00:00
Alexandre Julliard 341b7dceb4 Implemented the ntdll virtual memory functions, and made the kernel
functions use them.
2002-09-17 18:54:42 +00:00
Francois Gouget bba4bb1bc4 Remove references to PCVOID and LPUINT.
Remove types that don't exist on Windows.
2002-09-17 01:35:09 +00:00
Francois Gouget de0f015df0 Move all STATUS_* and RPC_NT_* to ntstatus.h as per Windows SDK.
Add some missing constants.
Include ntstatus.h in winnt.h.
2002-09-17 00:03:39 +00:00
Alexandre Julliard dd0bdbe44e Removed the __uint* types from basetsd.h since they don't exist under
Windows. Fixed a few other issues with type definitions.
2002-09-12 17:29:12 +00:00
Patrik Stridvall 5758484c78 Added a few macros for MS C/C++ specific features. 2002-09-10 00:21:01 +00:00
Andriy Palamarchuk 442f5f56d1 RtlNtStatusToDosError: Added new NT status to error codes mapping,
added missed definitions of the used constants, created unit test for
subset of the mappings.
2002-09-09 19:25:29 +00:00
Alexandre Julliard 3fa613cf61 Moved internal context macros out of winnt.h.
Added SET_AX etc. macros to avoid non-portable pointer manipulations.
2002-08-31 18:47:00 +00:00
Marcus Meissner c87c2c4f1a Use Iar (Instruction Address Register) instead of Fill[0].
siginfo.si_code uses the lower 16bit for the type of the exception.
2002-08-30 00:00:57 +00:00
Andriy Palamarchuk d86393f6c8 SetTokenInformation stub implementation, a few other small changes. 2002-08-26 21:39:17 +00:00
Marcus Meissner 2456149860 Use r2 instead of r13 for TLS, since r13 is used in the ELF32 PPC
ABI.
2002-08-20 00:00:35 +00:00
Alexandre Julliard f22ba0560d Added support for #pragma code_page.
Fixed a few bugs in language handling.
Added error message when Ansi->Unicode conversion in the current
codepage loses information.
2002-08-15 21:57:36 +00:00
Alexandre Julliard c1dec29304 Authors: Josh DuBois <duboisj@codeweavers.com>, Marcus Meissner <meissner@suse.de>
PowerPC locked exchange functions merged from old ppc patch.
NtCurrentTeb handling for PowerPC (using gpr 13).
2002-08-06 23:51:25 +00:00
Alexandre Julliard 84555cc771 Generate the __ASM_NAME and __ASM_FUNC macros directly from
configure.
Simplified the WINE_TRY_ASM_LINK test.
Moved DECL_GLOBAL_CONSTRUCTOR to wine/port.h.
2002-07-22 20:51:02 +00:00
Gregg Mattinson 6132474cf3 Fixed __builtin_return_address. 2002-07-20 18:53:34 +00:00
Gregg Mattinson 81cbb28d07 - Forte C does not support nameless structures or unions
- Implemented __builtin_return_address for Forte C on sparc
- Implemented DECL_GLOBAL_CONSTRUCTOR for non-386, non-GNU C
- Implemented WINE_DPRINTF to have function name with Forte C
2002-07-05 21:22:09 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 9f0ff1bfd2 Moved WORDS_BIGENDIAN macros to basetsd.h.
Fixed FILETIME definition for big-endian.
2002-05-29 02:02:19 +00:00
Gregg Mattinson d736e82225 Fixed the LARGE_INTEGER and ULARGE_INTEGER unions for big endian. 2002-05-29 00:33:07 +00:00
Alexandre Julliard 59008670be Moved the selector access functions out of winnt.h into libwine. 2002-05-16 20:32:16 +00:00
Patrik Stridvall 3751ff045c MS C related changes. 2002-05-04 18:37:08 +00:00
Patrik Stridvall 441a7dcf7e Microsoft C related changes. 2002-04-29 18:37:36 +00:00
Alexandre Julliard 894b188fcf Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch] 2002-04-25 21:40:56 +00:00
Steven Edwards 63963b8ddf Fixed mingw32 warning about stdcall and fastcall being redefined. 2002-04-05 21:18:10 +00:00
Geoffrey Hausheer 03f4e22327 Added test for thread functions. 2002-04-02 19:37:15 +00:00
Alexandre Julliard 5068347b19 Implemented a large number of the 32-bit setupapi functions.
Fixed a number of setupx functions by making them call the setupapi
equivalents.
2002-04-02 02:57:50 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andreas Mohr 9a29b0cea5 Added some defines and offsets. 2002-02-27 21:35:36 +00:00
Peter Hunnisett 73ab649ced New file msvcrt/excpt.h. Move some stuff out of winnt.h into it. 2002-02-25 20:10:35 +00:00
Patrik Stridvall f94462fb75 Move __stdcall/__cdecl to the right place. 2002-01-31 23:22:07 +00:00
Alexandre Julliard 28e8029107 Fixed typos. 2002-01-12 21:17:51 +00:00
Alexandre Julliard b0f586178a Moved heap functions to ntdll.
Got rid of internal heap flags.
Reimplemented MapLS to not depend on the segptr heap.
2001-12-19 19:16:27 +00:00
Alexandre Julliard eb9a863116 Exported CALL32_Regs from ntdll, renamed to __wine_call_from_32_regs
to follow the naming convention for this type of functions.
Split 16 and 32-bit relay functions into separate files, and moved the
32-bit ones to dlls/ntdll.
2001-12-11 00:50:33 +00:00
Dmitry Timoshkov 6b6596a1e3 Fixed packing and layout of many system structures. 2001-11-23 18:44:43 +00:00
Francois Gouget ea31cf0a57 Fix LUID definition. 2001-11-20 18:52:20 +00:00
Andreas Mohr e5376f5428 Added more STATUS_ codes. 2001-08-09 21:14:42 +00:00
Ove Kaaven 705e7d708b Added STATUS_* constant for named pipes. Return STATUS_PIPE_NOT_AVAILABLE
when opening a named pipe if the pipe exists but no instances of it are
currently waiting for a connection.
2001-07-17 00:38:00 +00:00
Mike McCormack 45a5996144 Added some defines for process security tokens. 2001-06-22 23:43:09 +00:00
Andreas Mohr 1426c8cb74 Documentation updates. 2001-06-06 21:06:27 +00:00
Marcus Meissner f6eb06b105 Enhanced SetThreadExecutionState stub. 2001-05-18 20:58:43 +00:00
Francois Gouget 7a2da179b9 Prevent multiple definitions caused by MSVCRT headers. 2001-04-10 23:23:31 +00:00
James Juran 7313b78619 Added stub for SetThreadExecutionState (new function in Win98/2000). 2001-03-13 23:33:26 +00:00
François Gouget 880cd395b7 WINE_UNICODE_TEXT was incorrect.
Dropped support for WINE_UNICODE_TEXT('c') in C.
2001-02-28 05:18:54 +00:00
Josh DuBois 9f758cc568 Moved typedef of CRITICAL_SECTION out of #pragma pack(1) block. 2001-02-20 00:49:12 +00:00
James Abbatiello 4570478a6e Use the Pentium's rdtsc instruction (if available) to implement
QueryPerformanceCounter.
2001-02-13 20:20:27 +00:00
Josh DuBois 4b1eb5171c Defined architecture-specific macros for ppc. 2001-02-13 01:50:38 +00:00
Jon Griffiths 4ab1558d8a - Remove <string.h> from winnt.h.
- ntdll: complete crt functions, prevent libc imports, fix sscanf.
2001-01-22 02:17:29 +00:00
Ulrich Weigand 15f96804c4 Replaced architecture-dependent configure checks by hardcoded
definitions in winnt.h (to avoid config.h dependency).
2001-01-11 00:54:21 +00:00
Ulrich Weigand 0108d83818 Fixed winebuild to work on non-Intel architectures. 2000-12-29 05:17:33 +00:00
François Gouget 45437038b6 Declare all handles with DECLARE_OLD_HANDLE to ease conversion to
STRICT.
2000-12-26 00:07:25 +00:00
François Gouget 5e5c52d477 DUMMYSTRUCTNAME2 creates a conflict when using anonymous union names. 2000-12-19 23:31:52 +00:00
François Gouget 5051020e9f Added better support for Unicode:
Added support for 16-bit wchar_t
Added support for rewriting 4-byte Unicode literals to 16bit Unicode
2000-12-19 04:50:49 +00:00
Ulrich Weigand 975914003b Fixed IMAGE_RESOURCE_DIRECTORY_ENTRY on big-endian machines. 2000-12-19 03:38:53 +00:00
François Gouget 42b3ee74be Moved some of the STDMETHOD/STDAPI to winnt.h.
Moved the EXTERN_C macro to winnt.h.
Added a '#ifndef __WINE__' around the remaining macros.
2000-12-19 02:09:52 +00:00
François Gouget 7d6467649f Moved some macros like NULL, FALSE to winnt.h
Moved the anonymous struct/unions to winnt.h
Moved calling convention macros to winnt.h
Moved some basic types like BOOL, INT, LONG, etc. to winnt.h
Moved HANDLE and DECLARE_HANDLE to winnt.h
Moved structure packing macros to winnt.h
2000-12-15 21:31:03 +00:00
François Gouget 807b04513a Changed the type of Function to PDWORD as on Windows. 2000-12-15 20:53:39 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Dimitrie O. Paun 31b6d090df Modified winebuild to use the __ASM_FUNC macro for greater portability. 2000-12-01 21:27:43 +00:00
Dimitrie O. Paun c77cbbcd1f Test if we need to put the .type directive inside a .def directive. 2000-11-27 23:32:55 +00:00
Alexandre Julliard dfd3d4ada2 Moved GET_IP out of winnt.h. 2000-11-25 23:56:20 +00:00
Andreas Mohr 28a242e5b7 Removed double ANYSIZE_ARRAY define. 2000-11-25 01:39:10 +00:00
Francois Gouget da0acca7d8 Use DUMMYxxxNAME for anonymous struct/unions. 2000-11-10 22:34:39 +00:00
Francois Gouget 7a38452f83 We must include ctype.h so that applications get isalnum & co. 2000-11-08 05:03:15 +00:00
Ulrich Weigand 1b4c779270 Added missing IMAGE_DEBUG_MISC definition. 2000-11-07 20:29:00 +00:00
Andreas Mohr 220312e993 Skip directory symlinks in DOSFS_FindNextEx. 2000-10-19 20:38:38 +00:00
Francois Gouget 5e4b7de1b6 Completed/corrected the list of include files.
Handle WIN32_LEAN_AND_MEAN and the NOxxx macros.
2000-10-13 23:13:01 +00:00
Francois Gouget 48fc4aaaea Moved LCTYPE, GetLocaleInfo, NUMBERFMT, CURRENCYFMT and the related
API to winnls.h.
Moved LANG_xxx, SUBLANG_xxx, SORT_xxx and IS_TEXT_UNICODE_xxx to
winnt.h.
2000-10-12 23:20:29 +00:00
Alexandre Julliard d76f9f9637 Implemented a bunch of large integer functions in ntdll. 2000-10-01 01:40:42 +00:00
Alexandre Julliard d8fab2e67c Removed some of the XXX_reg macros now that we are using the standard
CONTEXT86 structure everywhere.
2000-09-25 23:53:07 +00:00
Alexandre Julliard 770eb51ed5 Moved most global data out of the LPDOSTASK structure.
Allocate DPMI real-mode segments globally at startup.
Try to allocate DOS memory at address 0.
2000-09-24 20:47:50 +00:00
Peter Hunnisett 565b00857e - Added some missing WINELIB_NAME_AW definitions, types and messages
- Small prototype fixes
2000-09-19 02:43:00 +00:00
Alexandre Julliard ea1afcef49 Added APC support in waitable timers. 2000-08-22 20:08:37 +00:00
Jeremy White ccc0a8032b Added WM_TCARD and DWORDLONG. 2000-08-02 01:00:02 +00:00
Peter Ganten 9f7907eb69 Moved Wine private heap creation flags to other values.
Return system heap when a shared heap is requested.
2000-08-01 23:38:02 +00:00
Ove Kaaven 7b49914afc Removed the hModule parameter from various DOSMEM routines, the DOSMEM
routines now always use the current memory space.
2000-07-28 22:23:59 +00:00
Ove Kaaven 9b2060afab Change the V86BASE macro to call DOSMEM_MemoryBase() instead of using
the ugly Dr7 hack.
2000-07-23 13:36:41 +00:00
Francois Gouget ae41e8c804 Reordered the CALLBACK and WINAPI directives so that it compiles with
old g++ versions.
2000-06-11 20:07:58 +00:00
Francois Gouget 53532248c4 Sorted out a few misplaced definitions.
Added some missing definitions related to file handling and virtual
memory manipulation.
Added IsTextUnicode.
2000-05-24 21:03:48 +00:00
Gerald Pfeifer 43bcf40c66 #undef DELETE before (re)defining it. 2000-05-23 21:13:04 +00:00
Alexandre Julliard 246c360631 Reserve space for the PE header at the start of the .so file.
Store the export table inside the data section so that sections can be
properly aligned.
Build the relay function table directly in the .spec.c file.
Moved relay debugging functions to relay386.c.
2000-05-10 03:48:00 +00:00
Alexandre Julliard 1ca9be85f6 Added DECL_GLOBAL_CONSTRUCTOR macro. 2000-05-01 20:25:13 +00:00
Francois Gouget b42ed5425b Include string.h to make winnt.h self-sufficient. 2000-04-24 18:02:02 +00:00
Alexandre Julliard 180a088beb Moved PE header definitions to winnt.h where they belong. 2000-04-18 11:58:24 +00:00
Andreas Mohr 32a5b63866 Moved some registry definitions to winnt.h. 2000-03-26 14:41:10 +00:00
Patrik Stridvall d628f43693 Fixed some ANSI C violations. 2000-03-24 20:42:08 +00:00