Fills a block of memory with a specified value.
void FillMemory( [out] PVOID Destination, [in] SIZE_T Length, [in] BYTE Fill );
A pointer to the starting address of the block of memory to fill.
The size of the block of memory to fill, in bytes. This value must be less than the size of the Destination buffer.
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]
|WinBase.h (include Windows.h)|