Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SnmpUtilOidCmp function

[SNMP is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use Windows Remote Management, which is the Microsoft implementation of WS-Man.]

The SnmpUtilOidCmp function compares two object identifiers. This function is an element of the SNMP Utility API.

Syntax


SNMPAPI SnmpUtilOidCmp(
  _In_ AsnObjectIdentifier *pOid1,
  _In_ AsnObjectIdentifier *pOid2
);

Parameters

pOid1 [in]

Pointer to an AsnObjectIdentifier structure to compare.

pOid2 [in]

Pointer to a second AsnObjectIdentifier structure to compare.

Return value

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Snmp.h

Library

Snmpapi.lib

DLL

Snmpapi.dll

See also

Simple Network Management Protocol (SNMP) Overview
SNMP Functions
SnmpUtilOidNCmp

 

 

Community Additions

ADD
Show:
© 2015 Microsoft