SnmpUtilOctetsFree function (snmp.h)

[SNMP is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use Windows Remote Management, which is the Microsoft implementation of WS-Man.]

The SnmpUtilOctetsFree function frees the memory allocated for the specified octet string. This function is an element of the SNMP Utility API.

Syntax

VOID SNMP_FUNC_TYPE SnmpUtilOctetsFree(
  [in] AsnOctetString *pOctets
);

Parameters

[in] pOctets

Pointer to an AsnOctetString structure whose memory should be freed.

Return value

This function does not return a value.

Remarks

Call the SnmpUtilOctetsFree function to free the memory that the SnmpUtilOctetsCpy function allocates.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header snmp.h
Library Snmpapi.lib
DLL Snmpapi.dll

See also

AsnOctetString

SNMP Functions

Simple Network Management Protocol (SNMP) Overview

SnmpUtilOctetsCpy