SnmpMgrOidToStr

The SnmpMgrOidToStr function converts an internal object identifier structure to its string representation. This function is an element of the SNMP Management API.

BOOL SnmpMgrOidToStr(
  AsnObjectIdentifier *oid,
                  // object identifier to convert
  LPSTR *string   // string object identifier representation
);
 

Parameters

oid
[in] Pointer to an object identifier variable to convert.
string
[out] Pointer to a null-terminated string to receive the converted value.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. This function may return Windows Sockets error codes.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in mgmtapi.h.
  Import Library: Use mgmtapi.lib.

See Also

Simple Network Management Protocol (SNMP) Overview, SNMP Functions, SnmpMgrStrToOid