Frees a previously allocated logical region of memory.
#include <esm.h>
int ESMFreeWindow (
void *logicalAddress,
void *callerID);
(IN) Points to the address of the window to free.
(IN) Not currently used. Pass 0.
If successful, returns 0. Otherwise, returns a nonzero error code.
|
Decimal |
Name |
Description |
|---|---|---|
|
5 |
ERR_INVAL_ADDRESS |
The specified address has already been freed or is out of range. |
For other possible values, see Section 30.3, Return Values for ESM Functions.
All memory allocated with ESM functions must be returned to the system when your NLM exits or the resources are lost.