SnmpUtilOidCmp  4DI6_8K 

The SnmpUtilOidCmp function compares two object identifiers.

SNMPAPI SnmpUtilOidCmp(

    AsnObjectIdentifier *ObjIdA,

// first object identifier

    AsnObjectIdentifier *ObjIdB

// second object identifier

   );

 

 

Parameters

ObjIdA

[in] Points to an AsnObjectIdentifierVSXCUF structure to compare.

ObjIdB

[in] Points to an AsnObjectIdentifier structure to compare.

 

Return Values

The function returns a value greater than zero if ObjIdA is greater than ObjIdB, zero if ObjIdA equals ObjIdB, and less than zero if ObjIdA is less than ObjIdB.

Remarks

The SnmpUtilOidCmp function calls the SnmpUtilOidNCmp function.

See Also

SnmpUtilOidNCmp7ZF0Z2