[RTL/NDK/DDK/XDK]

- RtlDosSearchPath_Ustr returns NTSTATUS, not ULONG
- Fix some ULONG vs SIZE_T issues
- RtlEqualMemory returns LOGICAL, not ULONG

svn path=/trunk/; revision=56455
This commit is contained in:
Thomas Faber 2012-05-01 07:16:02 +00:00
parent 0d6f712756
commit 67d9295a2d
5 changed files with 10 additions and 9 deletions

View file

@ -8064,7 +8064,7 @@ RtlCopyMemoryNonTemporal(
#define RtlEqualLuid(Luid1, Luid2) \
(((Luid1)->LowPart == (Luid2)->LowPart) && ((Luid1)->HighPart == (Luid2)->HighPart))
/* ULONG
/* LOGICAL
* RtlEqualMemory(
* IN VOID UNALIGNED *Destination,
* IN CONST VOID UNALIGNED *Source,

View file

@ -2516,7 +2516,8 @@ RtlDosSearchPath_U(
OUT PWSTR *PartName
);
ULONG
NTSYSAPI
NTSTATUS
NTAPI
RtlDosSearchPath_Ustr(
IN ULONG Flags,

View file

@ -178,7 +178,7 @@ RtlCopyMemoryNonTemporal(
#define RtlEqualLuid(Luid1, Luid2) \
(((Luid1)->LowPart == (Luid2)->LowPart) && ((Luid1)->HighPart == (Luid2)->HighPart))
/* ULONG
/* LOGICAL
* RtlEqualMemory(
* IN VOID UNALIGNED *Destination,
* IN CONST VOID UNALIGNED *Source,

View file

@ -85,7 +85,7 @@ VOID
NTAPI
RtlFillMemory (
PVOID Destination,
ULONG Length,
SIZE_T Length,
UCHAR Fill
)
{
@ -101,12 +101,12 @@ VOID
NTAPI
RtlFillMemoryUlong (
PVOID Destination,
ULONG Length,
SIZE_T Length,
ULONG Fill
)
{
PULONG Dest = Destination;
ULONG Count = Length / sizeof(ULONG);
SIZE_T Count = Length / sizeof(ULONG);
while (Count > 0)
{
@ -126,7 +126,7 @@ NTAPI
RtlMoveMemory (
PVOID Destination,
CONST VOID * Source,
ULONG Length
SIZE_T Length
)
{
memmove (
@ -160,7 +160,7 @@ VOID
NTAPI
RtlZeroMemory (
PVOID Destination,
ULONG Length
SIZE_T Length
)
{
RtlFillMemory (

View file

@ -2011,7 +2011,7 @@ Quickie:
/*
* @implemented
*/
ULONG
NTSTATUS
NTAPI
RtlDosSearchPath_Ustr(IN ULONG Flags,
IN PUNICODE_STRING PathString,