SnmpUtilOidToW

The SnmpUtilOidToW 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 CE, because Windows CE is Unicode-based.

LPTSTR SnmpUtilOidToW(
AsnObjectIdentifier Oid );

Parameters

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

Return Values

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

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 and later Snmp.h   Snmpapi.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

SnmpUtilIdsToW, AsnObjectIdentifier

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.