SnmpUtilMemAlloc (Compact 2013)

3/26/2014

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 SnmpUtilMemAlloc function zeroes the memory that it allocates.

Use the SnmpUtilMemFree function to release memory that the SnmpUtilMemAlloc function allocates.

Requirements

Header

Snmpapi.h

Library

snmp.lib

See Also

Reference

SNMP Functions
SnmpUtilMemFree