未分类--Windows API--Int32x32To64

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件[email protected]

 

Int32x32To64 Macro

The Int32x32To64 function multiplies two signed 32-bit integers, returning a signed 64-bit integer result.
这个Int32x32To64函数将两个有符号32位整数相乘,返回一个有符号64位整数结果。
The function performs optimally on 32-bit Windows.
这个函数在32位Windows上最佳执行的。
Syntax
LONGLONG Int32x32To64(
  [in]  LONG Multiplier,
  [in]  LONG Multiplicand
);

Parameters
Multiplier
First signed 32-bit integer for the multiplication.
这个乘法的第一个无符号32位整数。
Multiplicand
Second signed 32-bit integer for the multiplication.
这个乘法的第二个无符号32位整数。
Return Value
The return value is the signed 64-bit integer result of the multiplication.
这个返回值是一个无符号64位整数是这个乘法的结果。
Remarks
This function is implemented on all platforms by optimal inline code: a single multiply instruction that returns a 64-bit result.
这个函数通过最理想的内联代码在所有平台实现:一个单一的乘法指令返回一个64位结果。
Please note that the function's return value is a 64-bit value, not a LARGE_INTEGER structure.
请注意这个函数的返回值是一个64位的值,而不是一个LARGE_INTEGER结构体。
Example Code
For an example, see Converting a time_t Value to a File Time.
一个例子,请看Converting a time_t Value to a File Time。
Requirements
Client Requires Windows Vista, Windows XP, or Windows 2000 Professional.
Server Requires Windows Server 2008, Windows Server 2003, or Windows 2000 Server.
Header Declared in Winnt.h; include Windows.h.
 

See Also
Large Integers
UInt32x32To64

 

Send comments about this topic to Microsoft

Build date: 3/27/2008

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