Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Other versions of this page are also available for the following:
Windows Mobile Not Supported Windows Embedded CE Supported
8/28/2008

This function adjusts the destination for the debug output from the SNMP service and from SNMP extension agents using the SnmpUtilDbgPrintfunction.

Syntax


DWORD SnmpSvcSetLogType(
  INT 
nLogType
 
);

Parameters

nLogType

Specifies a signed integer variable that represents the destination for the debug output from the SnmpUtilDbgPrintfunction. 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 Value

This function has no return values.

Remarks

Extension agents are encouraged to use the SnmpSvcSetLogTypeand SnmpSvcSetLogLevelfunctions during development to adjust the output of debugging information. Extension agents can integrate the information with the debug output from the SNMP service.

Requirements

Header snmp.h
Library snmpapi.lib
Windows Embedded CE Windows CE 3.0 and later

See Also