The FillMemory function fills a block of memory with a specified value.
VOID FillMemory (
PVOID Destination, // pointer to block to fill
DWORD Length, // size, in bytes, of block to fill
BYTE Fill // the byte value with which to fill the block
);
This function has no return value.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winbase.h.
Memory Management Overview, Memory Management Functions, CopyMemory, CopyMemoryVlm, MoveMemory, MoveMemoryVlm, ZeroMemory