SnmpUtilOidToA

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

LPSTR SnmpUtilOidToA(
  AsnObjectIdentifier Oid 
);

Parameters

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

Return Values

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

OS Versions: Windows CE 3.0 and later.
Header: Snmp.h.
Link Library: Snmpapi.lib.

See Also

SnmpUtilIdsToA | AsnObjectIdentifier

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.