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.ULongPtrToULong |
ULongPtrToULong function (intsafe.h) |
Converts a value of type ULONG_PTR to a value of type ULONG. |
|
shell\ULongPtrToULong.htm |
shell |
7cae7414-055c-4362-8023-71ff9db20cbb |
12/05/2018 |
DWordPtrToDWord, DWordPtrToULong, SIZETToDWord, SIZETToULong, ULongPtrToDWord, ULongPtrToULong, ULongPtrToULong function [Windows Shell], _shell_ULongPtrToULong, intsafe/ULongPtrToULong, shell.ULongPtrToULong |
intsafe.h |
Windows |
Windows |
19H1 |
|
|
|
|
|
|
Converts a value of type ULONG_PTR to a value of type ULONG.
Type: ULONG_PTR
The value to be converted.
Type: ULONG*
A pointer to the converted value. In the case where the conversion causes a truncation of the original value, 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 type conversions and perform validity checks with minimal impact on performance.
DWordPtrToULong is an alias for this function.
SIZETToULong is an alias for this function.
ULongPtrToDWord is an alias for this function.
DWordPtrToDWord is an alias for this function.
SIZETToDWord is an alias for this function.