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. |
#Include <WinAPIEx.au3>
Opt('MustDeclareVars', 1)
Global $Value = 9223372036854775807
ConsoleWrite('DEC: ' & $Value & @CR)
ConsoleWrite('HEX: 0x' & _WinAPI_Hex64($Value) & @CR)