VirtualBox

Changeset 11961

Show
Ignore:
Timestamp:
09/02/08 10:10:46 (3 months ago)
Author:
vboxsync
Message:

VRDPAuth.h: explain binary UUID representation in comment

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/VRDPAuth.h

    r8155 r11961  
    5454typedef unsigned char VRDPAUTHUUID[16]; 
    5555typedef VRDPAUTHUUID *PVRDPAUTHUUID; 
    56  
     56/* 
     57Note: VirtualBox uses a consistent binary representation of UUIDs on all platforms. For this reason 
     58the integer fields comprising the UUID are stored as little endian values. If you want to pass such 
     59UUIDs to code which assumes that the integer fields are big endian (often also called network byte 
     60order), you need to adjust the contents of the UUID to e.g. achieve the same string representation. 
     61The required changes are: 
     62 * reverse the order of byte 0, 1, 2 and 3 
     63 * reverse the order of byte 4 and 5 
     64 * reverse the order of byte 6 and 7. 
     65Using this conversion you will get identical results when converting the binary UUID to the string 
     66representation. 
     67*/ 
    5768 
    5869/* The library entry point calling convention. */ 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy