Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Other versions of this page are also available for the following:
Windows Mobile Not Supported Windows Embedded CE Supported
8/28/2008

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 AsnObjectIdentifierstructure 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 Oidparameter.

Remarks

The SnmpUtilOidToWfunction can assist with the debugging of SNMP applications.

For more information, see the SnmpUtilIdsToWfunction. SnmpUtilOidToWcalls SnmpUtilIdsToWinternally to format the string.

Requirements

Header snmp.h
Library snmpapi.lib
Windows Embedded CE Windows CE 3.0 and later

See Also