未分类--Windows API--Int32x32To64

150 篇文章 0 订阅
31 篇文章 0 订阅

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

 

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值