Returns non-zero if the two object identifiers are equal.
This routine requires the size of one of the IDs to be passed as the third parameter. Note that using memcmp in this case is valid, because the lengths of the two object identifiers are coded in the first bytes. This prevents buffer overflow no matter if the length passed in the third parameter is longer than either (but not both) of the input object identifiers.
- Parameters
-
objectID1 | The first DOSObjectID to compare. This must not be NULL. |
objectID2 | The second DOSObjectID to compare. This must not be NULL. |
size | The size of one of the Object Ids. |