mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 07:52:57 +00:00
Split out the resource functions for finer control of debug output.
svn path=/trunk/; revision=3832
This commit is contained in:
parent
688e9b05d9
commit
61bb7ba7ad
9 changed files with 1407 additions and 1194 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: mem.c,v 1.11 2002/09/08 10:23:05 chorns Exp $
|
||||
/* $Id: mem.c,v 1.12 2002/12/08 15:57:39 robd Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -18,7 +18,9 @@
|
|||
|
||||
ULONG
|
||||
STDCALL
|
||||
RtlCompareMemory(PVOID Source1, PVOID Source2, ULONG Length)
|
||||
RtlCompareMemory(PVOID Source1,
|
||||
PVOID Source2,
|
||||
ULONG Length)
|
||||
/*
|
||||
* FUNCTION: Compares blocks of memory and returns the number of equal bytes
|
||||
* ARGUMENTS:
|
||||
|
@ -95,11 +97,7 @@ RtlFillMemory (
|
|||
UCHAR Fill
|
||||
)
|
||||
{
|
||||
memset (
|
||||
Destination,
|
||||
Fill,
|
||||
Length
|
||||
);
|
||||
memset(Destination, Fill, Length);
|
||||
}
|
||||
|
||||
VOID
|
||||
|
@ -122,21 +120,6 @@ RtlFillMemoryUlong (
|
|||
}
|
||||
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlZeroMemory (
|
||||
PVOID Destination,
|
||||
ULONG Length
|
||||
)
|
||||
{
|
||||
RtlFillMemory (
|
||||
Destination,
|
||||
Length,
|
||||
0
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlMoveMemory (
|
||||
|
@ -153,4 +136,19 @@ RtlMoveMemory (
|
|||
}
|
||||
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlZeroMemory (
|
||||
PVOID Destination,
|
||||
ULONG Length
|
||||
)
|
||||
{
|
||||
RtlFillMemory (
|
||||
Destination,
|
||||
Length,
|
||||
0
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue