函数参考


_WinAPI_Hex64

Converts an integer value into a string of its hexadecimal representation.

#Include <WinAPIEx.au3>
_WinAPI_Hex64 ( $iValue [, $iLength] )

参数

$iValue The expression to convert.
$iLength [可选参数] The number of characters to be returned (up to 16) for integer. Characters are truncated from the
left-hand side if length is too small.

返回值

成功: 返回 1.
Failure Empty string and sets the @error flag to non-zero.

注意/说明

None

相关

详情参考

None

示例/演示


#Include <WinAPIEx.au3>

Opt('MustDeclareVars', 1)

Global $Value = 9223372036854775807

ConsoleWrite('DEC: ' & $Value & @CR)
ConsoleWrite('HEX: 0x' & _WinAPI_Hex64($Value) & @CR)