Share via


SnmpUtilOidCmp

This function compares two object identifiers.

SNMPAPI SnmpUtilOidCmp(
  AsnObjectIdentifier* pOid1, 
  AsnObjectIdentifier* pOid2 
);

Parameters

  • pOid1
    Pointer to an AsnObjectIdentifier structure to compare.
  • pOid2
    Pointer to a second AsnObjectIdentifier structure to compare.

Return Values

The function returns a value greater than zero if pOid1 is greater than pOid2, zero if pOid1 equals pOid2, and less than zero if pOid1 is less than pOid2.

Remarks

The SnmpUtilOidCmp function calls the SnmpUtilOidNCmp function.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Snmp.h.
Link Library: Snmpapi.lib.

See Also

SnmpUtilOidNCmp

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.