Platform SDK: Network Management

SnmpUtilOctetsFree

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

VOID SnmpUtilOctetsFree(
  AsnOctetString *pOctets  // octet string to free
);

Parameters

pOctets
Pointer to an AsnOctetString structure whose memory should be freed.

Return Values

None.

Remarks

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

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Snmp.h.
  Library: Use Snmpapi.lib.

See Also

Simple Network Management Protocol (SNMP) Overview, SNMP Functions, AsnOctetString, SnmpUtilOctetsCpy