Fix some Rtl Prototype inconsistencies, more are in ntifs/winddk but i have fixed those in my header branch for when ntoskrnl will use them. Modified: trunk/reactos/include/ntos/rtl.h Modified: trunk/reactos/lib/rtl/unicode.c _____
Modified: trunk/reactos/include/ntos/rtl.h --- trunk/reactos/include/ntos/rtl.h 2004-12-31 21:26:43 UTC (rev 12670) +++ trunk/reactos/include/ntos/rtl.h 2004-12-31 21:31:39 UTC (rev 12671) @@ -1,4 +1,4 @@
-/* $Id: rtl.h,v 1.41 2004/12/30 18:30:03 ion Exp $ +/* $Id$ * */ #ifndef __DDK_RTL_H @@ -381,7 +381,7 @@ STDCALL RtlAppendUnicodeToString ( PUNICODE_STRING Destination, - PWSTR Source + PCWSTR Source );
SIZE_T STDCALL @@ -861,7 +861,7 @@
BOOLEAN STDCALL RtlCreateUnicodeString (OUT PUNICODE_STRING Destination, - IN PWSTR Source); + IN PCWSTR Source);
BOOLEAN STDCALL RtlCreateUnicodeStringFromAsciiz (OUT PUNICODE_STRING Destination, @@ -2791,7 +2791,7 @@ FASTCALL RtlpCreateUnicodeString( IN OUT PUNICODE_STRING UniDest, - IN PWSTR Source, + IN PCWSTR Source, IN POOL_TYPE PoolType);
NTSTATUS _____
Modified: trunk/reactos/lib/rtl/unicode.c --- trunk/reactos/lib/rtl/unicode.c 2004-12-31 21:26:43 UTC (rev 12670) +++ trunk/reactos/lib/rtl/unicode.c 2004-12-31 21:31:39 UTC (rev 12671) @@ -2240,7 +2240,7 @@
STDCALL RtlCreateUnicodeString( IN OUT PUNICODE_STRING UniDest, - IN PWSTR Source) + IN PCWSTR Source) {
DPRINT("RtlCreateUnicodeString\n"); @@ -2255,7 +2255,7 @@ FASTCALL RtlpCreateUnicodeString( IN OUT PUNICODE_STRING UniDest, - IN PWSTR Source, + IN PCWSTR Source, IN POOL_TYPE PoolType) { ULONG Length; @@ -2392,7 +2392,7 @@ */ NTSTATUS STDCALL RtlAppendUnicodeToString(IN OUT PUNICODE_STRING Destination, - IN PWSTR Source) + IN PCWSTR Source) { ULONG slen;