Skip to content

Latest commit

 

History

History
89 lines (67 loc) · 2.68 KB

nf-snmp-snmputiloidncmp.md

File metadata and controls

89 lines (67 loc) · 2.68 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:snmp.SnmpUtilOidNCmp
SnmpUtilOidNCmp function (snmp.h)
The SnmpUtilOidNCmp function compares two object identifiers.
SnmpUtilOidNCmp
SnmpUtilOidNCmp function [SNMP]
_snmp_snmputiloidncmp
snmp.snmputiloidncmp
snmp/SnmpUtilOidNCmp
snmp\snmputiloidncmp.htm
SNMP
a23df516-9559-4209-bf2d-8268737d1dfb
12/05/2018
SnmpUtilOidNCmp, SnmpUtilOidNCmp function [SNMP], _snmp_snmputiloidncmp, snmp.snmputiloidncmp, snmp/SnmpUtilOidNCmp
snmp.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Snmpapi.lib
Snmpapi.dll
Windows
19H1
SnmpUtilOidNCmp
snmp/SnmpUtilOidNCmp
c++
APIRef
kbSyntax
DllExport
Snmpapi.dll
SnmpUtilOidNCmp

SnmpUtilOidNCmp function

-description

[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 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. SnmpUtilOidNCmp is an element of the SNMP Utility API.

-parameters

-param pOid1 [in]

Pointer to an AsnObjectIdentifier structure to compare.

-param pOid2 [in]

Pointer to a second AsnObjectIdentifier structure to compare.

-param nSubIds [in]

Specifies the number of subidentifiers to compare.

-returns

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.

-see-also

SNMP Functions

Simple Network Management Protocol (SNMP) Overview

SnmpUtilOidCmp