RtlZeroMemory - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// minitape.h

VOID RtlZeroMemory(
  _Out_ VOID UNALIGNED *Destination,
  _In_  SIZE_T         Length
);

View the official Windows Driver Kit DDI reference
// ntddstor.h

void RtlZeroMemory(
  Destination,
  Length
);

View the official Windows Driver Kit DDI reference
// scsi.h

VOID RtlZeroMemory(
  _Out_ VOID UNALIGNED *Destination,
  _In_  SIZE_T         Length
);

View the official Windows Driver Kit DDI reference
// smclib.h

VOID RtlZeroMemory(
  _Out_ VOID UNALIGNED *Destination,
  _In_  SIZE_T         Length
);

View the official Windows Driver Kit DDI reference
// storport.h

VOID RtlZeroMemory(
  _Out_ VOID UNALIGNED *Destination,
  _In_  SIZE_T         Length
);

View the official Windows Driver Kit DDI reference
// wdm.h

void RtlZeroMemory(
   void*  Destination,
   size_t Length
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-minitape-rtlzeromemory)

RtlZeroMemory macro (minitape.h)

Description

The RtlZeroMemory routine fills a block of memory with zeros, given a pointer to the block and the length, in bytes, to be filled.

Parameters

Destination [out]

A pointer to the memory block to be filled with zeros.

Length [in]

The number of bytes to fill with zeros.

Syntax

VOID RtlZeroMemory(
  _Out_ VOID UNALIGNED *Destination,
  _In_  SIZE_T         Length
);

Remarks

To zero out a memory buffer to erase security-sensitive data, use RtlSecureZeroMemory instead.

Callers of RtlZeroMemory can be running at any IRQL if the destination memory block is in nonpaged system memory. Otherwise, the caller must be running at IRQL <= APC_LEVEL.

See also

RtlFillMemory

RtlSecureZeroMemory


Windows Driver Kit DDI reference (nf-ntddstor-rtlzeromemory)

RtlZeroMemory macro (ntddstor.h)

Description

The RtlZeroMemory routine fills a block of memory with zeros, given a pointer to the block and the length, in bytes, to be filled.

Parameters

Destination

Datatype: void*. A pointer to the memory block to be filled with zeros.

Length

Datatype: size_t. The number of bytes to fill with zeros.

Remarks

To zero out a memory buffer to erase security-sensitive data, use RtlSecureZeroMemory instead.

Callers of RtlZeroMemory can be running at any IRQL if the destination memory block is in nonpaged system memory. Otherwise, the caller must be running at IRQL <= APC_LEVEL.

See also

RtlFillMemory

RtlSecureZeroMemoryTo zero out a memory buffer to erase security-sensitive data, use RtlSecureZeroMemory instead.


Windows Driver Kit DDI reference (nf-scsi-rtlzeromemory)

RtlZeroMemory macro (scsi.h)

Description

The RtlZeroMemory routine fills a block of memory with zeros, given a pointer to the block and the length, in bytes, to be filled.

Parameters

Destination [out]

A pointer to the memory block to be filled with zeros.

Length [in]

The number of bytes to fill with zeros.

Syntax

VOID RtlZeroMemory(
  _Out_ VOID UNALIGNED *Destination,
  _In_  SIZE_T         Length
);

Remarks

To zero out a memory buffer to erase security-sensitive data, use RtlSecureZeroMemory instead.

Callers of RtlZeroMemory can be running at any IRQL if the destination memory block is in nonpaged system memory. Otherwise, the caller must be running at IRQL <= APC_LEVEL.

See also

RtlFillMemory

RtlSecureZeroMemory


Windows Driver Kit DDI reference (nf-smclib-rtlzeromemory)

RtlZeroMemory macro (smclib.h)

Description

The RtlZeroMemory routine fills a block of memory with zeros, given a pointer to the block and the length, in bytes, to be filled.

Parameters

d

A pointer to the memory block to be filled with zeros.

c

The number of bytes to fill with zeros.

Syntax

VOID RtlZeroMemory(
  _Out_ VOID UNALIGNED *Destination,
  _In_  SIZE_T         Length
);

Remarks

To zero out a memory buffer to erase security-sensitive data, use RtlSecureZeroMemory instead.

Callers of RtlZeroMemory can be running at any IRQL if the destination memory block is in nonpaged system memory. Otherwise, the caller must be running at IRQL <= APC_LEVEL.

See also

RtlFillMemory

RtlSecureZeroMemory


Windows Driver Kit DDI reference (nf-storport-rtlzeromemory)

RtlZeroMemory macro (storport.h)

Description

The RtlZeroMemory routine fills a block of memory with zeros, given a pointer to the block and the length, in bytes, to be filled.

Parameters

Destination [out]

A pointer to the memory block to be filled with zeros.

Length [in]

The number of bytes to fill with zeros.

Syntax

VOID RtlZeroMemory(
  _Out_ VOID UNALIGNED *Destination,
  _In_  SIZE_T         Length
);

Remarks

To zero out a memory buffer to erase security-sensitive data, use RtlSecureZeroMemory instead.

Callers of RtlZeroMemory can be running at any IRQL if the destination memory block is in nonpaged system memory. Otherwise, the caller must be running at IRQL <= APC_LEVEL.

See also

RtlFillMemory

RtlSecureZeroMemory


Windows Driver Kit DDI reference (nf-wdm-rtlzeromemory)

Description

The RtlZeroMemory routine fills a block of memory with zeros, given a pointer to the block and the length, in bytes, to be filled.

Parameters

Destination [out]

A pointer to the memory block to be filled with zeros.

Length [in]

The number of bytes to fill with zeros.

Syntax

void RtlZeroMemory(
   void*  Destination,
   size_t Length
);

Remarks

To zero out a memory buffer to erase security-sensitive data, use RtlSecureZeroMemory instead.

Callers of RtlZeroMemory can be running at any IRQL if the destination memory block is in nonpaged system memory. Otherwise, the caller must be running at IRQL <= APC_LEVEL.

See also

RtlFillMemory

RtlSecureZeroMemory