UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:intsafe.UIntSub |
UIntSub function (intsafe.h) |
Subtracts one value of type UINT from another. |
|
shell\UIntSub.htm |
shell |
be257075-84c9-40e2-af3f-75dccd97bab1 |
12/05/2018 |
UIntSub, UIntSub function [Windows Shell], _shell_UIntSub, intsafe/UIntSub, shell.UIntSub |
intsafe.h |
Windows |
Windows |
19H1 |
|
|
|
|
|
|
Subtracts one value of type UINT from another.
Type: UINT
The value from which uSubtrahend is subtracted.
Type: UINT
The value to subtract from uMinuend.
Type: UINT*
A pointer to the result. If the operation results in a value that overflows or underflows the capacity of the type, the function returns INTSAFE_E_ARITHMETIC_OVERFLOW and this parameter is not valid.
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
This is one of a set of inline functions designed to provide arithmetic operations and perform validity checks with minimal impact on performance.