Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Other versions of this page are also available for the following:
Windows Mobile Not Supported Windows Embedded CE Supported
8/28/2008

This function allocates dynamic memory from the process heap.

Syntax


LPVOID SnmpUtilMemAlloc(
  UINT 
nBytes
 
);

Parameters

nBytes

[in] Specifies the number of bytes to allocate for the memory object.

Return Value

This function has no return values.

Remarks

The SnmpUtilMemAllocfunction zeroes the memory that it allocates.

Use the SnmpUtilMemFreefunction to release memory that the SnmpUtilMemAllocfunction allocates.

Requirements

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

See Also

Reference

SnmpUtilMemFree