Skip to content

Latest commit

 

History

History
80 lines (62 loc) · 1.85 KB

nf-intsafe-longtoulong.md

File metadata and controls

80 lines (62 loc) · 1.85 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.LongToULong
LongToULong function (intsafe.h)
Converts a value of type LONG to a value of type ULONG.
LongToDWord
LongToULong
LongToULong function [Windows Shell]
_shell_LongToULong
intsafe/LongToULong
shell.LongToULong
shell\LongToULong.htm
shell
d5940fec-8cf2-4bc7-8001-42b68ce97f7d
12/05/2018
LongToDWord, LongToULong, LongToULong function [Windows Shell], _shell_LongToULong, intsafe/LongToULong, shell.LongToULong
intsafe.h
Windows
Windows
19H1
LongToULong
intsafe/LongToULong
c++
APIRef
kbSyntax
HeaderDef
Intsafe.h
LongToULong

LongToULong function

-description

Converts a value of type LONG to a value of type ULONG.

-parameters

-param lOperand [in]

Type: LONG

The value to be converted.

-param pulResult [out]

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.

-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.

LongToDWord is an alias for this function.