SMDFAddUINT64

Adds two UINT64 values together.

Syntax

  #include <smsutapi.h> 
   
  CCODE SMDFAddUINT64 ( 
     UINT64  *term1, 
     UINT64  *term2, 
     UINT64  *sum);
  

Parameters

term1

(IN) Points to the first term to be added.

term2

(IN) Points to the second term to be added.

sum

(OUT) Points to the sum of term1 and term2.

Return Values

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

0x00000000

Successful

0xFFFBFFFA

NWSMUT_BUFFER_OVERFLOW: The sum of term1 and term2 produces a number to large to be contained in term1