ESMFreeWindow

Frees a previously allocated logical region of memory.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <esm.h> 
   
  int ESMFreeWindow (
     void   *logicalAddress,
     void   *callerID);
  

Parameters

logicalAddress

(IN) Points to the address of the window to free.

callerID

(IN) Not currently used. Pass 0.

Return Values

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.

Remarks

All memory allocated with ESM functions must be returned to the system when your NLM exits or the resources are lost.

See Also