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 LONG_PTR from another.
Syntax
HRESULT LongPtrSub(
[in] LONG_PTR lMinuend,
[in] LONG_PTR lSubtrahend,
[out] LONG_PTR *plResult
);
Parameters
[in] lMinuend
The first value.
[in] lSubtrahend
The value to subtract.
[out] plResult
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 |