/*
* @implemented
*/
-ULONG
+SIZE_T
NTAPI
RtlCompareMemoryUlong (
PVOID Source,
- ULONG Length,
+ SIZE_T Length,
ULONG Value
)
/*
*/
{
PULONG ptr = (PULONG)Source;
- ULONG len = Length / sizeof(ULONG);
- ULONG i;
+ ULONG_PTR len = Length / sizeof(ULONG);
+ ULONG_PTR i;
for (i = 0; i < len; i++)
{
ptr++;
}
- return (ULONG)((PCHAR)ptr - (PCHAR)Source);
+ return (SIZE_T)((PCHAR)ptr - (PCHAR)Source);
}
NTAPI
RtlFillMemory (
PVOID Destination,
- ULONG Length,
+ SIZE_T Length,
UCHAR Fill
)
{
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)
{
RtlMoveMemory (
PVOID Destination,
CONST VOID * Source,
- ULONG Length
+ SIZE_T Length
)
{
memmove (
NTAPI
RtlZeroMemory (
PVOID Destination,
- ULONG Length
+ SIZE_T Length
)
{
RtlFillMemory (