RtlLongPtrAdd function

Adds two values of type LONG_PTR.

Syntax


NTSTATUS RtlLongPtrAdd(
  _In_  UINT8 u8Augend,
  _In_  UINT8 u8Addend,
  _Out_ UINT8 *pu8Result
);

Parameters

u8Augend [in]

The first value in the equation.

u8Addend [in]

The value to add to u8Augend.

pu8Result [out]

A pointer to the sum. 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

Target platform

Desktop

Header

Ntintsafe.h

 

 

Send comments about this topic to Microsoft

Show: