Skip to content

Latest commit

 

History

History
86 lines (65 loc) · 1.95 KB

nf-intsafe-ushortmult.md

File metadata and controls

86 lines (65 loc) · 1.95 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.UShortMult
UShortMult function (intsafe.h)
Multiplies one value of type USHORT by another.
UShortMult
UShortMult function [Windows Shell]
WordMult
_shell_UShortMult
intsafe/UShortMult
shell.UShortMult
shell\UShortMult.htm
shell
ecade442-3272-4886-87e1-057f82f465cf
12/05/2018
UShortMult, UShortMult function [Windows Shell], WordMult, _shell_UShortMult, intsafe/UShortMult, shell.UShortMult
intsafe.h
Windows
Windows
19H1
UShortMult
intsafe/UShortMult
c++
APIRef
kbSyntax
HeaderDef
Intsafe.h
UShortMult

UShortMult function

-description

Multiplies one value of type USHORT by another.

-parameters

-param usMultiplicand [in]

Type: USHORT

The value to be multiplied by usMultiplier.

-param usMultiplier [in]

Type: USHORT

The value by which to multiply usMultiplicand.

-param pusResult [out]

Type: USHORT*

A pointer to the result. If the operation results in a value that overflows or underflows the capacity of the type, 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 arithmetic operations and perform validity checks with minimal impact on performance.

WordMult is an alias for this function.