Function Name: Compare Object IDs

Definition

Compares 2 SE_OBJECT_IDs; the function's signature is compatible with qsort.

Returns

-1 if *id1_ptr < *id2_ptr, or if id1_ptr is NULL and id2_ptr is non-NULL

0 if *id1_ptr == *id2_ptr, or if both arguments are NULL

1 if *id1_ptr > *id2_ptr, or if id1_ptr is non-NULL and id2_ptr is NULL

Prototype


extern int
SE_CompareObjectIDs
(
constSE_OBJECT_ID *id1_ptr, (notes)
constSE_OBJECT_ID *id2_ptr (notes)
);

Parameters Notes

id1_ptr

 pointer to 1st SE_OBJECT_ID to be compared.

id2_ptr

 pointer to 2nd SE_OBJECT_ID to be compared.

Prev: Close Transmittal. Next: Create Object. Up:Index.