Compartilhar via


AsnOctetString (Windows CE 5.0)

Send Feedback

This contains octet quantities, usually bytes. This structure is used by multiple SNMP function. This structure is not used by the WinSNMP API functions.

typedef struct {BYTE* stream;UINT length;BOOLdynamic;} AsnOctetString;

Members

  • stream
    Pointer to the octet stream.
  • length
    The number of octets in the data stream.
  • dynamic
    Flag that specifies whether the data has been dynamically allocated with SnmpUtilMemAlloc function.

Remarks

Use the AsnOctetString structure to transfer string values. For example, use it to transfer the string that represents a computer name as a MIB object value.

You must check the flag specified in the dynamic member before you release the data stream of an octet string. Call the SnmpUtilMemFree function only if the dynamic member is set to TRUE.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Snmp.h.

See Also

SnmpUtilMemAlloc | SnmpUtilMemFree

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.