SSIZETSub function (intsafe.h)

Subtracts one SSIZE_T value from another.

Syntax

HRESULT SSIZETSub(
  [in]  SSIZE_T Minuend,
  [in]  SSIZE_T Subtrahend,
  [out] SSIZE_T *pResult
);

Parameters

[in] Minuend

The value from which Subtrahend will be subtracted.

[in] Subtrahend

The value to subtract from Minuend.

[out] pResult

When this function returns successfully, points to the difference between Minuend and Subtrahend.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header intsafe.h