Platform SDK: Network Management

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.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Unsupported.
  Header: Declared in Mgmtapi.h.
  Library: Use Mgmtapi.lib.

See Also

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