SnmpSvcSetLogType
This function adjusts the destination for the debug output from the SNMP service and from SNMP extension agents using the SnmpUtilDbgPrint function.
DWORD SnmpSvcSetLogType(
INT nLogType
);
Parameters
- nLogType
Specifies a signed integer variable that represents the destination for the debug output from the SnmpUtilDbgPrint function. This parameter can be one of the following values.Value Description SNMP_OUTPUT_TO_CONSOLE The destination for the debug output is a console window. SNMP_OUTPUT_TO_DEBUGGER The destination for the debug output is a debugger utility.
Return Values
This function has no return values.
Remarks
Extension agents are encouraged to use the SnmpSvcSetLogType and SnmpSvcSetLogLevel functions during development to adjust the output of debugging information. Extension agents can integrate the information with the debug output from the SNMP service.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Snmp.h.
Link Library: Snmpapi.lib.
See Also
SnmpUtilDbgPrint | SnmpSvcSetLogLevel
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.