SnmpUtilOidNCmp

The SnmpUtilOidNCmp function compares two object identifiers. The function compares the subidentifiers in the variables until it reaches the number of subidentifiers specified by the nSubIds parameter.

VOID SnmpUtilOidFree(
AsnObjectIdentifier *pOid1, 
AsnObjectIdentifier *pOid2, 
UINT nSubIds );

Parameters

  • pOid1
    [in] Pointer to an AsnObjectIdentifier structure to compare.
  • pOid2
    [in] Pointer to a second AsnObjectIdentifier structure to compare.
  • nSubIds
    [in] Specifies the number of subidentifiers 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.

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

SnmpUtilOidCmp

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.