Platform SDK: Network Management

SnmpUtilPrintOid

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.

VOID SnmpUtilPrintOid(
  AsnObjectIdentifier *Oid  // object identifier to print
);

Parameters

Oid
[in] Pointer to an AsnObjectIdentifier structure to print.

Return Values

None.

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

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Snmp.h.
  Library: Use Snmpapi.lib.

See Also

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