Int32x32To64

The Int32x32To64 function multiplies two signed 32-bit integers, returning a signed 64-bit integer result. The function performs optimally on all Win32 platforms.

LONGLONG Int32x32To64(
  LONG Multiplier,    // the first signed 32-bit integer
  LONG Multiplicand   // the second signed 32-bit integer
);
 

Parameters

Multiplier
Specifies the first signed 32-bit integer for the multiplication.
Multiplicand
Specifies the second signed 32-bit integer for the multiplication.

Return Values

The return value is the signed 64-bit integer result of the multiplication.

Remarks

This function is implemented on all platforms by optimal inline code: a single multiply instruction that returns a 64-bit result.

Please note that the function's return value is a 64-bit value, not a LARGE_INTEGER structure.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in winnt.h.

See Also

Large Integer Operations Overview, Large Integer Operations Functions, UInt32x32To64