Export (0) Print
Expand All

RtlInt8Sub function

Subtracts one value of type INT8 from another.

Syntax


NTSTATUS RtlInt8Sub(
  _In_   INT8 i8Minuend,
  _In_   INT8 i8Subtrahend,
  _Out_  INT8 *pi8Result
);

Parameters

i8Minuend [in]

The value from which i8Subtrahend is subtracted.

i8Subtrahend [in]

The value to subtract from i8Minuend.

pi8Result [out]

A pointer to the result. If the operation results in a value that overflows or underflows the capacity of the type, the function returns STATUS_INTEGER_OVERFLOW and this parameter is not valid.

Remarks

This is one of a set of inline functions designed to provide arithmetic operations and perform validity checks with minimal impact on performance.

Requirements

Header

Ntintsafe.h

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft