Share via


NdisEqualMemory (Windows CE 5.0)

Send Feedback

This function compares a specified number of characters in one block of memory with the same number of characters in a second block of memory.

ULONG NdisEqualMemory(CONST VOID* Source1,CONST VOID* Source2,ULONG Length);

Parameters

  • Source1
    Points to the first block of memory to be compared.
  • Source2
    Points to the second block of memory to be compared.
  • Length
    Specifies the number of bytes to be compared.

Return Values

The default return value is 0. If the compared blocks are the same, the return value is 1. 0therwise, this function returns a 0.

Remarks

NdisEqualMemory compares the initial Length bytes in the first block of memory to the initial Length bytes in the second block of memory. The data type of anything in the compared memory blocks is irrelevant.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndis.lib

See Also

NdisAllocateMemory | NdisCopyBuffer | NdisFillMemory | NdisFreeMemory | NdisMoveMemory | NdisZeroMemory

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.