Commit in reactos/include/ntos on MAIN
rtl.h+25-381.38 -> 1.39
- Replace WIN32 types by corresponding native types.
- Replace debug macros and fix potential 64bit issues (pointers casted to DWORDs).

reactos/include/ntos
rtl.h 1.38 -> 1.39
diff -u -r1.38 -r1.39
--- rtl.h	30 Oct 2004 14:02:01 -0000	1.38
+++ rtl.h	25 Nov 2004 19:22:07 -0000	1.39
@@ -1,4 +1,4 @@
-/* $Id: rtl.h,v 1.38 2004/10/30 14:02:01 navaraf Exp $
+/* $Id: rtl.h,v 1.39 2004/11/25 19:22:07 ekohl Exp $
  * 
  */
 #ifndef __DDK_RTL_H
@@ -383,13 +383,10 @@
 	PWSTR		Source
 	);
 
-ULONG
-STDCALL
-RtlCompareMemory (
-	PVOID	Source1,
-	PVOID	Source2,
-	ULONG	Length
-	);
+SIZE_T STDCALL
+RtlCompareMemory(IN const VOID *Source1,
+                 IN const VOID *Source2,
+                 IN SIZE_T Length);
 
 BOOLEAN
 STDCALL
@@ -722,11 +719,10 @@
 	IN	ULONG		NumberToClear
 	);
 
-DWORD
-STDCALL
+ULONG STDCALL
 RtlCompactHeap (
-	HANDLE	hheap,
-	DWORD	flags
+	HANDLE Heap,
+	ULONG	Flags
 	);
 
 LONG
@@ -964,7 +960,7 @@
 NTSTATUS STDCALL
 RtlDestroyAtomTable (IN PRTL_ATOM_TABLE AtomTable);
 
-BOOL STDCALL
+BOOLEAN STDCALL
 RtlDestroyHeap (HANDLE hheap);
 
 NTSTATUS
@@ -1951,11 +1947,8 @@
 	HANDLE Filehandle
 	);
 
-BOOL
-STDCALL
-RtlLockHeap (
-	HANDLE	hheap
-	);
+BOOLEAN STDCALL
+RtlLockHeap (IN HANDLE Heap);
 
 NTSTATUS STDCALL
 RtlLookupAtomInAtomTable (IN PRTL_ATOM_TABLE AtomTable,
@@ -2159,7 +2152,8 @@
 VOID STDCALL
 RtlRaiseException (IN PEXCEPTION_RECORD ExceptionRecord);
 
-VOID STDCALL RtlRaiseStatus(NTSTATUS Status);
+VOID STDCALL
+RtlRaiseStatus(NTSTATUS Status);
 
 ULONG STDCALL
 RtlRandom (PULONG Seed);
@@ -2182,13 +2176,12 @@
 	PRTL_SPLAY_LINKS Links
 	);
 
-LPVOID
-STDCALL
+PVOID STDCALL
 RtlReAllocateHeap (
-	HANDLE	hheap,
-	DWORD	flags,
-	LPVOID	ptr,
-	DWORD	size
+	HANDLE Heap,
+	ULONG Flags,
+	PVOID Ptr,
+	ULONG Size
 	);
 
 VOID
@@ -2326,8 +2319,7 @@
 NTSTATUS STDCALL
 RtlSetTimeZoneInformation (IN OUT PTIME_ZONE_INFORMATION TimeZoneInformation);
 
-ULONG
-STDCALL
+ULONG STDCALL
 RtlSizeHeap(
 	IN PVOID HeapHandle, 
 	IN ULONG Flags, 
@@ -2538,11 +2530,8 @@
 ULONG STDCALL
 RtlUniform (PULONG Seed);
 
-BOOL
-STDCALL
-RtlUnlockHeap (
-	HANDLE	hheap
-	);
+BOOLEAN STDCALL
+RtlUnlockHeap (IN HANDLE Heap);
 
 NTSTATUS
 STDCALL
@@ -2641,11 +2630,10 @@
 BOOLEAN STDCALL
 RtlValidAcl (PACL Acl);
 
-BOOL
-STDCALL
+BOOLEAN STDCALL
 RtlValidateHeap (
-	HANDLE	hheap,
-	DWORD	flags,
+	HANDLE Heap,
+	ULONG	Flags,
 	PVOID	pmem
 	);
 
@@ -2688,8 +2676,7 @@
 	IN ULONG Flags
 	);
 
-ULONG
-STDCALL
+BOOLEAN STDCALL
 RtlZeroHeap(
     IN PVOID HeapHandle,
     IN ULONG Flags
CVSspam 0.2.8