ImplZeroMemory1
#include <Windows.h>
VOID ImplZeroMemory1(_Inout_ PVOID Destination, _In_ SIZE_T Size)
{
PBYTE Dest = (PBYTE)Destination;
while (Size--)
{
*Dest++ = 0;
}
}
INT main(VOID)
{
WCHAR String1[] = L"I like cats a lot";
ImplZeroMemory1(String1, sizeof(String1));
return ERROR_SUCCESS;
}Last updated