NWSMFreeString

Releases the memory held by a STRING_BUFFER structure.

Syntax

  #include <smsutapi.h> 
   
  void NWSMFreeString ( 
     STRING_BUFFER **string);
  

Parameters

string

(IN) Points to the STRING_BUFFER structure to free.

Remarks

NOTE:This function is supported only for backward compatibility, the NWSMFreeGenericString function can be used instead of this, as it provides the same functionality.

NWSMFreeString frees the memory allocated to string and sets it to NULL.

If string is NULL, NWSMFreeString does nothing.