Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Other versions of this page are also available for the
following:
8/28/2008
This function compares two object identifiers.
Syntax
SNMPAPI SnmpUtilOidCmp( AsnObjectIdentifier* pOid1 , AsnObjectIdentifier* pOid2 ); |
Parameters
- pOid1
-
Pointer to an AsnObjectIdentifierstructure to compare.
- pOid2
-
Pointer to a second AsnObjectIdentifierstructure 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 pOid1is less than pOid2.
Remarks
The SnmpUtilOidCmpfunction calls the SnmpUtilOidNCmpfunction.
Requirements
Header | snmp.h |
Library | snmpapi.lib |
Windows Embedded CE | Windows CE 3.0 and later |