Use W32API.
Modified: trunk/reactos/lib/rtl/luid.c
Modified: trunk/reactos/lib/rtl/mem.c
Modified: trunk/reactos/lib/rtl/rtl.h
Modified: trunk/reactos/lib/rtl/rtl.xml
Modified: trunk/reactos/lib/rtl/unicode.c
Modified: trunk/reactos/lib/rtl/version.c
_____
Modified: trunk/reactos/lib/rtl/luid.c
--- trunk/reactos/lib/rtl/luid.c 2005-06-17 07:55:45 UTC (rev
15947)
+++ trunk/reactos/lib/rtl/luid.c 2005-06-17 07:57:37 UTC (rev
15948)
@@ -50,6 +50,7 @@
}
+#undef RtlEqualLuid
/*
* @implemented
*/
_____
Modified: trunk/reactos/lib/rtl/mem.c
--- trunk/reactos/lib/rtl/mem.c 2005-06-17 07:55:45 UTC (rev 15947)
+++ trunk/reactos/lib/rtl/mem.c 2005-06-17 07:57:37 UTC (rev 15948)
@@ -84,6 +84,7 @@
}
+#undef RtlFillMemory
/*
* @implemented
*/
@@ -123,7 +124,7 @@
}
-
+#undef RtlMoveMemory
/*
* @implemented
*/
@@ -155,6 +156,8 @@
UNIMPLEMENTED;
}
+
+#undef RtlZeroMemory
/*
* @implemented
*/
_____
Modified: trunk/reactos/lib/rtl/rtl.h
--- trunk/reactos/lib/rtl/rtl.h 2005-06-17 07:55:45 UTC (rev 15947)
+++ trunk/reactos/lib/rtl/rtl.h 2005-06-17 07:57:37 UTC (rev 15948)
@@ -9,6 +9,7 @@
/* INCLUDES
******************************************************************/
#include <ddk/ntddk.h>
+#include <ddk/ntifs.h>
#include <windows.h>
#include <ntdll/rtl.h>
#include <napi/teb.h>
@@ -20,6 +21,7 @@
#include <ntdll/rtl.h>
#include <rosrtl/thread.h>
#include <winerror.h>
+#include <ntos.h>
#include <stdio.h>
#define ROUNDUP(a,b) ((((a)+(b)-1)/(b))*(b))
_____
Modified: trunk/reactos/lib/rtl/rtl.xml
--- trunk/reactos/lib/rtl/rtl.xml 2005-06-17 07:55:45 UTC (rev
15947)
+++ trunk/reactos/lib/rtl/rtl.xml 2005-06-17 07:57:37 UTC (rev
15948)
@@ -1,4 +1,6 @@
<module name="rtl" type="staticlibrary">
+ <define name="__USE_W32API" />
+ <define name="_NTOSKRNL_" />
<include base="rtl">.</include>
<directory name="i386">
<file>allshl.s</file>
_____
Modified: trunk/reactos/lib/rtl/unicode.c
--- trunk/reactos/lib/rtl/unicode.c 2005-06-17 07:55:45 UTC (rev
15947)
+++ trunk/reactos/lib/rtl/unicode.c 2005-06-17 07:57:37 UTC (rev
15948)
@@ -341,8 +341,8 @@
BOOLEAN
STDCALL
RtlEqualUnicodeString(
- IN PUNICODE_STRING String1,
- IN PUNICODE_STRING String2,
+ IN CONST UNICODE_STRING *String1,
+ IN CONST UNICODE_STRING *String2,
IN BOOLEAN CaseInsensitive)
{
ULONG i;
_____
Modified: trunk/reactos/lib/rtl/version.c
--- trunk/reactos/lib/rtl/version.c 2005-06-17 07:55:45 UTC (rev
15947)
+++ trunk/reactos/lib/rtl/version.c 2005-06-17 07:57:37 UTC (rev
15948)
@@ -29,7 +29,7 @@
*/
/* INCLUDES
*****************************************************************/
-#define __USE_W32API
+
#include "rtl.h"
#define NDEBUG
Show replies by date