Move RtlFillMemory() routine to ntosdrv driver
This commit is contained in:
@@ -87,32 +87,6 @@ RtlCopyMemory(OUT PVOID Destination,
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This routine fills a section of memory with a specified byte.
|
||||
*
|
||||
* @param Destination
|
||||
* Supplies a pointer to the buffer to fill.
|
||||
*
|
||||
* @param Length
|
||||
* Specifies a number of bytes to store in memory.
|
||||
*
|
||||
* @param Byte
|
||||
* Supplies a pattern to fill memory.
|
||||
*
|
||||
* @return This routine does not return any value.
|
||||
*
|
||||
* @since NT 3.5
|
||||
*/
|
||||
XTAPI
|
||||
VOID
|
||||
RtlFillMemory(OUT PVOID Destination,
|
||||
IN SIZE_T Length,
|
||||
IN UCHAR Byte)
|
||||
{
|
||||
/* Fill the buffer with specified byte */
|
||||
RtlSetMemory(Destination, Byte, Length);
|
||||
}
|
||||
|
||||
/**
|
||||
* This routine copies a block of memory either forward of backward, depeding
|
||||
* if source and destination buffers overlap or not.
|
||||
|
Reference in New Issue
Block a user