InvertLong

Reverses the byte order of a LONG.

Thread Context:Non-Blocking

Syntax

    LONG InvertLong (
       LONG longValue);
    

Parameters

longValue
The LONG that is to be inverted.

Return Values

Inverted LONG. (See Remarks.)

Remarks

InvertLong takes the input LONG value and reverses (inverts) the byte order as follows:

If the input longValue is 0x12345678, the Return value is 0x78563412.