#ifndef _NTRTL_H
#if (PHNT_VERSION >= PHNT_WINDOWS_10_19H2)
NTSYSAPI
BOOLEAN
NTAPI
RtlIsZeroMemory(
_In_ PVOID Buffer,
_In_ SIZE_T Length
);
View code on GitHub// ntddk.h
NTSYSAPI BOOLEAN RtlIsZeroMemory(
PVOID Buffer,
SIZE_T Length
);
View the official Windows Driver Kit DDI referenceThis function is documented in Windows Driver Kit.
This routine checks if a block of unaligned memory is all zero.
BufferPointer to the memory buffer to check.
LengthLength, in bytes, of the memory buffer.
This function returns TRUE if the memory is all zero and FALSE otherwise.