Skip to content

Latest commit

 

History

History
84 lines (65 loc) · 1.87 KB

nf-mfapi-mfllmuldiv.md

File metadata and controls

84 lines (65 loc) · 1.87 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:mfapi.MFllMulDiv
MFllMulDiv function (mfapi.h)
Calculates ((a * b) + d) / c, where each term is a 64-bit signed value.
MFllMulDiv
MFllMulDiv function [Media Foundation]
mf.mfllmuldiv
mfapi/MFllMulDiv
mf\mfllmuldiv.htm
mf
ee369c2e-99a1-4ee4-ac67-02f14e11e269
12/05/2018
MFllMulDiv, MFllMulDiv function [Media Foundation], mf.mfllmuldiv, mfapi/MFllMulDiv
mfapi.h
Windows
Windows 7 [desktop apps \| UWP apps]
Windows Server 2008 R2 [desktop apps \| UWP apps]
Mfplat.lib
Mfplat.dll
Windows
19H1
MFllMulDiv
mfapi/MFllMulDiv
c++
APIRef
kbSyntax
DllExport
mfplat.dll
MFllMulDiv

MFllMulDiv function

-description

Calculates ((a * b) + d) / c, where each term is a 64-bit signed value.

-parameters

-param a

A multiplier.

-param b

Another multiplier.

-param c

The divisor.

-param d

The rounding factor.

-returns

Returns the result of the calculation. If numeric overflow occurs, the function returns _I64_MAX (positive overflow) or LLONG_MIN (negative overflow). If Mfplat.dll cannot be loaded, the function returns _I64_MAX.

-remarks

Note  A previous version of this topic described the parameters incorrectly. The divisor is c and the rounding factor is d.
 

-see-also

Media Foundation Functions