|
virtual P6R::P6ERR P6R::p6ISafeString::compareMem |
( |
const P6R::P6VOID * |
pMem1, |
|
|
const P6R::P6VOID * |
pMem2, |
|
|
P6R::P6SIZE |
nBytes, |
|
|
P6R::P6INT32 * |
pResult | |
|
) |
| | [pure virtual] |
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 |
|