Converts a ULONG from little-endian to big-endian, and vice versa
#include <WinAPIConv.au3>
_WinAPI_SwapDWord ( $iValue )
$iValue | The ULONG value to convert. |
Search RtlUlongByteSwap in MSDN Library.
#include <WinAPIConv.au3>
Local $iValue = 0x11223344
ConsoleWrite('0x' & Hex($iValue) & @CRLF)
ConsoleWrite('0x' & Hex(_WinAPI_SwapDWord($iValue)) & @CRLF)