NWSMDestroyList

Releases the memory associated with NWSM_LIST.

Syntax

  #include <smsutapi.h> 
   
  void NWSMDestroyList ( 
     NWSM_LIST_PTR  *list);
  

Parameters

list

(IN) Points to a list initialized by NWSMInitList (cannot be NULL).

Remarks

Everything in the list, except the list head, is freed when NWSMDestroyList is called.

If the engine did not specify a free memory routine by calling NWSMInitList, NWSMDestroyList will free the elements, but not the engine defined structures.