Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/26/2014
This function compares two object identifiers.
Syntax
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 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 |