DeallocateDynArrayEntry

Frees the dynamic array entry at the specified index

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
Service:Advanced

Syntax

  #include <nwdynarr.h>  
   
  int DeallocateDynArrayEntry  (  
     T_DYNARRAY_BLOCK    *dabP,   
     int                  ndx); 
  

Parameters

dabP

(IN) Points to a Dynamic Array Block (DAB), as described for the function AllocateDynArrayEntry.

ndx

(IN) Specifies the desired 0-based element index into the dynamic array.

Return Values

This function returns a value of 0 if successful. Otherwise, it returns:

Value

Name

Description

-1

EFAILURE

Index exceeds limit or element is already deallocated.

Remarks

The specified element’s space is not freed; it is just marked as available.

See Also

AllocateDynArrayEntry, AllocateGivenDynArrayEntry