次の方法で共有


SnmpUtilPrintToStrAsnAny (Windows Embedded CE 6.0)

1/6/2010

This function outputs the value of the Any parameter to a string.

Syntax

VOID SnmpUtilPrintToStrAsnAny(
    OUT TCHAR *szOut,
  AsnAny *pAny 
);

Parameters

  • szOut
    [in] Pointer to the output buffer where the function writes the formatted string.
  • pAny
    [in] Pointer to an AsnAny structure for the output value.

Return Value

This function has no return values.

Remarks

The SnmpUtilPrintToStrAsnAny is specific to Windows Embedded CE. It corresponds to the SnmpUtilPrintToAsnAny function that is supported in Windows NT and Windows 95/98. Unlike SnmpUtilPrintAsnAny, SnmpUtilPrintToStrAsnAny does not automatically print the value of the Any parameter to a standard output. SnmpUtilPrintToStrAsnAny instead prints the value to a string. Developers can choose which output the string should be printed to depending on whether the function is used for debugging or any other purposes.

Requirements

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

See Also

Reference

SNMP Functions
AsnAny