SMDFIncrementUINT64

Adds a UINT32 value to a UINT64 value.

Syntax

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

Parameters

term1

(IN/OUT) Points to the value of the first term on input. Points to the sum of term1 and term2 on ouptut.

term2

(IN) Specifies the second term.

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.