NWLongSwap

Reverses the order of the bytes on the input long (nuint32) value

NetWare Server:
Platform:NLM, Windows NT, Windows 95, Windows 98
Service:Data Manipulation

Syntax

  #include <nwmisc.h> 
  or 
  #include <nwcalls.h> 
   
  nuint32 N_API  NWLongSwap  ( 
     nuint32   swapLong);
  

Pascal Syntax

  #include <nwmisc.inc> 
   
  Function NWLongSwap 
    (swapLong : nuint32 
  ) : nuint32;
  

Parameters

swapLong
(IN) Specifies the long (nuint32) to swap.

Return Values

Returns the swapped long.

Remarks

If the original value was 0x12345678, the return value after calling NWLongSwap will be 0x78563412.

See Also

NWWordSwap