Share via


SnmpUtilOidToA (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

SNMP Functions
SnmpUtilIdsToA
AsnObjectIdentifier