Compartilhar via


SnmpUtilOidCmp (Compact 2013)

3/26/2014

This function compares two object identifiers.

Syntax

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

Parameters

  • pOid2
    Pointer to a second AsnObjectIdentifier structure to compare.

Return Value

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

Remarks

The SnmpUtilOidCmp function calls the SnmpUtilOidNCmp function.

Requirements

Header

snmp.h

Library

snmpapi.lib

See Also

Reference

SNMP Functions
SnmpUtilOidNCmp