Commit Graph

165 Commits

Author SHA1 Message Date
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
Dmitry Timoshkov 10476af626 include: Make KNONVOLATILE_CONTEXT_POINTERS match PSDK definition. 2013-04-30 11:47:05 +02:00
Alexandre Julliard aa55603b73 ntdll: Move the _chkstk implementation to signal_i386.c. 2012-04-02 12:46:38 +02:00
Alexandre Julliard 70f4b2d502 ntdll: Make an error message a proper ERR. 2011-12-13 14:00:23 +01:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Detlef Riekenberg 5e95d7039e ntdll: Add stubs for Rtl[G/S]etCurrentTransaction. 2010-11-08 13:30:20 +01:00
Detlef Riekenberg 4aef9446ba ntdll: Implement RtlIpv4AddressToString / RtlIpv4AddressToStringEx. 2010-08-19 11:52:47 +02:00
Louis Lenders 226a5019e7 Quiet two noisy FIXME's. 2010-03-26 15:34:57 +01:00
Peter Rosin 091f0fedfe ntdll: Document RtlSetThreadErrorMode and RtlGetThreadErrorMode. 2010-02-05 10:07:35 +01:00
Peter Rosin bdebad094c ntdll: Add RtlSetThreadErrorMode and RtlGetThreadErrorMode. 2010-02-03 11:37:59 +01:00
André Hentschel 5a9564d938 ntdll: Stub for RtlNumberGenericTableElements. 2009-10-26 11:37:13 +01:00
Alexandre Julliard 7a56aca2eb ntdll: Implemented the SList functions for Win64. 2009-09-01 12:41:57 +02:00
Alexandre Julliard e65ebee63f ntdll: Add appropriate stdcall decorations to assembly functions. 2009-06-15 13:42:26 +02:00
Louis Lenders d099c90ea3 ntdll: Add stub for RtlEnumerateGenericTableWithoutSplaying. 2009-06-04 12:43:42 +02:00
Alexandre Julliard f8313855e4 ntdll: Convert the DbgPrint* functions to use MS ABI varargs. 2009-01-28 19:38:19 +01:00
Ricardo Filipe 141dcff441 ntdll: Add stub for RtlDecompressBuffer. 2009-01-28 13:46:15 +01:00
Ricardo Filipe 63a5cec8cd ntdll: Add stub for RtlCompressBuffer. 2009-01-27 11:08:33 +01:00
Ricardo Filipe f4eb36531f ntdll: Add stub for RtlGetCompressionWorkSpaceSize. 2009-01-26 14:29:51 +01:00
Erik de Castro Lopo eba704b8bb ntdll: Win64 fix for get_pointer_obfuscator. 2008-04-25 11:37:33 +02:00
Dmitry Timoshkov e142779b09 ntdll: Fix compilation warnings in 64-bit mode. 2007-05-23 13:10:20 +02:00
Jan Zerebecki aaf9a151c1 ntdll: Add DebugInfo to critical sections. 2007-03-12 13:38:35 +01: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
Kevin Koltzau 05c0df15e2 ntdll: Fix compile errors for Win64. 2007-02-08 11:56:03 +01:00
Francois Gouget 0f376b4874 ntdll: Add a stub API documentation to make winapi_check happy. 2007-02-06 13:26:40 +01:00
Damjan Jovanovic 07db8882c2 ntdll: Slist support.
Implemented ntdll's RtlInitializeSListHead, RtlQueryDepthSList,
RtlInterlockedFlushSList, RtlFirstEntrySList,
RtlInterlockedPushEntrySList, RtlInterlockedPopEntrySList, their
kernel32 equivalents, and tests.
2007-02-05 21:46:28 +01:00
Mike McCormack bcc717174c ntdll: Implement RtlDecodePointer and RtlEncodePointer. 2007-01-22 12:45:43 +01:00
Joel Parker 2319999a05 Remove redundant semicolons for ANSI compatibility. 2007-01-17 11:58:15 +01:00
Andrew Talbot 9cf1579aad ntdll/tests: Cast-qual warning fix. 2006-12-13 11:49:01 +01:00
Hans Leidekker f7b0ba7aa7 ntdll: Win64 printf format warning fixes. 2006-10-18 12:35:26 +02:00
Robert Reif 46d2886dd0 ntdll: Fix some function arguments. 2006-08-04 11:59:25 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Johan Dahlin e21aff0766 ntdll: RtlIpv4AddressToStringExW/RtlIpv4StringToAddressExW stubs. 2006-02-02 13:21:26 +01:00
Alexandre Julliard 50bbfb3c8c ntdll: Reimplemented _chkstk and _alloca_probe directly in assembly. 2005-12-15 10:48:12 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01: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
Alexandre Julliard 4fd5bf40a2 Implemented RtlGetNtProductType. 2005-08-10 14:48:45 +00:00
Alexandre Julliard 55ad6cc520 Implemented a few trivial ntdll functions that have been added in
recent Windows versions.
2005-08-02 11:38:51 +00:00
Mike McCormack 6c45b62679 - NtWaitForSingleObject doesn't return WAIT_FAILED.
- Use STATUS_WAIT_0 not WAIT_OBJECT_0.
2005-06-25 18:31:19 +00:00
Mike McCormack 6b636e3e7b Use RTL_CRITICAL_SECTION instead of CRITICAL_SECTION. 2005-06-25 18:00:57 +00:00
Mike McCormack 04f9f1b066 Don't include winbase.h or winerror.h when not necessary. 2005-06-21 09:52:40 +00:00
Mike McCormack 5b2d5fd758 Use HANDLE instead of HKEY in the NT API. 2005-06-17 13:58:33 +00:00
Alexandre Julliard 26050b49d5 Prefix the internal name of all register functions with __regs_ for
better consistency and to make automated checking possible.
2005-05-07 18:10:30 +00:00
Eric Pouech 9dc3843cba Fixed some regressions from the previous change. 2005-01-03 14:43:15 +00:00
Jon Griffiths 49e13df700 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-17 19:09:29 +00:00
Jon Griffiths bf5539bbe6 Documentation updates. 2004-09-13 18:04:31 +00:00
Eric Pouech db52588754 Const correctness. 2004-06-15 00:47:00 +00:00
Raphael Junqueira 43b9f97b22 - fix DbgPrint and implement DbgPrintEx
- stub for NtImpersonateAnonymousToken
2004-04-07 19:05:34 +00:00
Alexandre Julliard f752be843e Implement some more register functions using DEFINE_REGS_ENTRYPOINT to
make them available for imports.
2003-12-04 05:51:01 +00:00
Alexandre Julliard 5e3549bf3b Implemented RtlCreateProcessParameters and related functions. 2003-10-04 03:11:57 +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
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
Alexandre Julliard 19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Eric Pouech 35d5d06ac9 Implemented RtlDosPathNameToNtPathName_U, RtlGetCurrentDirectory_U,
RtlGetFullPathName_U and RtlSetCurrentDirectory_U (the last one
partially as we can't test whether a path exists or not).
2003-05-15 04:20:42 +00:00
Eric Pouech 2d758c6444 Implemented a bunch of environment related NTDLL APIs. 2003-05-08 03:47:00 +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
Eric Pouech 14d04b608c No longer call WaitFor*Object* from ntdll (but NtWait*Object*). 2003-04-03 23:57:11 +00:00
Thomas Mertes c83aa0d311 - Implement RtlDowncaseUnicodeString, RtlUniform, iswdigit, iswlower,
iswspace, iswxdigit.
- Fixed RtlInt64ToUnicodeString and RtlIntegerToUnicodeString.
- According to tests RtlAppendUnicodeStringToString leaves the
  destination unchanged when the source length is 0 (FIXED).
- Documentation updates in RtlExtendedMagicDivide,
  RtlLargeIntegerToChar, RtlInt64ToUnicodeString, RtlUpperChar,
  RtlUpperString, RtlUpcaseUnicodeChar, RtlCharToInteger,
  RtlIntegerToChar, RtlUnicodeStringToInteger,
  RtlIntegerToUnicodeString, _ultoa, _ltoa, _itoa, _ui64toa, _i64toa,
  _atoi64, _ultow, _ltow, _itow, _ui64tow, _i64tow, _wtol, _wtoi,
  _wtoi64.
2003-03-22 00:20:58 +00:00
Alexandre Julliard a9bedef3f6 Changed name of the asm version of RtlUlong/shortByteSwap to avoid
conflicts with the inline version.
2003-03-20 19:25:39 +00:00
Alexandre Julliard 6da4c275ca Implemented Rtl*ByteSwap() functions, based on a patch by Jon
Griffiths.
2003-03-19 00:09:57 +00:00
Jon Griffiths ccf2f6162b Correct the agument count for RtlInitializeGenericTable().
Fix my own brown paper bag in RtlFillMemoryUlong().
RtlGetNtVersionNumbers() should never return < 5.
Remove RtlCopyMemory(), its not an ntdll export.
Implement RtlCompareMemoryUlong(), RtlComputeCrc32().
Documentation updates.
2003-03-18 20:12:07 +00:00
Alexandre Julliard 769a84fac1 Avoid GetProcessHeap() inside ntdll. 2003-03-14 23:16:46 +00:00
Thomas Mertes f4757bb631 - Implement RtlCharToInteger, RtlExtendedMagicDivide, RtlUpperChar,
RtlInt64ToUnicodeString, RtlIntegerToChar, RtlIntegerToUnicodeString,
  RtlLargeIntegerToChar, RtlUnicodeStringToInteger and
  RtlUpcaseUnicodeChar.
- Use toupperW instead of toupper in RtlCompareUnicodeString.
2003-02-19 03:39:46 +00:00
Andrew John Hughes ed800c69c8 Build ntdll with -DSTRICT. 2002-11-21 03:45:01 +00:00
Mike McCormack 40f81e7cc3 Partial implementation of RtlDosPathNameToNtPathName_U. 2002-11-15 01:00:08 +00:00
Patrik Stridvall 9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
Jon Griffiths 1da297178a Implement and test rtl bitmap functions.
Add a couple of other misc rtl functions.
2002-08-15 22:08:40 +00:00
Alexandre Julliard a5dea216cc Implemented the RtlImage* functions, and use them to replace the
PE_HEADER macro.
2002-08-09 19:57:38 +00:00
Alexandre Julliard 7375597fe2 Fixed some handle type mismatches and added a few casts in prevision
of void* handles.
2002-07-31 19:26:03 +00:00
Ryan Cumming 08be8f06cc Implementation of RtlGetNtVersionNumbers. 2002-07-28 17:49:26 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +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
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 996c0bff59 Removed ntdll dependency on MultiByteToWideChar/WideCharToMultiByte
kernel32 functions, plus a few small cleanups.
2001-12-05 22:14:57 +00:00
Alexandre Julliard 301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall 17fd4e3816 Documentation name fixes. 2001-06-28 18:04:41 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Alexandre Julliard 361943aaec Implemented RtlAcquirePebLock and RtlReleasePebLock. 2000-12-11 03:41:19 +00:00
Alexandre Julliard d76f9f9637 Implemented a bunch of large integer functions in ntdll. 2000-10-01 01:40:42 +00:00
Alexandre Julliard cc9cfdff79 Removed a few dependencies on kernel32 functions. 2000-09-29 00:31:57 +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 0aa6cc298e Removed a few external dependencies from ntdll. 2000-07-29 21:56:59 +00:00
Patrik Stridvall fcfacb95a7 Added/fixed some documentation reported by winapi_check. 2000-03-24 20:46:04 +00:00
Juergen Schmied 9f50d049ea Fixed definition of the RtlMemory functions. Use macros internally and
for Winelib, use real functions for exports from ntdll.
2000-02-26 19:35:50 +00:00
Andreas Mohr 63e8bd5d50 Added stub for RtlAssert(). 2000-02-20 13:47:28 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Alexandre Julliard 2646fb6047 Built a complete translation table for RtlNtStatusToDosError. 2000-01-24 20:59:45 +00:00
Juergen Schmied 02d45e52c5 - implementation of RtlReg* (read access), RtlEvent*, RtlSemaphore*,
NtAllocateLocallyUniqueId
- implementation or stubs for NtAccessCheck, NtSetSecurityObject,
  RtlClearBits, RtlEqualPrefixSid, RtlFindClearBits,
  RtlFormatCurrentUserKeyPath, RtlGetControlSecurityDescriptor,
  RtlIdentifierAuthoritySid, RtlImpersonateSelf, RtlInitializeBitMap,
  RtlInitializeGenericTable, RtlMakeSelfRelativeSD,
  RtlPrefixUnicodeString, RtlSetBits, RtlUnicodeToMultiByteN,
  RtlUpcaseUnicodeStringToOemString, RtlUpcaseUnicodeToOemN,
  RtlValidSid, RtlxUnicodeStringToOemSize
- corrected most RtlString* functions, added documentation
- more fixes and partial implementations
2000-01-23 22:35:33 +00:00
Adam Sacarny d2304aa893 Fix for compilers that don't support 'long long' (From Ove Kaaven). 2000-01-05 01:42:13 +00:00
Ulrich Weigand eb94c7d2c4 Adapted to new register function handling. 1999-11-13 23:54:04 +00:00
Patrik Stridvall e216de9794 Fixed some of the issues reported by winapi-check, by adding arguments
to varargs.
1999-09-29 10:27:00 +00:00
Patrik Stridvall b8684a266b Fixed some of the issues reported by winapi-check. 1999-07-31 17:32:05 +00:00
Patrik Stridvall a4b80d4495 Fixes for compile on non-Intel platforms. 1999-07-04 11:05:57 +00:00
Alexandre Julliard 617955db88 Changed CONTEXT into CONTEXT86 everywhere we really want an i386
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Alexandre Julliard 156570906f Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-05-23 10:25:25 +00:00
Alexandre Julliard 0a277b638c Adapted for new register functions support (ESP_reg in register
functions now points after the arguments).
1999-05-13 16:21:37 +00:00