SnmpUtilOidCmp

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

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 and later Snmp.h   Snmpapi.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

SnmpUtilOidNCmp

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.