SNMP--Windows API--SnmpUtilOidNCmp

150 篇文章 0 订阅
11 篇文章 0 订阅

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件643166601@qq.com

 

SnmpUtilOidNCmp Function

The SnmpUtilOidNCmp function compares two object identifiers.
这个 SnmpUtilOidNCmp 函数比较两个对象标识符。
The function compares the subidentifiers in the variables until it reaches the number of subidentifiers specified by the nSubIds parameter.
这个函数在变量中比较子标识符直到到达由nSubIds参数指定的子标识符的数量。
SnmpUtilOidNCmp is an element of the SNMP Utility API.
SnmpUtilOidNCmp 是SNMP实用程序API中的一个元素。

Syntax
SNMPAPI SnmpUtilOidNCmp(
__in  AsnObjectIdentifier* pOid1,
__in  AsnObjectIdentifier* pOid2,
__in  UINT nSubIds
);

Parameters
pOid1
Pointer to an AsnObjectIdentifier structure to compare.
指针指向一个 AsnObjectIdentifier 结构体去比较。
pOid2
Pointer to a second AsnObjectIdentifier structure to compare.
指针指向第二个 AsnObjectIdentifier 结构体去比较。
nSubIds
Specifies the number of subidentifiers 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.
这个函数如果pOid1大于pOid2返回值大于0,如果pOid1等于pOid2值是0,如果pOid1小于pOid2值小于0。
Requirements
Client Requires Windows Vista, Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95.
Server Requires Windows Server 2008, Windows Server 2003, Windows 2000 Server, or Windows NT Server.
Header Declared in Snmp.h.
 
Library Use Snmpapi.lib.
 
DLL Requires Snmpapi.dll.
 

See Also
Simple Network Management Protocol (SNMP) Overview
SNMP Functions
SnmpUtilOidCmp

 

Send comments about this topic to Microsoft

Build date: 3/8/2008

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值