Commenter rs asks,
"Why does Windows (historically) return 2 for
while Wine returns zero?"
The function multiplies the first two parameters
and divides by the third. Therefore, the mathematically correct
answer for
MulDiv(1, -0x80000000,
-0x80000000) is 1,
because
a ×
b ÷
b = a for all nonzero b.
So...