Skip to content

Latest commit

 

History

History
76 lines (60 loc) · 1.88 KB

nf-winddi-engmuldiv.md

File metadata and controls

76 lines (60 loc) · 1.88 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:winddi.EngMulDiv
EngMulDiv function (winddi.h)
The EngMulDiv function multiplies two 32-bit values and then divides the 64-bit result by a third 32-bit value.
EngMulDiv
EngMulDiv function [Display Devices]
display.engmuldiv
gdifncs_0d175bf5-b421-43e5-acc5-a11299b0d990.xml
winddi/EngMulDiv
display\engmuldiv.htm
display
e1d9d790-4038-445c-a1ea-fe689cb0e694
12/05/2018
EngMulDiv, EngMulDiv function [Display Devices], display.engmuldiv, gdifncs_0d175bf5-b421-43e5-acc5-a11299b0d990.xml, winddi/EngMulDiv
winddi.h
Winddi.h
Universal
Available in Windows 2000 and later versions of the Windows operating systems.
Win32k.lib
Win32k.sys
Windows
19H1
EngMulDiv
winddi/EngMulDiv
c++
APIRef
kbSyntax
DllExport
Win32k.sys
EngMulDiv

EngMulDiv function

-description

The EngMulDiv function multiplies two 32-bit values and then divides the 64-bit result by a third 32-bit value.

-parameters

-param a [in]

Specifies the 32-bit signed multiplicand.

-param b [in]

Specifies the 32-bit signed multiplier.

-param c [in]

Specifies the 32-bit signed divisor by which the result of a*b is to be divided.

-returns

EngMulDiv returns the signed 32-bit result of the multiplication and division. The return value is rounded up or down to the nearest integer.

-remarks

Drivers should not pass a zero divisor to EngMulDiv.