NWSMConvertError

Returns the string that represents the specified completion code.

Syntax

  #include <sms.h> 
   
  CCODE NWSMConvertError ( 
     UINT32   connection, 
     CCODE    error, 
     char    *message);
  

Parameters

connection

(IN) Specifies the TSA or SMS DI connection handle.

error

(IN) Specifies the completion code to translate.

message

(OUT) Points to the string that describes error (initialize to NWSM_MAX_ERROR_STRING_LEN + 1 bytes).

Return Values

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

0x00000000

Successful

0xFFFEFFEF

NWSMDR_INVALID_MESSAGE_NUMBER

Remarks

NWSMConvertError accepts error codes that begin with NWSMTS, NWSMDR, and NWSMUT.