Compares bytes in two buffers.
- Parameters
-
pMem1 | [ in ] A pointer to the first buffer. |
pMem2 | [ in ] A pointer to the second buffer. |
nBytes | [ in ] The number of bytes to compare. |
pResult | [ out ] The address of a P6INT32 in which will be returned a value indicating the relationship of the contents of the buffers. 0 is returned to signify equality, 1 is returned if pMem1 is > pMem2 and -1 is returned if pMem1 < pMem2. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pMem1, pMem2, and/or pResult is NULL. nBytes is zero |