SNMP--Windows API--SnmpUtilOidCpy
来源:互联网 发布:php面向对象编程 编辑:程序博客网 时间:2024/04/23 15:10
原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件643166601@qq.com
SnmpUtilOidCpy Function
The SnmpUtilOidCpy function copies the variable pointed to by the pOidSrc parameter to the pOidDst parameter, allocating any necessary memory for the destination's copy.
这个SnmpUtilOidCpy函数拷贝由pOidSrc参数指定的变量到pOidDst参数,申请任何必要的内存为了不表的拷贝。
This function is an element of the SNMP Utility API.
这个函数是SNMP实用程序API中的一个元素。
Syntax
SNMPAPI SnmpUtilOidCpy(
__out AsnObjectIdentifier* pOidDst,
__in AsnObjectIdentifier* pOidSrc
);
Parameters
pOidDst
Pointer to an AsnObjectIdentifier structure to receive the copy.
指针指向AsnObjectIdentifier结构体去接收拷贝。
pOidSrc
Pointer to an AsnObjectIdentifier structure to copy.
指针指向AsnObjectIdentifier结构体去拷贝。
Return Value
If the function succeeds, the return value is nonzero.
如果函数成功,返回值是非零。
If the function fails, the return value is zero.
如果函数失败,返回值是零。
Remarks
Call the SnmpUtilOidFree function to free memory that the SnmpUtilOidCpy function allocates for the destination structure.
调用SnmpUtilOidFree函数去释放SnmpUtilOidCpy函数为目标结构体申请的内存。
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
SnmpUtilOidFree
Send comments about this topic to Microsoft
Build date: 3/8/2008
- SNMP--Windows API--SnmpUtilOidCpy
- SNMP--Windows API--SnmpExtensionInit
- SNMP--Windows API--SnmpExtensionQuery
- SNMP--Windows API--SnmpExtensionTrap
- SNMP--Windows API--SnmpUtilOidAppend
- SNMP--Windows API--SnmpUtilOidCmp
- SNMP--Windows API--SnmpUtilOidFree
- SNMP--Windows API--SnmpUtilOidNCmp
- SNMP--Windows API--AsnObjectIdentifier
- net-snmp API
- net-snmp API
- net-snmp库snmp API解读分析
- windows 开启snmp服务
- windows安装SNMP
- opennms监听windows SNMP
- windows使用net-snmp
- Windows平台snmp开启
- linux net-snmp agent manager windows snmp
- 本人编程常见错误
- SPARQL和大数据(以及NoSQL)
- 转自知乎--为什么 Linux 在桌面会失败?
- hive学习笔记之JOIN
- 第17周项目25-谁是小偷?
- SNMP--Windows API--SnmpUtilOidCpy
- linux c
- 《积木小屋》影评
- 【初学者常见问题】浅谈final,finally,finalize()
- Android 根据资源压缩Bitmap
- activiti5之rest起点
- 《美丽人生》影评
- 委派任务去不去问题
- 国外开源项目网址