Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Subtracts one value of type ptrdiff_t from another.
Syntax
HRESULT PtrdiffTSub(
[in] ptrdiff_t Minuend,
[in] ptrdiff_t Subtrahend,
[out] ptrdiff_t *pResult
);
Parameters
[in] Minuend
The first value.
[in] Subtrahend
The value to subtract.
[out] pResult
The result.
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 |