SMDFSubUINT64

Subtracts two UINT64 values.

Syntax

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

Parameters

term1

(IN) Points to the left-hand operand.

term2

(IN) Points to the right-hand operand.

diff

(OUT) Points to the result of term1 - term2.

Return Values

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

0x00000000

Successful

0xFFFBFFF0

NWSMUT_BUFFER_UNDERFLOW: term2 is larger than term1.

See Also

SMDFDecrementUINT64