NWSMGenericStr

Concatenates the specified number of strings together.

Syntax

  #include <smsutapi.h> 
   
  void* NWSMGenericStr ( 
     UINT32   nameSpaceType, 
     UINT8    n, 
     void    *dest, 
     void    *src1, 
     void    *src2, ...);
  
      
  

Parameters

nameSpaceType

(IN) Specifies the name space type of the source and destination strings (see nameSpaceType Values).

n

(IN) Specifies the number of source strings to concatenate.

dest

(OUT) Points to the concatenated strings (cannot be a NULL pointer).

src1

(IN) Points to the first string to concatenate.

src2

(IN) Points to the second string to concatenate.

...

(IN) Points to other strings to concatenate.

Return Values

The following table lists the return values associated with the function.

NULL

Failure

Nonzero

The pointer points to dest.

Remarks

NWSMGenericStr supports strings in UTF-8 format.

dest must be large enough to hold all the strings.

See Also

NWSMCatStrings, NWSMFreeString