Platform SDK: Files and I/O

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,    // first signed 32-bit integer
  LONG Multiplicand   // second signed 32-bit integer
);

Parameters

Multiplier
[in] Specifies the first signed 32-bit integer for the multiplication.
Multiplicand
[in] 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.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Winnt.h; include Windows.h.

See Also

File I/O Overview, File I/O Functions, UInt32x32To64