SnmpUtilOidToA (Compact 2013)

3/26/2014

This function converts an object identifier (OID) to a null-terminated string. This function is an element of the SNMP Utility API.

Syntax

LPSTR SnmpUtilOidToA(
  AsnObjectIdentifier Oid 
);

Parameters

  • Oid
    [in] Pointer to an AsnObjectIdentifier structure to convert.

Return Value

The function returns a null-terminated string of ANSI characters that contains the string representation of the object identifier pointed to by the Oid parameter.

Remarks

The SnmpUtilOidToA function can assist with the debugging of SNMP applications.

For more information, see the SnmpUtilIdsToA function. SnmpUtilOidToA calls SnmpUtilIdsToA internally to format the string.

Requirements

Header

snmp.h

Library

snmpapi.lib

See Also

Reference

SNMP Functions
SnmpUtilIdsToA
AsnObjectIdentifier