MulDiv

函数原型:

int MulDiv(

int nNumber1, //32位数值,作为乘数,

int nNumber2, //32位数值,作为乘数,

int nDenominator,//32位数值,作为除数

);

功能:nNumber1乘以nNumber2除以nDenominator, 如果返回成功,则结果为:nNumber1 x nNumber2 / nDenominator的值,如果溢出或分母(nDenominator)为0,则返回-1

你可能感兴趣的:(c/c++,windows,api,c++)