Bewerken

Delen via


NdisFillMemory macro (ndis.h)

The NdisFillMemory function fills a caller-supplied buffer with the given character.

Syntax

void NdisFillMemory(
  [in]  Destination,
  [in]  Length,
  [in]  Fill
);

Parameters

[in] Destination

A pointer to the buffer to be filled.

[in] Length

The number of bytes to be filled.

[in] Fill

The value to fill the buffer.

Return value

None

Remarks

Callers of NdisFillMemory can be running at any IRQL, provided that the Destination buffer is resident. If the buffer is pageable, a caller must be running at IRQL < DISPATCH_LEVEL.

Requirements

Requirement Value
Minimum supported client Supported for existing drivers in NDIS 6.0 and later, but new drivers should use RtlFillMemory instead.
Target Platform Desktop
Header ndis.h (include Ndis.h)
IRQL See Remarks section

See also

RtlEqualMemory

RtlZeroMemory