mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +00:00
[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:
parent
0d6f712756
commit
67d9295a2d
5 changed files with 10 additions and 9 deletions
|
@ -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,
|
||||
|
|
|
@ -2516,7 +2516,8 @@ RtlDosSearchPath_U(
|
|||
OUT PWSTR *PartName
|
||||
);
|
||||
|
||||
ULONG
|
||||
NTSYSAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RtlDosSearchPath_Ustr(
|
||||
IN ULONG Flags,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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 (
|
||||
|
|
|
@ -2011,7 +2011,7 @@ Quickie:
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
ULONG
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
RtlDosSearchPath_Ustr(IN ULONG Flags,
|
||||
IN PUNICODE_STRING PathString,
|
||||
|
|
Loading…
Reference in a new issue