FUNCTION MemCmp : BOOL
MemCmp compares two memory buffers.
This function compares the data at “pbyMem1” of “dwSize” bytes with the data at “pbyMem2”.
If the data is fully equal, the function returns TRUE. Otherwise the function returns FALSE.
If dwSize is 0, the function returns TRUE, as zero compared bytes are always equal.
Note, that this function (similar to memcmp in C) makes no additional checks of input parameters. The caller has to take care about the validity of pointers and sizes, passed to this function.
As the function implements no error handling, the exact count of “dwSize” bytes is compared.
InOut: |
|