Share via


SnmpUtilPrintToStrAsnAny (Compact 2013)

3/26/2014

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. This buffer must be at least 1024 bytes in size.
  • pAny
    [in] Pointer to an AsnAny structure for the output value.

Return Value

None.

Remarks

The SnmpUtilPrintToStrAsnAny is specific to Windows Embedded Compact. It corresponds to the SnmpUtilPrintToAsnAny function that is supported in Windows NT, Windows 95, and Windows 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

See Also

Reference

SNMP Functions
AsnAny