Skip to content

Latest commit

 

History

History
86 lines (65 loc) · 2.23 KB

nf-intsafe-intptrtoulongptr.md

File metadata and controls

86 lines (65 loc) · 2.23 KB
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.IntPtrToULongPtr
IntPtrToULongPtr function (intsafe.h)
Converts a value of type INT_PTR to a value of type ULONG_PTR.
IntPtrToDWordPtr
IntPtrToSIZET
IntPtrToULongPtr
IntPtrToULongPtr function [Windows Shell]
PtrdiffTToSIZET
PtrdiffTToULongPtr
_shell_IntPtrToULongPtr
intsafe/IntPtrToULongPtr
shell.IntPtrToULongPtr
shell\IntPtrToULongPtr.htm
shell
782cf560-20a6-40fd-877b-2326a286c392
12/05/2018
IntPtrToDWordPtr, IntPtrToSIZET, IntPtrToULongPtr, IntPtrToULongPtr function [Windows Shell], PtrdiffTToSIZET, PtrdiffTToULongPtr, _shell_IntPtrToULongPtr, intsafe/IntPtrToULongPtr, shell.IntPtrToULongPtr
intsafe.h
Windows
Windows
19H1
IntPtrToULongPtr
intsafe/IntPtrToULongPtr
c++
APIRef
kbSyntax
HeaderDef
Intsafe.h
IntPtrToULongPtr

IntPtrToULongPtr function

-description

Converts a value of type INT_PTR to a value of type ULONG_PTR.

-parameters

-param iOperand [in]

Type: INT_PTR

The value to be converted.

-param pulResult [out]

Type: ULONG_PTR*

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.

-returns

Type: HRESULT

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

-remarks

This is one of a set of inline functions designed to provide type conversions and perform validity checks with minimal impact on performance.

IntPtrToSIZET is an alias for this function.

PtrdiffTToULongPtr is an alias for this function.

PtrdiffTToSIZET is an alias for this function.

IntPtrToDWordPtr is an alias for this function.