Dmitry Timoshkov
a27be2db55
Make HeapFree(NULL) case faster by retrieving heap pointer after the
...
memory block pointer test.
2005-01-24 11:27:27 +00:00
Alexandre Julliard
1fd6264244
Fixed the FIXME in RtlNtStatusToDosError, and implemented
...
RtlGetLastNtStatus and RtlSetLastWin32ErrorAndNtStatusFromNtStatus.
2005-01-04 12:09:32 +00:00
Robert Shearman
2050591370
Fix NtAllocateVirtualMemory declaration and fix users of the
...
function.
2004-10-11 20:59:06 +00:00
Eric Pouech
db52588754
Const correctness.
2004-06-15 00:47:00 +00:00
Alexandre Julliard
9e73f55af3
Store the last error code at the TEB offset used by NT instead of the
...
Win9x one.
2003-11-25 01:53:23 +00:00
Dimitrie O. Paun
c762f5d7af
RtlHeapReAllocate() should not allocate memory.
...
Add small test to make sure it doesn't return.
Don't import ntdll for tests, we need to load it dynamically.
2003-11-25 01:02:02 +00:00
Alexandre Julliard
410e6b7b39
Changed the init code to make libwine load only ntdll and transfer
...
control to it, and then have ntdll load kernel32 using the normal
loader mechanisms.
Get rid of BUILTIN32_LoadExeModule.
2003-10-10 00:12:17 +00:00
Pavel Roskin
91f234f267
Eliminate dependency on SetLastError().
2003-10-08 19:10:33 +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
06e34ffc12
Minor tracing fix.
2003-08-12 20:34:06 +00:00
Eric Pouech
c962a6997c
- in kernel32, replaced all {Enter|Leave}CriticalSection calls with
...
ntdll counterparts
- {Enter|Leave}CriticalSection is now a pure forward from kernel32 to
ntdll (we now longer can use {Enter|Leave}CriticalSection in kernel32)
- replaced a few kernel32 heap management calls from ntdll, with
RtlHeap* equivalents
2003-06-23 18:12:28 +00:00
Alexandre Julliard
6bc5091160
Start to make use of the proper PEB structure for process
...
information.
2003-05-22 03:44:01 +00:00
Dmitry Timoshkov
7baa67cbcb
Added missing return in HEAP_ValidateInUseArena.
2003-05-12 03:32:07 +00:00
Alexandre Julliard
46adbecd13
Insert the last free block of a subheap at the end of the free list to
...
avoid using uncomitted space unless really necessary.
2003-04-14 21:44:21 +00:00
Alexandre Julliard
c44555bb37
Added support for marking heap blocks as inaccessible/uninitialized if
...
valgrind is installed, based on a patch by Adam Gundy.
2003-04-02 01:42:06 +00:00
Jon Griffiths
cd4234aa49
Documentation updates.
2003-03-18 18:35:48 +00:00
Alexandre Julliard
43690e9e47
Removed no longer needed inclusion of heap.h.
2003-01-24 00:54:58 +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
Patrik Stridvall
75dee506ae
Replace 0x%p with %p.
2002-12-05 19:56:15 +00:00
Andrew John Hughes
ed800c69c8
Build ntdll with -DSTRICT.
2002-11-21 03:45:01 +00:00
Alexandre Julliard
69d7cb5681
Avoid calling some kernel functions.
2002-09-18 23:13:35 +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
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
Alexandre Julliard
a6cff2b3c8
We have to use the Rtl variant of Enter/LeaveCriticalSection inside
...
ntdll.
2002-07-31 17:56:54 +00:00
Alexandre Julliard
82696f43ee
Make sure allocated blocks are aligned on an 8-byte boundary.
2002-07-01 18:41:47 +00:00
Alexandre Julliard
4301d3e5c6
Restored MakeCriticalSectionGlobal that got lost somewhere.
2002-06-13 21:46:46 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
7fbd74ea55
Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
...
issues.
2002-05-23 02:53:10 +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