SnmpUtilOidNCmp  GH3CL2 

The SnmpUtilOidNCmp function compares two object identifier variables up to the length specified by the Len parameter.

SNMPAPI SnmpUtilOidNCmp(

    AsnObjectIdentifier *ObjIdA,

// first object identifier

    AsnObjectIdentifier *ObjIdB,

// second object identifier

    UINT Len

// maximum length to compare

   );

 

 

Parameters

ObjIdA

[in] Points to an AsnObjectIdentifierVSXCUF structure to compare.

ObjIdB

[in] Points to an AsnObjectIdentifier structure to compare.

Len

[in] Indicates the number of subidentifiers to compare.

 

Return Values

The function returns a value greater than zero if ObjIdA is greater than ObjIdB, zero if ObjIdA equals ObjIdB, and less than zero if ObjIdA is less than ObjIdB.

See Also

SnmpUtilOidCmp.AU..S