Compartilhar via


SnmpUtilOidToW (Compact 2013)

3/26/2014

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 Compact, because Windows Embedded Compact 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

See Also

Reference

SNMP Functions
SnmpUtilIdsToW
AsnObjectIdentifier