Share via


SnmpUtilOidToW (Windows Embedded CE 6.0)

1/6/2010

This function converts an object identifier (OID) to a Unicode string. This function is an element of the SNMP Utility API. This function is unique to Windows Embedded CE, because Windows Embedded CE is Unicode-based.

Syntax

LPTSTR SnmpUtilOidToW(
  AsnObjectIdentifier Oid 
);

Parameters

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

Return Value

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

Remarks

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

For more information, see the SnmpUtilIdsToW function. SnmpUtilOidToW calls SnmpUtilIdsToW 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
SnmpUtilIdsToW
AsnObjectIdentifier