Export (0) Print
Expand All

SnmpUtilPrintOid function

[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 SnmpUtilPrintOid function formats the specified object identifier (OID) and prints the result to the standard output device. This function is an element of the SNMP Utility API.

Syntax


void SnmpUtilPrintOid(
  _In_  AsnObjectIdentifier *Oid
);

Parameters

Oid [in]

Pointer to an AsnObjectIdentifier structure to print.

Return value

This function does not return a value.

Remarks

The SnmpUtilPrintOid function can assist with the debugging of command-line SNMP applications. The function prints the object identifier as a sequence of numbers separated by periods ('.'); for example, 1.3.6.1.4.1.311.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Snmp.h

Library

Snmpapi.lib

DLL

Snmpapi.dll

See also

Simple Network Management Protocol (SNMP) Overview
SNMP Functions
SnmpUtilDbgPrint
AsnObjectIdentifier

 

 

Community Additions

ADD
Show:
© 2014 Microsoft