FillMemory macro
Fills a block of memory with a specified value.
void FillMemory(
[out] PVOID Destination,
[in] SIZE_T Length,
[in] BYTE Fill
);
Destination [out]
A pointer to the starting address of the block of memory to fill.Length [in]
The size of the block of memory to fill, in bytes. This value must be less than the size of the Destination buffer.Fill [in]
The byte value with which to fill the memory block.
This macro has no return value.
This macro is defined as the RtlFillMemory macro. For more information, see WinBase.h and Winnt.h.
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
WinBase.h (include Windows.h) |