Bewerken

Delen via


RtlIsZeroMemory function (ntddk.h)

This routine checks if a block of unaligned memory is all zero.

Syntax

NTSYSAPI BOOLEAN RtlIsZeroMemory(
  PVOID  Buffer,
  SIZE_T Length
);

Parameters

Buffer

Pointer to the memory buffer to check.

Length

Length, in bytes, of the memory buffer.

Return value

This function returns TRUE if the memory is all zero and FALSE otherwise.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Header ntddk.h (include Ntddk.h)