-/* $Id: mem.c,v 1.9 2000/06/29 23:35:31 dwelch Exp $
+/* $Id: mem.c,v 1.10 2002/09/07 15:12:40 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
/* INCLUDES *****************************************************************/
-#include <ddk/ntddk.h>
+#define NTOS_USER_MODE
+#include <ntos.h>
#include <string.h>
+#define NDEBUG
+#include <debug.h>
+
/* FUNCTIONS *****************************************************************/
-ULONG
-STDCALL
-RtlCompareMemory(PVOID Source1, PVOID Source2, ULONG Length)
+#undef RtlCompareMemory
+
+SIZE_T STDCALL
+RtlCompareMemory(
+ IN CONST VOID *Source1,
+ IN CONST VOID *Source2,
+ IN SIZE_T Length)
/*
* FUNCTION: Compares blocks of memory and returns the number of equal bytes
* ARGUMENTS:
return(total);
}
+#undef RtlCompareMemoryUlong
+
ULONG
STDCALL
RtlCompareMemoryUlong (
}
#if 0
+
+#undef RtlCopyBytes
VOID RtlCopyBytes(PVOID Destination,
CONST VOID* Source,
ULONG Length)
RtlCopyMemory(Destination,Source,Length);
}
+#undef RtlCopyMemory
+
VOID RtlCopyMemory(VOID* Destination, CONST VOID* Source, ULONG Length)
{
DPRINT("RtlCopyMemory(Destination %x Source %x Length %d\n",
}
#endif
+#undef RtlFillMemory
+
VOID
STDCALL
RtlFillMemory (
);
}
+#undef RtlFillMemoryUlong
+
VOID
STDCALL
RtlFillMemoryUlong (
}
}
+#undef RtlZeroMemory
VOID
STDCALL
);
}
+#undef RtlMoveMemory
VOID
STDCALL