Share via


NdisFillMemory (NDIS 5.1) function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

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

Syntax

VOID NdisFillMemory(
  _In_ PVOID Destination,
  _In_ ULONG Length,
  _In_ UCHAR Fill
);

Parameters

  • Destination [in]
    Pointer to the buffer to be filled.

  • Length [in]
    Specifies the number of bytes to be filled.

  • Fill [in]
    Specifies 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

Target platform

Desktop

Version

See NdisFillMemory.

Header

Ndis.h (include Ndis.h)

IRQL

See Remarks section.

See also

NdisZeroMemory

 

 

Send comments about this topic to Microsoft