Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SnmpUtilMemReAlloc function

[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 SnmpUtilMemReAlloc function changes the size of the specified memory object. This function is an element of the SNMP Utility API.

Syntax


LPVOID SnmpUtilMemReAlloc(
  _In_ LPVOID pMem,
  _In_ UINT   nBytes
);

Parameters

pMem [in]

Pointer to the memory object to resize.

nBytes [in]

Specifies the number of bytes to allocate for the new memory object.

Return value

If the function succeeds, the return value is a pointer to the newly allocated memory object.

If the function fails, the return value is NULL.

Remarks

Call the SnmpUtilMemFree function to release memory that the SnmpUtilMemReAlloc function allocates.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Snmp.h

Library

Snmpapi.lib

DLL

Snmpapi.dll

See also

Simple Network Management Protocol (SNMP) Overview
SNMP Functions
SnmpUtilMemAlloc
SnmpUtilMemFree

 

 

Community Additions

ADD
Show:
© 2015 Microsoft