Share via


SnmpUtilOidCmp

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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 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

Header snmp.h
Library snmpapi.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

SnmpUtilOidNCmp