mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +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
|
@ -8064,7 +8064,7 @@ RtlCopyMemoryNonTemporal(
|
||||||
#define RtlEqualLuid(Luid1, Luid2) \
|
#define RtlEqualLuid(Luid1, Luid2) \
|
||||||
(((Luid1)->LowPart == (Luid2)->LowPart) && ((Luid1)->HighPart == (Luid2)->HighPart))
|
(((Luid1)->LowPart == (Luid2)->LowPart) && ((Luid1)->HighPart == (Luid2)->HighPart))
|
||||||
|
|
||||||
/* ULONG
|
/* LOGICAL
|
||||||
* RtlEqualMemory(
|
* RtlEqualMemory(
|
||||||
* IN VOID UNALIGNED *Destination,
|
* IN VOID UNALIGNED *Destination,
|
||||||
* IN CONST VOID UNALIGNED *Source,
|
* IN CONST VOID UNALIGNED *Source,
|
||||||
|
|
|
@ -2516,7 +2516,8 @@ RtlDosSearchPath_U(
|
||||||
OUT PWSTR *PartName
|
OUT PWSTR *PartName
|
||||||
);
|
);
|
||||||
|
|
||||||
ULONG
|
NTSYSAPI
|
||||||
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlDosSearchPath_Ustr(
|
RtlDosSearchPath_Ustr(
|
||||||
IN ULONG Flags,
|
IN ULONG Flags,
|
||||||
|
|
|
@ -178,7 +178,7 @@ RtlCopyMemoryNonTemporal(
|
||||||
#define RtlEqualLuid(Luid1, Luid2) \
|
#define RtlEqualLuid(Luid1, Luid2) \
|
||||||
(((Luid1)->LowPart == (Luid2)->LowPart) && ((Luid1)->HighPart == (Luid2)->HighPart))
|
(((Luid1)->LowPart == (Luid2)->LowPart) && ((Luid1)->HighPart == (Luid2)->HighPart))
|
||||||
|
|
||||||
/* ULONG
|
/* LOGICAL
|
||||||
* RtlEqualMemory(
|
* RtlEqualMemory(
|
||||||
* IN VOID UNALIGNED *Destination,
|
* IN VOID UNALIGNED *Destination,
|
||||||
* IN CONST VOID UNALIGNED *Source,
|
* IN CONST VOID UNALIGNED *Source,
|
||||||
|
|
|
@ -85,7 +85,7 @@ VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlFillMemory (
|
RtlFillMemory (
|
||||||
PVOID Destination,
|
PVOID Destination,
|
||||||
ULONG Length,
|
SIZE_T Length,
|
||||||
UCHAR Fill
|
UCHAR Fill
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -101,12 +101,12 @@ VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlFillMemoryUlong (
|
RtlFillMemoryUlong (
|
||||||
PVOID Destination,
|
PVOID Destination,
|
||||||
ULONG Length,
|
SIZE_T Length,
|
||||||
ULONG Fill
|
ULONG Fill
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PULONG Dest = Destination;
|
PULONG Dest = Destination;
|
||||||
ULONG Count = Length / sizeof(ULONG);
|
SIZE_T Count = Length / sizeof(ULONG);
|
||||||
|
|
||||||
while (Count > 0)
|
while (Count > 0)
|
||||||
{
|
{
|
||||||
|
@ -126,7 +126,7 @@ NTAPI
|
||||||
RtlMoveMemory (
|
RtlMoveMemory (
|
||||||
PVOID Destination,
|
PVOID Destination,
|
||||||
CONST VOID * Source,
|
CONST VOID * Source,
|
||||||
ULONG Length
|
SIZE_T Length
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
memmove (
|
memmove (
|
||||||
|
@ -160,7 +160,7 @@ VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlZeroMemory (
|
RtlZeroMemory (
|
||||||
PVOID Destination,
|
PVOID Destination,
|
||||||
ULONG Length
|
SIZE_T Length
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
RtlFillMemory (
|
RtlFillMemory (
|
||||||
|
|
|
@ -2011,7 +2011,7 @@ Quickie:
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlDosSearchPath_Ustr(IN ULONG Flags,
|
RtlDosSearchPath_Ustr(IN ULONG Flags,
|
||||||
IN PUNICODE_STRING PathString,
|
IN PUNICODE_STRING PathString,
|
||||||
|
|
Loading…
Reference in a new issue